Skip to content

Commit

Permalink
Merge pull request #6240 from berkeley-dsep-infra/staging
Browse files Browse the repository at this point in the history
merging 6234/6237/6238/6239 to prod
  • Loading branch information
shaneknapp authored Sep 24, 2024
2 parents b1b0107 + 387e8eb commit 506ba7b
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 244 deletions.
25 changes: 0 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,6 @@ jobs:
hubploy deploy --timeout 30m highschool hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

- run:
name: Deploy ischool
command: |
hubploy deploy --timeout 30m ischool hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

- run:
name: Deploy prob140
command: |
Expand Down Expand Up @@ -282,15 +276,6 @@ workflows:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: ischool
name: ischool image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod

deploy:
jobs:
Expand Down Expand Up @@ -330,15 +315,6 @@ workflows:
branches:
only:
- staging
- hubploy/build-image:
deployment: ischool
name: ischool image build
push: true
# Filters can only be per-job? wtf
filters:
branches:
only:
- staging
# Build images only during the staging deploy. All merges
# to prod need to go via staging, so prod should *never*
# use images not built for staging. By enforcing this at the
Expand All @@ -349,7 +325,6 @@ workflows:
- data100 image build
- datahub image build
- edx image build
- ischool image build

filters:
branches:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
echo "Deploying single-user image and hub config to ${deployment}"
hubploy --verbose deploy --timeout 30m ${deployment} hub staging
echo
done < <(python .github/scripts/determine-hub-deployments.py --only-deploy gradebook logodev shiny stat159 stat20 nature a11y ugr01 data101 astro biology cee dev publichealth eecs julia data102)
done < <(python .github/scripts/determine-hub-deployments.py --only-deploy gradebook logodev shiny stat159 stat20 nature a11y ugr01 data101 astro biology cee dev publichealth eecs julia data102 ischool)
deploy-hubs-to-prod:
if: github.event_name == 'push' && github.ref == 'refs/heads/prod'
Expand Down Expand Up @@ -198,4 +198,4 @@ jobs:
echo "Deploying single-user image and hub config to ${deployment}"
hubploy --verbose deploy --timeout 30m ${deployment} hub prod
echo
done < <(python .github/scripts/determine-hub-deployments.py --only-deploy gradebook logodev shiny stat159 stat20 nature a11y ugr01 data101 astro biology cee dev publichealth eecs julia data102)
done < <(python .github/scripts/determine-hub-deployments.py --only-deploy gradebook logodev shiny stat159 stat20 nature a11y ugr01 data101 astro biology cee dev publichealth eecs julia data102 ischool)
8 changes: 1 addition & 7 deletions deployments/ischool/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
images:
images:
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/ischool-user-image
path: image
registry:
provider: gcloud
gcloud:
project: ucb-datahub-2018
service_key: gcr-key.json
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/ischool-user-image:0be26ba905cb

cluster:
provider: gcloud
Expand Down
107 changes: 0 additions & 107 deletions deployments/ischool/image/Dockerfile

This file was deleted.

5 changes: 5 additions & 0 deletions deployments/ischool/image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ischool Image

This image is now located [in its own repo](https://github.com/berkeley-dsep-infra/ischool-user-image).

Please see [the contribution guide](https://github.com/berkeley-dsep-infra/ischool-user-image/blob/main/CONTRIBUTING.md) for instructions on how to propose changes to the image.
23 changes: 0 additions & 23 deletions deployments/ischool/image/environment.yml

This file was deleted.

13 changes: 0 additions & 13 deletions deployments/ischool/image/file-locks

This file was deleted.

29 changes: 0 additions & 29 deletions deployments/ischool/image/infra-requirements.txt

This file was deleted.

38 changes: 0 additions & 38 deletions deployments/ischool/image/install-mambaforge.bash

This file was deleted.

1 change: 1 addition & 0 deletions scripts/user-image-management/repos.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ [email protected]:berkeley-dsep-infra/data102-user-image.git
[email protected]:berkeley-dsep-infra/dev-primary-image.git
[email protected]:berkeley-dsep-infra/dev-secondary-image.git
[email protected]:berkeley-dsep-infra/eecs-user-image.git
[email protected]:berkeley-dsep-infra/ischool-user-image.git
[email protected]:berkeley-dsep-infra/julia-user-image.git
[email protected]:berkeley-dsep-infra/logodev-user-image.git
[email protected]:berkeley-dsep-infra/nature-user-image.git
Expand Down

0 comments on commit 506ba7b

Please sign in to comment.