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

merging 6125/6130/6132/6136/6140/6141/6142/6143/6144/6145/6147/6148/6150/6151/6152 to prod #6146

Merged
merged 36 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
eca7e87
some tooling to make syncing the user image dirs easier
shaneknapp Sep 9, 2024
77e8aeb
rename script
shaneknapp Sep 9, 2024
1cb99c2
adding branch creation and push functions
shaneknapp Sep 9, 2024
8c6c737
wording
shaneknapp Sep 9, 2024
914d201
update stat20 image tag to 130d6247d491: deployments/stat20/hubploy.yaml
Sep 10, 2024
1c963e3
Merge pull request #6130 from berkeley-dsep-infra/update-stat20-image…
ryanlovett Sep 10, 2024
787f9ed
Add docs on transitioning user images.
ryanlovett Sep 10, 2024
ab7a13a
Merge pull request #6132 from ryanlovett/docs-transition-image
shaneknapp Sep 10, 2024
9c1086a
update data101 image tag to 010ca9abfb71: deployments/data101/hubploy…
Sep 10, 2024
1a8db82
Merge pull request #6136 from berkeley-dsep-infra/update-data101-imag…
shaneknapp Sep 10, 2024
366ac11
update biology image tag to 16c6e661dcd5: deployments/biology/hubploy…
Sep 11, 2024
e8cbe10
Merge pull request #6140 from berkeley-dsep-infra/update-biology-imag…
shaneknapp Sep 11, 2024
f53c8b9
adding publichealth
shaneknapp Sep 11, 2024
be9fd6e
moving publichealth to its own repo
shaneknapp Sep 11, 2024
2de6672
enable publichealth deployment
shaneknapp Sep 11, 2024
0bd9dba
Merge pull request #6141 from shaneknapp/moving-publichealth-new-cicd
shaneknapp Sep 11, 2024
7fd9595
Merge pull request #6142 from shaneknapp/enable-publichealth-cicd
shaneknapp Sep 11, 2024
4097610
fixing publichealth hubploy
shaneknapp Sep 11, 2024
124b972
Merge pull request #6143 from shaneknapp/fix-publichealth-hubploy
shaneknapp Sep 11, 2024
121effd
Enable elevated privileges for BIOE C131
balajialg Sep 11, 2024
1a328c1
update publichealth image tag to 8b70e125f905: deployments/publicheal…
Sep 11, 2024
f2bf22d
Merge pull request #6145 from berkeley-dsep-infra/update-publichealth…
shaneknapp Sep 11, 2024
1c3e45c
Merge pull request #6125 from shaneknapp/add-image-repo-tooling
shaneknapp Sep 11, 2024
98dd5e2
Merge branch 'staging' into bioec131
balajialg Sep 11, 2024
83de055
Merge pull request #6144 from balajialg/bioec131
shaneknapp Sep 11, 2024
c40cfc8
my first qmd doc
shaneknapp Sep 11, 2024
b546263
adding readme to point at docs
shaneknapp Sep 11, 2024
455d0a4
Merge pull request #6147 from shaneknapp/add-readme
shaneknapp Sep 11, 2024
aaadbbc
actually publish the new page
shaneknapp Sep 11, 2024
af0eb92
Merge pull request #6148 from shaneknapp/fix-docs
shaneknapp Sep 11, 2024
6cbb9bb
moving eecs to its own repo
shaneknapp Sep 11, 2024
3970cf3
enable CICD for eecs
shaneknapp Sep 11, 2024
837b8e1
Merge pull request #6150 from shaneknapp/move-eecs-to-new-repo
shaneknapp Sep 11, 2024
e695c90
Merge pull request #6151 from shaneknapp/enable-eecs-cicd
shaneknapp Sep 11, 2024
46b878b
update eecs image tag to 4e62ae874442: deployments/eecs/hubploy.yaml
Sep 11, 2024
dd9430f
Merge pull request #6152 from berkeley-dsep-infra/update-eecs-image-t…
shaneknapp Sep 11, 2024
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
50 changes: 0 additions & 50 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 edx hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

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

- run:
name: Deploy highschool hub
command: |
Expand All @@ -247,12 +241,6 @@ jobs:
hubploy deploy --timeout 30m prob140 hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

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

- run:
name: Deploy R
command: |
Expand Down Expand Up @@ -314,15 +302,6 @@ workflows:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: eecs
name: eecs image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: ischool
name: ischool image build
Expand All @@ -341,15 +320,6 @@ workflows:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: publichealth
name: publichealth image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod

deploy:
jobs:
Expand Down Expand Up @@ -397,15 +367,6 @@ workflows:
branches:
only:
- staging
- hubploy/build-image:
deployment: eecs
name: eecs image build
push: true
# Filters can only be per-job? wtf
filters:
branches:
only:
- staging
- hubploy/build-image:
deployment: ischool
name: ischool image build
Expand All @@ -424,15 +385,6 @@ workflows:
branches:
only:
- staging
- hubploy/build-image:
deployment: publichealth
name: publichealth 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 @@ -444,10 +396,8 @@ workflows:
- data102 image build
- datahub image build
- edx image build
- eecs image build
- ischool image build
- julia hub image build
- publichealth 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)
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)

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)
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)
2 changes: 1 addition & 1 deletion deployments/biology/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
images:
image_name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/biology-user-image:8540bb31ea44
image_name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/biology-user-image:16c6e661dcd5

cluster:
provider: gcloud
Expand Down
2 changes: 1 addition & 1 deletion deployments/data101/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
images:
images:
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/data101-user-image:0e1d41cf9936
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/data101-user-image:010ca9abfb71

cluster:
provider: gcloud
Expand Down
15 changes: 14 additions & 1 deletion deployments/datahub/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,20 @@ jupyterhub:
# # this role will be assigned to...
groups:
- course::1536576::enrollment_type::teacher
- course::1536576::enrollment_type::ta
- course::1536576::enrollment_type::ta

# BIOE C131, Fall 2024, https://github.com/berkeley-dsep-infra/datahub/issues/6139
course-staff-1538361:
# description: Enable course staff to view and access servers.
# # this role provides permissions to...
scopes:
- list:users!group=course::1538361
- admin:servers!group=course::1538361
- access:servers!group=course::1538361
# # this role will be assigned to...
groups:
- course::1538361::enrollment_type::teacher
- course::1538361::enrollment_type::ta

nodeSelector:
hub.jupyter.org/pool-name: core-pool-2024-05-08
Expand Down
10 changes: 1 addition & 9 deletions deployments/eecs/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
images:
images:
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/eecs-user-image
path: image/
repo2docker:
base_image: docker.io/library/buildpack-deps:jammy
registry:
provider: gcloud
gcloud:
project: ucb-datahub-2018
service_key: gcr-key.json
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/eecs-user-image:4e62ae874442

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

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

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

This file was deleted.

72 changes: 0 additions & 72 deletions deployments/eecs/image/environment.yml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions deployments/eecs/image/start

This file was deleted.

8 changes: 1 addition & 7 deletions deployments/publichealth/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/publichealth-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/publichealth-user-image:8b70e125f905

cluster:
provider: gcloud
Expand Down
Loading
Loading