announce.gocd.yaml: escape the : in pipeline names

This commit is contained in:
Stephan Kulow 2019-09-05 13:04:32 +02:00
parent a24bcf0f20
commit b269bf4868
2 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,7 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: ./factory-package-news/announcer.py --config config/announcer/openSUSE:MicroOS.yml --verbose --state-file /home/go/config/announcer.yaml - script: ./factory-package-news/announcer.py --config config/announcer/openSUSE:MicroOS.yml --verbose --state-file /home/go/config/announcer.yaml
Announcer.Leap:15.2: Announcer.Leap_15.2:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
environment_variables: environment_variables:

View File

@ -1,7 +1,8 @@
format_version: 3 format_version: 3
pipelines: pipelines:
<% ['Factory', 'Kubic', 'MicroOS', 'Leap:15.2'].each_with_index do |project, index| -%> <% ['Factory', 'Kubic', 'MicroOS', 'Leap:15.2'].each_with_index do |project, index| -%>
Announcer.<%= project %>: <% name = project.gsub(':', '_') -%>
Announcer.<%= name %>:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
environment_variables: environment_variables: