Add Railiance Stage 1 run command
This commit is contained in:
parent
f7c8670d19
commit
f68e1b36da
7 changed files with 376 additions and 5 deletions
|
|
@ -178,8 +178,8 @@ enabled = true
|
|||
namespace = "local"
|
||||
release = "${APP_ID}-local"
|
||||
commands = ["./tests/stage1.sh"]
|
||||
checks = ["helm-template", "local-health"]
|
||||
evidence = ["helm template success", "local health check or explicit not-run note"]
|
||||
checks = ["stage1-script", "local-health"]
|
||||
evidence = ["Stage 1 script result", "local health check or explicit not-run note"]
|
||||
requires_approval = false
|
||||
|
||||
[stages.stage2]
|
||||
|
|
@ -204,12 +204,21 @@ requires_approval = true
|
|||
promotion_mode = "release-replace"
|
||||
previous_stable = "helm:${APP_ID}:previous"
|
||||
|
||||
[[checks]]
|
||||
id = "stage1-script"
|
||||
type = "command"
|
||||
stage = "stage1"
|
||||
description = "Run generated Stage 1 validation script."
|
||||
required = true
|
||||
run = "./tests/stage1.sh"
|
||||
timeout_seconds = 300
|
||||
|
||||
[[checks]]
|
||||
id = "helm-template"
|
||||
type = "helm"
|
||||
stage = "stage1"
|
||||
description = "Render Helm templates locally."
|
||||
required = true
|
||||
description = "Render Helm templates locally when Helm is available."
|
||||
required = false
|
||||
chart = "charts/${APP_ID}"
|
||||
values = "values/stage1.yaml"
|
||||
mode = "template"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue