Commit e41ed83
authored
Refactor CI/CD into a staged deployment pipeline with versioning, database testing, and approval gates (#12)
* Refactored staging deploy into own file
* Added flag for disabling disk cleanup
* Created production deploy workflow
* Added making the GCP function public
* Setup eval-prod environment
* Removed protections on deploy, left on release
* Removed make public
* Added some notes to the README
* Added GCP deployment note to README
* Changed name normalisation to be only for GCP
* Added issue template
* Added write function name if aws
* Enabled normlise for AWS
* Added version tagging to GCP build
* Added AWS to need version and fixed bug with GCP Build
* Fixed version tagging issue
* Added lfs support
* Added lfs
* Disabled normalise for AWS
* Added requirement for staging to pass before prod can be deployed
* Added database testing
* Switched endpoint to be a secret
* Changed test needs
* Fixed column issue
* Removed test logic
* Added new secrets for DB testing
* Fixed typo
* Made read config.json more robust
* Renamed run-tests to run-database tests
* Simplified conditional expressions in deploy workflow
* Switched deployment workflow to use commit SHA instead of branch for release steps
* Added manual approval step for production deployment on test failures
* Added always to the gate
* Refined production deployment conditions
* Added the random seed as input for database testing
* Added `request_delay` and `max_concurrency` inputs to deploy workflow
* Refined manual approval message for production deployment on test failures
* Removed unicode character
* Added `sql_limit` input to deploy workflow1 parent d1d0dbc commit e41ed83
11 files changed
Lines changed: 683 additions & 95 deletions
File tree
- .github
- ISSUE_TEMPLATE
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
0 commit comments