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 #6117, #6118, #6122, #6123, #6124, #6126 to prod #6128

Merged
merged 15 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
52 changes: 0 additions & 52 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 datahub hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

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

- run:
name: Deploy dlab
command: |
Expand Down Expand Up @@ -247,12 +241,6 @@ jobs:
hubploy deploy --timeout 30m julia hub ${CIRCLE_BRANCH}
no_output_timeout: 30m

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

- run:
name: Deploy prob140
command: |
Expand Down Expand Up @@ -317,17 +305,6 @@ workflows:
ignore:
- staging
- prod
- hubploy/build-image:
# This has no effect yet because docker-py doesn't support buildkit.
#environment:
# DOCKER_BUILDKIT: 1
deployment: dev
name: dev image build
filters:
branches:
ignore:
- staging
- prod
- hubploy/build-image:
deployment: edx
name: edx image build
Expand Down Expand Up @@ -364,15 +341,6 @@ workflows:
ignore:
- staging
- prod
# - hubploy/build-image:
# deployment: logodev
# name: logodev hub image build
# # Filters can only be per-job? wtf
# filters:
# branches:
# ignore:
# - staging
# - prod
- hubploy/build-image:
deployment: publichealth
name: publichealth image build
Expand Down Expand Up @@ -420,15 +388,6 @@ workflows:
branches:
only:
- staging
- hubploy/build-image:
deployment: dev
name: dev image build
push: true
# Filters can only be per-job? wtf
filters:
branches:
only:
- staging
- hubploy/build-image:
deployment: edx
name: edx image build
Expand Down Expand Up @@ -465,15 +424,6 @@ workflows:
branches:
only:
- staging
# - hubploy/build-image:
# deployment: logodev
# name: logodev image build
# push: true
# # Filters can only be per-job? wtf
# filters:
# branches:
# only:
# - staging
- hubploy/build-image:
deployment: publichealth
name: publichealth image build
Expand All @@ -493,12 +443,10 @@ workflows:
- data100 image build
- data102 image build
- datahub image build
- dev image build
- edx image build
- eecs image build
- ischool image build
- julia hub image build
# - logodev image build
- publichealth image build

filters:
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)
done < <(python .github/scripts/determine-hub-deployments.py --only-deploy gradebook logodev shiny stat159 stat20 nature a11y ugr01 data101 astro biology cee dev)

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)
done < <(python .github/scripts/determine-hub-deployments.py --only-deploy gradebook logodev shiny stat159 stat20 nature a11y ugr01 data101 astro biology cee dev)
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:24ed6d3bf1a6
image_name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/biology-user-image:8540bb31ea44

cluster:
provider: gcloud
Expand Down
4 changes: 4 additions & 0 deletions deployments/datahub/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,7 @@ jupyterhub:
course::1537045: # ESPM 157, https://github.com/berkeley-dsep-infra/datahub/issues/5914
mem_limit: 4096M
mem_guarantee: 4096M

course::1539545: # Demog 213, https://github.com/berkeley-dsep-infra/datahub/issues/6094
mem_limit: 4096M
mem_guarantee: 4096M
2 changes: 1 addition & 1 deletion deployments/dev/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jupyterhub:
- display_name: "Dashboard image"
description: "A newer repo2docker-based image with a primary focus of building dashboards."
kubespawner_override:
image: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-secondary:36280727a
image: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-secondary-image:df11f4f1caa1
- display_name: "1524699: DataHub Infrastructure"
slug: "1524699"
description: "Regular image with per-course subpath."
Expand Down
17 changes: 6 additions & 11 deletions deployments/dev/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# you will also need to update config/common.yaml to include the following for
# the secondary image tag:
# kubespawner_override:
# image: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-secondary-image:df11f4f1caa1
images:
images:
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-user-image
path: images/default
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-secondary
path: images/secondary
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/dev-primary-image:6000a5694eab
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-secondary-image:df11f4f1caa1

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

These images are now located [in their](https://github.com/berkeley-dsep-infra/dev-primary-image) [own repos](https://github.com/berkeley-dsep-infra/dev-secondary-image).

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

This file was deleted.

23 changes: 0 additions & 23 deletions deployments/dev/images/default/Rprofile.site

This file was deleted.

37 changes: 0 additions & 37 deletions deployments/dev/images/default/apt.txt

This file was deleted.

20 changes: 0 additions & 20 deletions deployments/dev/images/default/class-libs.R

This file was deleted.

Loading
Loading