openSUSE-release-tools/gocd/announcer.gocd.yaml
Stephan Kulow cdd6dc4f06 Run factory announcer on gocd
Ported the announcer to python3 and made the config parsing a little
easier. The current state is no longer stored as filename, but in a
config file
2019-05-31 13:43:31 +02:00

37 lines
1.1 KiB
YAML

format_version: 3
pipelines:
Announcer.Factory:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
timer:
spec: 0 0 * ? * *
only_on_changes: false
stages:
- Run:
resources:
- staging-bot
tasks:
- script: ./factory-package-news/announcer.py --config config/announcer/openSUSE:Factory.yml --verbose --state-file /home/go/config/announcer.yaml
Announcer.Kubic:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
timer:
spec: 0 0 * ? * *
only_on_changes: false
stages:
- Run:
resources:
- staging-bot
tasks:
- script: ./factory-package-news/announcer.py --config config/announcer/openSUSE:Kubic.yml --verbose --state-file /home/go/config/announcer.yaml