Skip to content

Commit

Permalink
Merge pull request #6110 from ryanlovett/shiny-new-repo
Browse files Browse the repository at this point in the history
Use new deployment configuration for shiny
  • Loading branch information
ryanlovett authored Sep 6, 2024
2 parents 2a27b78 + fc86072 commit 40ff7a8
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 312 deletions.
31 changes: 0 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,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 @@ -277,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 Down Expand Up @@ -394,15 +382,6 @@ 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:
Expand Down Expand Up @@ -504,15 +483,6 @@ 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
Expand All @@ -530,7 +500,6 @@ workflows:
- julia hub image build
# - logodev image build
- publichealth image build
- shiny image build

filters:
branches:
Expand Down
8 changes: 1 addition & 7 deletions deployments/gradebook/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/shiny-image
path: ../shiny/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/shiny-image:PLACEHOLDER

cluster:
provider: gcloud
Expand Down
8 changes: 1 addition & 7 deletions deployments/shiny/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/shiny-image
path: 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/shiny-image:PLACEHOLDER

cluster:
provider: gcloud
Expand Down
97 changes: 0 additions & 97 deletions deployments/shiny/image/Dockerfile

This file was deleted.

20 changes: 0 additions & 20 deletions deployments/shiny/image/class-libs.R

This file was deleted.

22 changes: 0 additions & 22 deletions deployments/shiny/image/environment.yml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

12 changes: 0 additions & 12 deletions deployments/shiny/image/r-packages/2023-fall-stat-135.r

This file was deleted.

16 changes: 0 additions & 16 deletions deployments/shiny/image/r-packages/2023-spring-stat-20.r

This file was deleted.

20 changes: 0 additions & 20 deletions deployments/shiny/image/r-packages/2024-spring-gradebook.r

This file was deleted.

0 comments on commit 40ff7a8

Please sign in to comment.