2019-03-20 06:44:46 +01:00
|
|
|
format_version: 3
|
|
|
|
pipelines:
|
|
|
|
openSUSE.openQA:
|
|
|
|
group: Monitors
|
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
timer:
|
|
|
|
spec: 0 */5 * ? * *
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
|
|
materials:
|
|
|
|
git:
|
|
|
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
|
|
branch: master
|
2019-03-20 08:29:09 +01:00
|
|
|
destination: scripts
|
2019-03-20 06:44:46 +01:00
|
|
|
stages:
|
|
|
|
- Run:
|
|
|
|
approval:
|
|
|
|
type: manual
|
|
|
|
jobs:
|
|
|
|
Run:
|
2019-09-26 16:33:11 +02:00
|
|
|
timeout: 30
|
2019-03-20 06:44:46 +01:00
|
|
|
resources:
|
2019-09-12 12:59:47 +02:00
|
|
|
- monitor
|
2019-03-20 06:44:46 +01:00
|
|
|
tasks:
|
|
|
|
- script: |-
|
2019-09-13 07:10:12 +02:00
|
|
|
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
2019-03-20 08:29:09 +01:00
|
|
|
export PYTHONPATH=$PWD/scripts
|
|
|
|
./scripts/gocd/rabbit-openqa.py -A https://api.opensuse.org
|
2019-03-20 06:44:46 +01:00
|
|
|
SUSE.openQA:
|
|
|
|
group: Monitors
|
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
timer:
|
|
|
|
spec: 0 */5 * ? * *
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
|
|
materials:
|
|
|
|
git:
|
|
|
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
|
|
branch: master
|
2019-03-20 08:29:09 +01:00
|
|
|
destination: scripts
|
2019-03-20 06:44:46 +01:00
|
|
|
stages:
|
|
|
|
- Run:
|
|
|
|
approval:
|
|
|
|
type: manual
|
|
|
|
jobs:
|
|
|
|
Run:
|
2019-09-26 16:33:11 +02:00
|
|
|
timeout: 30
|
2019-03-20 06:44:46 +01:00
|
|
|
resources:
|
2019-09-12 12:59:47 +02:00
|
|
|
- monitor
|
2019-03-20 06:44:46 +01:00
|
|
|
tasks:
|
|
|
|
# endless loop
|
|
|
|
- script: |-
|
2019-09-13 07:10:12 +02:00
|
|
|
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
2019-03-20 08:29:09 +01:00
|
|
|
export PYTHONPATH=$PWD/scripts
|
|
|
|
./scripts/gocd/rabbit-openqa.py -A https://api.suse.de
|
2019-03-20 06:44:46 +01:00
|
|
|
SUSE.Repo.Monitor:
|
|
|
|
group: Monitors
|
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
timer:
|
|
|
|
spec: 0 */5 * ? * *
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
|
|
materials:
|
|
|
|
scripts:
|
|
|
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
|
|
branch: master
|
|
|
|
destination: scripts
|
2020-03-16 08:54:07 +01:00
|
|
|
repos:
|
|
|
|
git: git://botmaster.suse.de/suse-repos.git
|
|
|
|
branch: master
|
|
|
|
destination: repos
|
|
|
|
notifications:
|
|
|
|
git: git://botmaster.suse.de/suse-notifications.git
|
|
|
|
branch: master
|
|
|
|
destination: notifications
|
2019-03-20 06:44:46 +01:00
|
|
|
stages:
|
|
|
|
- Run:
|
|
|
|
approval:
|
|
|
|
type: manual
|
|
|
|
jobs:
|
|
|
|
Run:
|
2019-09-26 16:33:11 +02:00
|
|
|
timeout: 30
|
2019-03-20 06:44:46 +01:00
|
|
|
resources:
|
2019-09-12 12:59:47 +02:00
|
|
|
- monitor
|
2019-03-20 06:44:46 +01:00
|
|
|
tasks:
|
|
|
|
# endless loop
|
|
|
|
- script: |-
|
2019-05-15 20:32:50 +02:00
|
|
|
export PYTHONPATH=$PWD/scripts
|
2019-03-20 06:44:46 +01:00
|
|
|
git config --global user.email "coolo@suse.de"
|
|
|
|
git config --global user.name "GoCD Repo Monitor"
|
2020-03-16 08:54:07 +01:00
|
|
|
cd repos
|
2024-09-24 09:16:07 +02:00
|
|
|
../scripts/gocd/rabbit-repoid.py -A https://api.suse.de SUSE:SLE SUSE:ALP Devel:YaST
|
2019-03-20 06:44:46 +01:00
|
|
|
openSUSE.Repo.Monitor:
|
|
|
|
group: Monitors
|
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
timer:
|
|
|
|
spec: 0 */5 * ? * *
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
|
|
materials:
|
|
|
|
scripts:
|
|
|
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
|
|
branch: master
|
|
|
|
destination: scripts
|
2020-03-16 08:54:07 +01:00
|
|
|
repos:
|
|
|
|
git: git://botmaster.suse.de/opensuse-repos.git
|
|
|
|
branch: master
|
|
|
|
destination: repos
|
2019-03-20 06:44:46 +01:00
|
|
|
stages:
|
|
|
|
- Run:
|
|
|
|
approval:
|
|
|
|
type: manual
|
|
|
|
jobs:
|
|
|
|
Run:
|
2019-09-26 16:33:11 +02:00
|
|
|
timeout: 30
|
2019-03-20 06:44:46 +01:00
|
|
|
resources:
|
2019-09-12 12:59:47 +02:00
|
|
|
- monitor
|
2019-03-20 06:44:46 +01:00
|
|
|
tasks:
|
|
|
|
- script: |-
|
2019-05-15 20:32:50 +02:00
|
|
|
export PYTHONPATH=$PWD/scripts
|
2019-03-20 06:44:46 +01:00
|
|
|
git config --global user.email "coolo@suse.de"
|
|
|
|
git config --global user.name "GoCD Repo Monitor"
|
2020-03-16 08:54:07 +01:00
|
|
|
cd repos
|
2024-02-19 14:28:09 +01:00
|
|
|
../scripts/gocd/rabbit-repoid.py -A https://api.opensuse.org openSUSE:Factory openSUSE:Leap openSUSE:Backports Virtualization:WSL KDE:Medias systemsmanagement:Agama SUSE:ALP openSUSE:Slowroll
|
2020-03-16 08:54:07 +01:00
|
|
|
openSUSE.ObsRsync:
|
|
|
|
group: Monitors
|
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
|
|
materials:
|
|
|
|
scripts:
|
|
|
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
|
|
branch: master
|
|
|
|
destination: scripts
|
|
|
|
repos:
|
|
|
|
git: git://botmaster.suse.de/opensuse-repos.git
|
|
|
|
branch: master
|
|
|
|
destination: repos
|
|
|
|
notifications:
|
|
|
|
git: git://botmaster.suse.de/opensuse-notifications.git
|
|
|
|
branch: master
|
|
|
|
destination: notifications
|
2020-03-16 11:42:52 +01:00
|
|
|
whitelist:
|
|
|
|
- nothing
|
2020-03-16 08:54:07 +01:00
|
|
|
stages:
|
|
|
|
- Run:
|
|
|
|
jobs:
|
|
|
|
Run:
|
|
|
|
resources:
|
2020-03-16 11:42:52 +01:00
|
|
|
- staging-bot
|
2020-03-16 08:54:07 +01:00
|
|
|
tasks:
|
|
|
|
- script: |-
|
|
|
|
export PYTHONPATH=$PWD/scripts
|
|
|
|
git config --global user.email "coolo@suse.de"
|
|
|
|
git config --global user.name "GoCD Repo Monitor"
|
2020-03-16 11:42:52 +01:00
|
|
|
scripts/gocd/notify-obs_rsync.py --openqa https://openqa.opensuse.org --repos repos --to notifications
|
2020-03-16 08:54:07 +01:00
|
|
|
SUSE.ObsRsync:
|
|
|
|
group: Monitors
|
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
|
|
materials:
|
|
|
|
scripts:
|
|
|
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
|
|
branch: master
|
|
|
|
destination: scripts
|
|
|
|
repos:
|
|
|
|
git: git://botmaster.suse.de/suse-repos.git
|
|
|
|
branch: master
|
|
|
|
destination: repos
|
|
|
|
notifications:
|
|
|
|
git: git://botmaster.suse.de/suse-notifications.git
|
|
|
|
branch: master
|
|
|
|
destination: notifications
|
2020-03-16 11:42:52 +01:00
|
|
|
whitelist:
|
|
|
|
- nothing
|
2020-03-16 08:54:07 +01:00
|
|
|
stages:
|
|
|
|
- Run:
|
|
|
|
jobs:
|
|
|
|
Run:
|
|
|
|
resources:
|
2020-03-16 11:42:52 +01:00
|
|
|
- staging-bot
|
2020-03-16 08:54:07 +01:00
|
|
|
tasks:
|
|
|
|
# endless loop
|
|
|
|
- script: |-
|
|
|
|
export PYTHONPATH=$PWD/scripts
|
|
|
|
git config --global user.email "coolo@suse.de"
|
|
|
|
git config --global user.name "GoCD Repo Monitor"
|
2020-03-16 11:42:52 +01:00
|
|
|
scripts/gocd/notify-obs_rsync.py --openqa https://openqa.suse.de --repos repos --to notifications
|
2020-03-16 08:54:07 +01:00
|
|
|
|