first commit
This commit is contained in:
28
system/upgrade.yaml
Normal file
28
system/upgrade.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
# yaml-language-server: $schema=https://git.jesof.ch/public/mstr-schemas/raw/branch/main/mstr-tasks-schema.json
|
||||
tasks:
|
||||
- call:
|
||||
description: 'Upgrade project on "$(target)"'
|
||||
script: "@(system)/upgrade_project.yaml"
|
||||
args:
|
||||
path: $(target)
|
||||
loop:
|
||||
values: $(dirlist("@(projects)", dirlistWithDirsOnly()))
|
||||
as: target
|
||||
|
||||
- call:
|
||||
description: 'Upgrade github application "$(settings.name)"'
|
||||
script: "@(system)/upgrade_github_application.yaml"
|
||||
args:
|
||||
settings: $(settings)
|
||||
loop:
|
||||
values: $(github)
|
||||
as: settings
|
||||
|
||||
- call:
|
||||
description: 'Upgrade orchestra application "$(settings.role)"'
|
||||
script: "@(system)/upgrade_orchestra_application.yaml"
|
||||
args:
|
||||
settings: $(settings)
|
||||
loop:
|
||||
values: $(orchestra)
|
||||
as: settings
|
||||
Reference in New Issue
Block a user