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 6090/6091/6092/6095/6096/6097/6068/6099/6100/6101/6104/6105/6106/6107/6108/6109/6110/6111/6112/6113/6114 to prod #6102

Merged
merged 50 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
e7f7cb8
moving data101 to its own repo
shaneknapp Sep 5, 2024
3d4ca9a
enable data101 deployment
shaneknapp Sep 5, 2024
ab5eed0
Merge pull request #6090 from shaneknapp/move-data101-new-repo
shaneknapp Sep 5, 2024
d833e28
forgot the placeholder tag
shaneknapp Sep 5, 2024
98d7172
Merge pull request #6091 from shaneknapp/update-data101-hubploy
shaneknapp Sep 5, 2024
bf6356c
Merge pull request #6092 from shaneknapp/enable-data101-cicd
shaneknapp Sep 5, 2024
2aca599
update data101 image tag to f702848059e1: deployments/data101/hubploy…
Sep 5, 2024
8c9fee7
Merge pull request #6095 from berkeley-dsep-infra/update-data101-imag…
shaneknapp Sep 5, 2024
7e1ae46
fix typo and better wording
shaneknapp Sep 5, 2024
67a7c5b
Merge pull request #6096 from shaneknapp/fix-typo
shaneknapp Sep 5, 2024
e33d98b
update a11y image tag to 65e4cb99b4aa: deployments/a11y/hubploy.yaml
Sep 6, 2024
d815e61
update data101 image tag to 0e1d41cf9936: deployments/data101/hubploy…
Sep 6, 2024
54688b1
update stat20 image tag to feaa2df801d9: deployments/stat20/hubploy.yaml
Sep 6, 2024
ac8c9cc
update stat159 image tag to da599718ae9f: deployments/stat159/hubploy…
Sep 6, 2024
ec6400e
update nature image tag to 00512349345a: deployments/nature/hubploy.yaml
Sep 6, 2024
d909e78
Merge pull request #6097 from berkeley-dsep-infra/update-data101-imag…
shaneknapp Sep 6, 2024
b8a0f86
Merge pull request #6098 from berkeley-dsep-infra/update-a11y-image-t…
shaneknapp Sep 6, 2024
0a7bb62
Merge pull request #6099 from berkeley-dsep-infra/update-stat20-image…
shaneknapp Sep 6, 2024
bcc7076
Merge pull request #6100 from berkeley-dsep-infra/update-stat159-imag…
shaneknapp Sep 6, 2024
58d8893
Merge pull request #6101 from berkeley-dsep-infra/update-nature-image…
shaneknapp Sep 6, 2024
a4b0951
moving bio, cee and astro to new CI/CD workflow
shaneknapp Sep 6, 2024
63fdfc5
don't enable deploys... yet
shaneknapp Sep 6, 2024
2f42270
Merge pull request #6104 from shaneknapp/move-astro-bio-cee-new-cicd
shaneknapp Sep 6, 2024
f3a266c
enable deployment of astro/bio/cee
shaneknapp Sep 6, 2024
f424ab7
Merge pull request #6105 from shaneknapp/enable-cicd-bio-astro-cee
shaneknapp Sep 6, 2024
0ebfa58
update astro image tag to ffc76921fb47: deployments/astro/hubploy.yaml
Sep 6, 2024
2a2201b
fixing typo
shaneknapp Sep 6, 2024
bd50321
Merge pull request #6106 from shaneknapp/fix-cee-hubploy
shaneknapp Sep 6, 2024
433aec9
update cee image tag to 5e393b8d22ce: deployments/cee/hubploy.yaml
Sep 6, 2024
1531801
Merge pull request #6107 from berkeley-dsep-infra/update-astro-image-…
shaneknapp Sep 6, 2024
566b219
Merge pull request #6108 from berkeley-dsep-infra/update-cee-image-ta…
shaneknapp Sep 6, 2024
90953d3
update biology image tag to 24ed6d3bf1a6: deployments/biology/hubploy…
Sep 6, 2024
2a27b78
Merge pull request #6109 from berkeley-dsep-infra/update-biology-imag…
shaneknapp Sep 6, 2024
60fe67a
Remove contents of shiny image.
ryanlovett Sep 6, 2024
e2fbb67
Remove shiny from CircleCI.
ryanlovett Sep 6, 2024
1b35a7f
Deploy shiny hub via github actions.
ryanlovett Sep 6, 2024
3fcf1a9
Specify new shiny image configuration.
ryanlovett Sep 6, 2024
b6fb7f1
Use shiny image for gradebook.
ryanlovett Sep 6, 2024
32cf2df
Also remove gradebook from CircleCI.
ryanlovett Sep 6, 2024
fc86072
Delay adding shiny to this action until a later PR.
ryanlovett Sep 6, 2024
40ff7a8
Merge pull request #6110 from ryanlovett/shiny-new-repo
ryanlovett Sep 6, 2024
e3bdae5
Add gradebook and shiny to github action.
ryanlovett Sep 7, 2024
f1a77c7
Merge pull request #6111 from ryanlovett/actions-deploy-shiny
ryanlovett Sep 7, 2024
782019b
fix shiny image path
shaneknapp Sep 7, 2024
2e4bb31
Merge pull request #6112 from shaneknapp/fix-shiny-image-hubploys
shaneknapp Sep 7, 2024
44966f7
update shiny image tag to 0f550a37d042: deployments/gradebook/hubploy…
Sep 7, 2024
ef8cebf
Merge pull request #6113 from berkeley-dsep-infra/update-shiny-image-…
shaneknapp Sep 7, 2024
a4b20da
fixing image name stanza
shaneknapp Sep 7, 2024
8d49dc4
Merge branch 'staging' into fix-hubploys-redux
shaneknapp Sep 7, 2024
757f153
Merge pull request #6114 from shaneknapp/fix-hubploys-redux
shaneknapp Sep 7, 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
131 changes: 0 additions & 131 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,24 +181,6 @@ jobs:
command: |
gcloud components install gke-gcloud-auth-plugin

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

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

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

