Skip to content

Commit

Permalink
Merge pull request #6246 from shaneknapp/move-edx-image-repo
Browse files Browse the repository at this point in the history
[DH-301] preparing to move edx to its own image repo
  • Loading branch information
shaneknapp authored Sep 24, 2024
2 parents 48bded7 + e93ccdc commit f0da689
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 222 deletions.
25 changes: 0 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,6 @@ jobs:
hubploy deploy --timeout 30m dlab hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

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

- run:
name: Deploy highschool hub
command: |
Expand Down Expand Up @@ -267,15 +261,6 @@ workflows:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: edx
name: edx image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod

deploy:
jobs:
Expand Down Expand Up @@ -306,15 +291,6 @@ workflows:
branches:
only:
- staging
- hubploy/build-image:
deployment: edx
name: edx 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 @@ -324,7 +300,6 @@ workflows:
- data8 image build
- data100 image build
- datahub image build
- edx image build

filters:
branches:
Expand Down
8 changes: 1 addition & 7 deletions deployments/edx/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
images:
images:
- name: gcr.io/data8x-scratch/edx-user-image
path: image/
registry:
provider: gcloud
gcloud:
project: data8x-scratch
service_key: gcloud-service-key.json
- name: us-central1-docker.pkg.dev/data8x-scratch/user-images/edx-user-image:PLACEHOLDER

cluster:
provider: gcloud
Expand Down
5 changes: 5 additions & 0 deletions deployments/edx/image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# edx Image

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

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

This file was deleted.

53 changes: 0 additions & 53 deletions deployments/edx/image/environment.yml

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions deployments/edx/image/ipython_config.py

This file was deleted.

5 changes: 0 additions & 5 deletions deployments/edx/image/overrides.json

This file was deleted.

10 changes: 0 additions & 10 deletions deployments/edx/image/postBuild

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 @@ -6,6 +6,7 @@ git@github.com:berkeley-dsep-infra/data101-user-image.git
git@github.com:berkeley-dsep-infra/data102-user-image.git
git@github.com:berkeley-dsep-infra/dev-primary-image.git
git@github.com:berkeley-dsep-infra/dev-secondary-image.git
git@github.com:berkeley-dsep-infra/edx-user-image.git
git@github.com:berkeley-dsep-infra/eecs-user-image.git
git@github.com:berkeley-dsep-infra/ischool-user-image.git
git@github.com:berkeley-dsep-infra/julia-user-image.git
Expand Down

0 comments on commit f0da689

Please sign in to comment.