diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62a5baa8207b..6a663eb8c63b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ on: jobs: cstor: - runs-on: ubuntu-16.04 + runs-on: ubuntu-latest strategy: fail-fast: true matrix: @@ -34,9 +34,9 @@ jobs: - name: Set Branch run: | BRANCH="${GITHUB_REF##*/}" - REPO_ORG=${{ github.repository_owner }} + LCSTOR_ORG=openebs echo "BRANCH=${BRANCH}" >> $GITHUB_ENV - echo "REPO_ORG=${REPO_ORG}" >> $GITHUB_ENV + echo "LCSTOR_ORG=${LCSTOR_ORG}" >> $GITHUB_ENV - name: Install Tool dependencies run: buildscripts/install-tool-dep.sh diff --git a/buildscripts/install-build-dep.sh b/buildscripts/install-build-dep.sh index f7bd5d05b1c1..5a728f4290a0 100755 --- a/buildscripts/install-build-dep.sh +++ b/buildscripts/install-build-dep.sh @@ -1,17 +1,18 @@ #!/bin/bash # Mandatory variables -# $REPO_ORG organisation from which to clone the dependent repositories +# $LCSTOR_ORG organisation from which to clone the dependent repositories # $BRANCH to be used for building # # Optional variables # $UZFS_BUILD variable need to be set. If not kernel mode zfs will be built -if [ -z "${REPO_ORG}" ]; then - echo "REPO_ORG variable not set. Required for fetching dependent build repositories" + +if [ -z "${LCSTOR_ORG}" ]; then + echo "LCSTOR_ORG variable not set. Required for fetching dependent build repositories" exit 1 else - echo "Using repository organization: ${REPO_ORG}" + echo "Using repository organization: ${LCSTOR_ORG}" fi if [ -z "${BRANCH}" ]; then @@ -51,7 +52,7 @@ make -j4 cd .. # clone and build SPL -git clone https://github.com/${REPO_ORG}/spl +git clone https://github.com/${LCSTOR_ORG}/spl cd spl || exit 1 git checkout spl-0.7.9 sh autogen.sh @@ -67,7 +68,7 @@ fi cd .. # Build libcstor for uzfs feature -git clone https://github.com/${REPO_ORG}/libcstor.git +git clone https://github.com/${LCSTOR_ORG}/libcstor.git cd libcstor || exit 1 if [ "${BRANCH}" == "develop" ]; then git checkout develop