Use only the repo name and commit sha for tjh bootstrap pip spec

This commit is contained in:
GeorgianaElena
2021-04-05 13:31:11 +03:00
parent 98b55bf10c
commit a5463a1ef2
2 changed files with 4 additions and 6 deletions

View File

@@ -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

View File

@@ -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