1
0

first commit

This commit is contained in:
2026-01-26 15:36:52 +01:00
commit 23da3d20b5
30 changed files with 1022 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
# yaml-language-server: $schema=https://git.jesof.ch/public/mstr-schemas/raw/branch/main/mstr-tasks-schema.json
tasks:
- loadVersion:
varName: version
file: .mstr.json
- template:
args:
version: "$(version)"
templates:
- "@(development)/version.yaml"
target: "@(provisioning)/roles/$(name)/vars/version.yaml"
- execute:
dir: "@(provisioning)"
exec: "orchestra"
args:
- "-roles"
- "$(name)"
- execute:
description: "Check health endpoint"
exec: "curl"
args:
- "--retry"
- "10"
- "--silent"
- $(settings.health_url)
when: $(has("settings.health_url"))
- execute:
dir: "@(provisioning)"
exec: git
args:
- add
- "@(provisioning)/roles/$(name)/vars/version.yaml"
- execute:
dir: "@(provisioning)"
exec: git
args:
- commit
- "-m"
- "New $(name) release"
- execute:
dir: "@(provisioning)"
exec: git
args:
- push
- print:
format: "### Application $(name) version $(version) deployed ###"