Skip to content

Commit e49ce90

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

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)