22 lines
546 B
YAML
22 lines
546 B
YAML
# yaml-language-server: $schema=https://git.jesof.ch/public/mstr-schemas/raw/branch/main/mstr-tasks-schema.json
|
|
tasks:
|
|
- execute:
|
|
description: "Deploy $(settings.role)"
|
|
exec: "orchestra"
|
|
dir: "@(provisioning)"
|
|
args:
|
|
- "-roles"
|
|
- "$(settings.role)"
|
|
- "-tags"
|
|
- "update"
|
|
|
|
- execute:
|
|
description: "Check health endpoint"
|
|
exec: "curl"
|
|
args:
|
|
- "--retry"
|
|
- "10"
|
|
- "--silent"
|
|
- $(settings.health_url)
|
|
when: $(has("settings.health_url"))
|