Skip to content

Commit

Permalink
adding workflow diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Oct 25, 2024
1 parent d6f6ec9 commit fa32240
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/admins/ci-cd-workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions docs/admins/cicd-github-actions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ These workflows are stored in the DataHub repo in the

The basic order of operations is as follows:

1. PR is created in the datahub repo.
1. A pull request is created in the datahub repo.
1. The labeler workflow applies labels based on the [file type and/or location](https://github.com/berkeley-dsep-infra/datahub/blob/staging/.github/labeler.yml).
1. On PR merge to staging, if the labels match any hub, support or node placeholder deployments those specific systems are deployed.
1. On PR merge to prod, only hubs are deployed (again based on labels).
1. When the pull request is merged to `staging`, if the labels match any hub, support or node placeholder deployments those specific systems are deployed.
1. When the pull request is merged to prod, only the hubs that have been modified are deployed (again based on labels).

The hubs are deployed via [hubploy](https://github.com/berkeley-dsep-infra/hubploy),
which is our custom wrapper for `gcloud`, `sops` and `helm`.
Expand Down Expand Up @@ -117,6 +117,8 @@ a list of what's to be deployed.
That list is iterated over, and [hubploy](https://github.com/berkeley-dsep-infra/hubploy)
is used to deploy only the flagged hubs.

![CI/CD workflow for single-user server images](ci-cd-workflow.svg)

#### Support and node-placeholder charts

Each of these deployments has their own workflow, which only runs on pushes to
Expand Down

0 comments on commit fa32240

Please sign in to comment.