From ad8f72c18dd753591adedc39d922eb8c47a01510 Mon Sep 17 00:00:00 2001 From: Prasad Bandarkar Date: Fri, 19 Jan 2024 09:45:34 -0500 Subject: [PATCH] Modified workflow files --- .github/workflows/biol1435-spring-tag.yml | 16 ++++++++-------- .github/workflows/biol1435.yml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/biol1435-spring-tag.yml b/.github/workflows/biol1435-spring-tag.yml index 2f2273fa..1f6a7ea9 100644 --- a/.github/workflows/biol1435-spring-tag.yml +++ b/.github/workflows/biol1435-spring-tag.yml @@ -11,10 +11,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set Up GCloud - uses: google-github-actions/setup-gcloud@v0.6.0 + uses: google-github-actions/setup-gcloud@v0.6.2 with: project_id: ${{ secrets.GCP_PROJECT_ID_JH_DOCKER }} service_account_key: ${{ secrets.GCP_SA_KEY_JH_DOCKER }} @@ -28,8 +28,8 @@ jobs: - name: Upload Julia Env Files to Google Storage Bucket if: env.TARGET == 'r_julia' run: | - gsutil cp -r requirements/classes/biol1435/julia_env gs://jupyterhub-environment-files/spring-2023/biol1435/past/${GITHUB_SHA}/julia - gsutil cp -r requirements/classes/biol1435/julia_env gs://jupyterhub-environment-files/spring-2023/biol1435/latest/julia + gsutil cp -r requirements/classes/biol1435/julia_env gs://jupyterhub-environment-files/spring-2024/biol1435/past/${GITHUB_SHA}/julia + gsutil cp -r requirements/classes/biol1435/julia_env gs://jupyterhub-environment-files/spring-2024/biol1435/latest/julia - name: Configure Docker run: gcloud auth configure-docker @@ -40,13 +40,13 @@ jobs: docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/biol1435:${GITHUB_REF##*/} docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/biol1435:${GITHUB_SHA} docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/biol1435:latest - docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/biol1435:spring-2023 + docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/biol1435:spring-2024 docker push gcr.io/jupyterhub-docker-images/biol1435:latest - docker push gcr.io/jupyterhub-docker-images/biol1435:spring-2023 + docker push gcr.io/jupyterhub-docker-images/biol1435:spring-2024 docker push gcr.io/jupyterhub-docker-images/biol1435:${GITHUB_REF##*/} docker push gcr.io/jupyterhub-docker-images/biol1435:${GITHUB_SHA} - name: Upload Conda Env Files to Google Storage Bucket run: | - gsutil cp -r requirements/out gs://jupyterhub-environment-files/spring-2023/biol1435/past/${GITHUB_SHA}/conda - gsutil cp -r requirements/out gs://jupyterhub-environment-files/spring-2023/biol1435/latest/conda \ No newline at end of file + gsutil cp -r requirements/out gs://jupyterhub-environment-files/spring-2024/biol1435/past/${GITHUB_SHA}/conda + gsutil cp -r requirements/out gs://jupyterhub-environment-files/spring-2024/biol1435/latest/conda \ No newline at end of file diff --git a/.github/workflows/biol1435.yml b/.github/workflows/biol1435.yml index 6a6a0c47..88fc547b 100644 --- a/.github/workflows/biol1435.yml +++ b/.github/workflows/biol1435.yml @@ -18,10 +18,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set Up GCloud - uses: google-github-actions/setup-gcloud@v0.6.0 + uses: google-github-actions/setup-gcloud@v0.6.2 with: project_id: ${{ secrets.GCP_PROJECT_ID_JH_DOCKER }} service_account_key: ${{ secrets.GCP_SA_KEY_JH_DOCKER }}