-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from brown-ccv/php2560_fall
PHP2560
- Loading branch information
Showing
5 changed files
with
55 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,18 @@ on: [workflow_dispatch] | |
|
||
env: | ||
CLASS: php2560 | ||
TARGET: r_lang | ||
TARGET: r_julia | ||
SQLITE: false | ||
PYTHON_VERSION: "3.10" | ||
PYTHON_VERSION: "3.9.17" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3.5.3 | ||
|
||
- 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 }} | ||
|
@@ -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/php2560/julia_env gs://jupyterhub-environment-files/fall-2022/php2560/past/${GITHUB_SHA}/julia | ||
gsutil cp -r requirements/classes/php2560/julia_env gs://jupyterhub-environment-files/fall-2022/php2560/latest/julia | ||
gsutil cp -r requirements/classes/php2560/julia_env gs://jupyterhub-environment-files/fall-2023/php2560/past/${GITHUB_SHA}/julia | ||
gsutil cp -r requirements/classes/php2560/julia_env gs://jupyterhub-environment-files/fall-2023/php2560/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/php2560:${GITHUB_REF##*/} | ||
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/php2560:${GITHUB_SHA} | ||
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/php2560:latest | ||
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/php2560:fall-2022 | ||
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/php2560:fall-2023 | ||
docker push gcr.io/jupyterhub-docker-images/php2560:latest | ||
docker push gcr.io/jupyterhub-docker-images/php2560:fall-2022 | ||
docker push gcr.io/jupyterhub-docker-images/php2560:fall-2023 | ||
docker push gcr.io/jupyterhub-docker-images/php2560:${GITHUB_REF##*/} | ||
docker push gcr.io/jupyterhub-docker-images/php2560:${GITHUB_SHA} | ||
- name: Upload Conda Env Files to Google Storage Bucket | ||
run: | | ||
gsutil cp -r requirements/out gs://jupyterhub-environment-files/fall-2022/php2560/past/${GITHUB_SHA}/conda | ||
gsutil cp -r requirements/out gs://jupyterhub-environment-files/fall-2022/php2560/latest/conda | ||
gsutil cp -r requirements/out gs://jupyterhub-environment-files/fall-2023/php2560/past/${GITHUB_SHA}/conda | ||
gsutil cp -r requirements/out gs://jupyterhub-environment-files/fall-2023/php2560/latest/conda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,21 +7,22 @@ on: | |
- 'docker-compose.yml' | ||
- 'scripts/**' | ||
- '.github/workflows/php2560.yml' | ||
workflow_dispatch: | ||
|
||
env: | ||
CLASS: php2560 | ||
TARGET: r_lang | ||
TARGET: r_julia | ||
SQLITE: false | ||
PYTHON_VERSION: "3.10" | ||
PYTHON_VERSION: "3.9.17" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3.5.3 | ||
|
||
- 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 }} | ||
|
@@ -34,9 +35,9 @@ jobs: | |
- name: Configure Docker | ||
run: gcloud auth configure-docker | ||
- uses: satackey/[email protected] | ||
# - uses: satackey/[email protected] | ||
# Ignore the failure of a step and avoid terminating the job. | ||
continue-on-error: true | ||
# continue-on-error: true | ||
- name: Build and Push JH Image | ||
run: | | ||
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up jh_image | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters