openSUSE-release-tools/gocd/staging.bot.gocd.yaml

171 lines
5.6 KiB
YAML
Raw Normal View History

format_version: 3
pipelines:
AdiChecker.Factory:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
repos:
git: git://botmaster.suse.de/opensuse-repos.git
auto_update: true
whitelist:
- openSUSE:Factory:Staging:adi*.yaml
destination: repos
stages:
- Run:
jobs:
Run:
resources:
- repo-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A https://api.opensuse.org -p openSUSE:Factory
2019-03-28 13:33:38 +01:00
SBot.Regular.Factory:
group: openSUSE.Checkers
2019-03-28 13:33:38 +01:00
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 * ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
resources:
- staging-bot
2019-03-28 13:33:38 +01:00
tasks:
- script: |-
set -e
tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir
osc -A https://api.opensuse.org staging -p openSUSE:Factory list --supersede
osc -A https://api.opensuse.org staging -p openSUSE:Factory adi
osc -A https://api.opensuse.org staging -p openSUSE:Factory unselect --cleanup
osc -A https://api.opensuse.org staging -p openSUSE:Factory repair --cleanup
rm -rf $tempdir
2022-07-28 18:31:17 +08:00
AdiChecker.Backports.SLE-15-SP5:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
repos:
git: git://botmaster.suse.de/opensuse-repos.git
auto_update: true
whitelist:
2022-07-28 18:31:17 +08:00
- openSUSE:Backports:SLE-15-SP5:Staging:adi*.yaml
destination: repos
stages:
- Run:
jobs:
Run:
resources:
- repo-checker
tasks:
- script: |-
2022-07-28 18:31:17 +08:00
./scripts/staging-installcheck.py -A https://api.opensuse.org -p openSUSE:Backports:SLE-15-SP5
SBot.Regular.Backports.SLE-15-SP5:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 * ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
resources:
- staging-bot
tasks:
- script: |-
set -e
tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir
2022-07-28 18:31:17 +08:00
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 list --supersede
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 adi
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 unselect --cleanup
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 repair --cleanup
rm -rf $tempdir
AdiChecker.Leap.15.5:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
repos:
git: git://botmaster.suse.de/opensuse-repos.git
auto_update: true
whitelist:
- openSUSE:Leap:15.5:Staging:adi*.yaml
destination: repos
stages:
- Run:
jobs:
Run:
resources:
- repo-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A https://api.opensuse.org -p openSUSE:Leap:15.5
SBot.Regular.Leap.15.5:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 * ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
resources:
- staging-bot
tasks:
- script: |-
set -e
tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 list --supersede
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 adi
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 unselect --cleanup
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 repair --cleanup
rm -rf $tempdir