Skip to content

Commit

Permalink
Merge pull request #94 from brown-ccv/Sp24_biol1435
Browse files Browse the repository at this point in the history
biol1435 Spring 24
  • Loading branch information
mirestrepo authored Jul 29, 2024
2 parents 3b19dcb + ad8f72c commit 3698ade
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/biol1435-spring-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0
uses: google-github-actions/[email protected].2
with:
project_id: ${{ secrets.GCP_PROJECT_ID_JH_DOCKER }}
service_account_key: ${{ secrets.GCP_SA_KEY_JH_DOCKER }}
Expand All @@ -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
Expand All @@ -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
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
4 changes: 2 additions & 2 deletions .github/workflows/biol1435.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0
uses: google-github-actions/[email protected].2
with:
project_id: ${{ secrets.GCP_PROJECT_ID_JH_DOCKER }}
service_account_key: ${{ secrets.GCP_SA_KEY_JH_DOCKER }}
Expand Down

0 comments on commit 3698ade

Please sign in to comment.