From a5463a1ef2da75e0abe6992f40813f723d632b37 Mon Sep 17 00:00:00 2001 From: GeorgianaElena Date: Mon, 5 Apr 2021 13:31:11 +0300 Subject: [PATCH] Use only the repo name and commit sha for tjh bootstrap pip spec --- .github/workflows/integration-test.yaml | 7 ++----- .github/workflows/upgrade-test.yaml | 3 ++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index ffb0c14..b483c5a 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -13,11 +13,8 @@ jobs: python-version: 3.6 - name: Set BOOTSTRAP_PIP_SPEC value run: | - if ${{ github.event_name != 'pull_request }}; then - echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_REPOSITORY.git@$GITHUB_SHA" >> $GITHUB_ENV - else - echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_ACTOR/the-littlest-jupyterhub.git@$GITHUB_SHA" >> $GITHUB_ENV - fi + echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_REPOSITORY.git@$GITHUB_SHA" >> $GITHUB_ENV + echo $BOOTSTRAP_PIP_SPEC - name: Build systemd image run: | .github/integration-test.py build-image diff --git a/.github/workflows/upgrade-test.yaml b/.github/workflows/upgrade-test.yaml index dba6ef5..ce690b5 100644 --- a/.github/workflows/upgrade-test.yaml +++ b/.github/workflows/upgrade-test.yaml @@ -14,7 +14,8 @@ jobs: python-version: 3.6 - name: Set BOOTSTRAP_PIP_SPEC value run: | - echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_ACTOR/the-littlest-jupyterhub.git@$GITHUB_SHA" >> $GITHUB_ENV + echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_REPOSITORY.git@$GITHUB_SHA" >> $GITHUB_ENV + echo $BOOTSTRAP_PIP_SPEC - name: Build systemd image run: | .github/integration-test.py build-image