Skip to content

Commit c42f690

Browse files
committed
feat(build): cstor repo migration to mayadata-io org
Signed-off-by: Pawan <[email protected]>
1 parent b15b6d2 commit c42f690

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
jobs:
2323

2424
cstor:
25-
runs-on: ubuntu-16.04
25+
runs-on: ubuntu-latest
2626
strategy:
2727
fail-fast: true
2828
matrix:
@@ -34,9 +34,9 @@ jobs:
3434
- name: Set Branch
3535
run: |
3636
BRANCH="${GITHUB_REF##*/}"
37-
REPO_ORG=${{ github.repository_owner }}
37+
LCSTOR_ORG=openebs
3838
echo "BRANCH=${BRANCH}" >> $GITHUB_ENV
39-
echo "REPO_ORG=${REPO_ORG}" >> $GITHUB_ENV
39+
echo "LCSTOR_ORG=${LCSTOR_ORG}" >> $GITHUB_ENV
4040
4141
- name: Install Tool dependencies
4242
run: buildscripts/install-tool-dep.sh

buildscripts/install-build-dep.sh

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#!/bin/bash
22

33
# Mandatory variables
4-
# $REPO_ORG organisation from which to clone the dependent repositories
4+
# $LCSTOR_ORG organisation from which to clone the dependent repositories
55
# $BRANCH to be used for building
66
#
77
# Optional variables
88
# $UZFS_BUILD variable need to be set. If not kernel mode zfs will be built
99

10-
if [ -z "${REPO_ORG}" ]; then
11-
echo "REPO_ORG variable not set. Required for fetching dependent build repositories"
10+
11+
if [ -z "${LCSTOR_ORG}" ]; then
12+
echo "LCSTOR_ORG variable not set. Required for fetching dependent build repositories"
1213
exit 1
1314
else
14-
echo "Using repository organization: ${REPO_ORG}"
15+
echo "Using repository organization: ${LCSTOR_ORG}"
1516
fi
1617

1718
if [ -z "${BRANCH}" ]; then
@@ -51,7 +52,7 @@ make -j4
5152
cd ..
5253

5354
# clone and build SPL
54-
git clone https://github.com/${REPO_ORG}/spl
55+
git clone https://github.com/${LCSTOR_ORG}/spl
5556
cd spl || exit 1
5657
git checkout spl-0.7.9
5758
sh autogen.sh
@@ -67,7 +68,7 @@ fi
6768
cd ..
6869

6970
# Build libcstor for uzfs feature
70-
git clone https://github.com/${REPO_ORG}/libcstor.git
71+
git clone https://github.com/${LCSTOR_ORG}/libcstor.git
7172
cd libcstor || exit 1
7273
if [ "${BRANCH}" == "develop" ]; then
7374
git checkout develop

buildscripts/install-tool-dep.sh

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# get the machine architecture
44
ARCH=$(uname -p)
55

6-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
76
sudo apt-get update -qq
87
sudo apt-get install --yes -qq gcc-6 g++-6
98
sudo apt-get install --yes -qq build-essential autoconf libtool gawk alien fakeroot libaio-dev jq

0 commit comments

Comments
 (0)