Skip to content

Commit

Permalink
Actions: Enable over-budget shutdown in production
Browse files Browse the repository at this point in the history
  • Loading branch information
spbnick committed May 3, 2024
1 parent f9772ac commit fb49124
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,21 @@ jobs:
./cloud deploy "${args[@]}" -v
- name: Deploy Production
run: |
declare -r cost_thresholds_json='[
100,
200,
300,
400,
500,
600,
[700, "./cloud shutdown kernelci-production \"\" -v"]
]'
declare -a args=(
kernelci-production ""
--grafana-url=https://kcidb.kernelci.org
--grafana-public
--grafana-anonymous
--extra-cc=kernelci-results-staging@groups.io
--cost-thresholds="$cost_thresholds_json"
)
./cloud deploy "${args[@]}" -v

0 comments on commit fb49124

Please sign in to comment.