- run:
name: Deploy data8
command: |
Expand All @@ -211,12 +193,6 @@ jobs:
hubploy deploy --timeout 30m data100 hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

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

- run:
name: Deploy data102
command: |
Expand Down Expand Up @@ -253,12 +229,6 @@ jobs:
hubploy deploy --timeout 30m eecs hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

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

- run:
name: Deploy highschool hub
command: |
Expand Down Expand Up @@ -301,12 +271,6 @@ jobs:
hubploy deploy --timeout 30m r hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

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

- run:
name: Deploy workshop
command: |
Expand All @@ -317,33 +281,6 @@ workflows:
version: 2
test-build-images:
jobs:
- hubploy/build-image:
deployment: astro
name: astro image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: biology
name: biology image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: cee
name: cee image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: data8
name: data8 image build
Expand All @@ -362,15 +299,6 @@ workflows:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: data101
name: data101 image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: data102
name: data102 image build
Expand Down Expand Up @@ -454,45 +382,9 @@ workflows:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: shiny
name: shiny image build
# Filters can only be per-job? wtf
filters:
branches:
ignore:
- staging
- prod

deploy:
jobs:
- hubploy/build-image:
deployment: astro
name: astro image build
push: true
# Filters can only be per-job? wtf
filters:
branches:
only:
- staging
- hubploy/build-image:
deployment: biology
name: biology image build
push: true
# Filters can only be per-job? wtf
filters:
branches:
only:
- staging
- hubploy/build-image:
deployment: cee
name: cee image build
push: true
# Filters can only be per-job? wtf
filters:
branches:
only:
- staging
- hubploy/build-image:
deployment: data8
name: data8 image build
Expand All @@ -510,15 +402,6 @@ workflows:
branches:
only:
- staging
- hubploy/build-image:
deployment: data101
name: data101 image build
push: true
# Filters can only be per-job? wtf
filters:
branches:
only:
- staging
- hubploy/build-image:
deployment: data102
name: data102 image build
Expand Down Expand Up @@ -600,27 +483,14 @@ workflows:
branches:
only:
- staging
- hubploy/build-image:
deployment: shiny
name: shiny 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
# CI level, we also make prod deploys go faster!
- deploy:
requires:
- astro image build
- biology image build
- cee image build
- data8 image build
- data100 image build
- data101 image build
- data102 image build
- datahub image build
- dev image build
Expand All @@ -630,7 +500,6 @@ workflows:
- julia hub image build
# - logodev image build
- publichealth image build
- shiny image build

filters:
branches:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ jobs:
if: ${{ env.DEPLOY }}
run: |
while read deployment; do
echo "Depoying base hub image to ${deployment}"
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 logodev stat159 stat20 nature a11y ugr01)
done < <(python .github/scripts/determine-hub-deployments.py --only-deploy gradebook logodev shiny stat159 stat20 nature a11y ugr01 data101 astro biology cee)

deploy-hubs-to-prod:
if: github.event_name == 'push' && github.ref == 'refs/heads/prod'
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
if: ${{ env.DEPLOY }}
run: |
while read deployment; do
echo "Deploying base hub image to ${deployment}"
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 logodev stat159 stat20 nature a11y ugr01)
done < <(python .github/scripts/determine-hub-deployments.py --only-deploy gradebook logodev shiny stat159 stat20 nature a11y ugr01 data101 astro biology cee)
2 changes: 1 addition & 1 deletion deployments/a11y/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/a11y-user-image:7c4cd8df980c
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/a11y-user-image:65e4cb99b4aa

cluster:
provider: gcloud
Expand Down
7 changes: 1 addition & 6 deletions deployments/astro/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
images:
image_name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/astro-user-image
registry:
provider: gcloud
gcloud:
project: ucb-datahub-2018
service_key: gcr-key.json
image_name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/astro-user-image:ffc76921fb47

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

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

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

This file was deleted.

Loading
Loading