Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

biol1435 Spring 24 #94

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading