openSUSE-release-tools/gocd/checkers.suse.gocd.yaml.erb

313 lines
10 KiB
Plaintext
Raw Normal View History

2019-05-14 06:40:42 +02:00
format_version: 3
pipelines:
Run.Changelog.Checker:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 */5 * ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-sle-changelog-checker
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
timeout: 30
2019-05-14 06:40:42 +02:00
resources:
- staging-bot
2019-05-14 06:40:42 +02:00
tasks:
2019-05-16 06:59:25 +02:00
- script: ./check_tags_in_requests.py -A https://api.suse.de --verbose --user=sle-changelog-checker --review=accept-onpass --factory=openSUSE.org:openSUSE:Factory review
2020-07-03 10:11:53 -03:00
SLE15SP3.Project:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 * ? * *
only_on_changes: false
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
stages:
- Run:
approval: manual
jobs:
SLE_15_SP3:
timeout: 30
resources:
- repo-checker
tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP3:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP3:GA
2020-08-07 13:22:38 -03:00
MicroOS.Project:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 * ? * *
only_on_changes: false
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
stages:
- Run:
approval: manual
jobs:
MicroOS:
timeout: 30
resources:
- repo-checker
tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP2:Update:Products:MicroOS:Staging/dashboard --no-rebuild SUSE:SLE-15-SP2:Update:Products:MicroOS
SLE.Origin.Manager:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-origin-manager
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
timer:
spec: 0 */5 * ? * *
only_on_changes: false
stages:
- Run:
approval: manual
resources:
- staging-bot
tasks:
- script: ./origin-manager.py -A https://api.suse.de --debug review
2020-08-07 11:56:43 -03:00
SLE.Origin.Manager.Update:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-origin-manager
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
timer:
spec: 0 0 7 ? * *
only_on_changes: false
stages:
- Run:
approval: manual
resources:
- staging-bot
tasks:
- script: |-
tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-origin.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins
HOME=$tempdir osc -A https://api.suse.de origin update
rm -rf $tempdir
2020-07-03 10:11:53 -03:00
S15.SP3.Staging.Bot.Regular:
group: SLE.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:
timeout: 30
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.suse.de staging -p SUSE:SLE-15-SP3:GA rebuild
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA list --supersede
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA adi --by-develproject
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA select --non-interactive --merge --try-strategies
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA repair --cleanup
rm -rf $tempdir
2020-08-07 13:22:38 -03:00
MicroOS.Staging.Bot.Regular:
group: SLE.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:
timeout: 30
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.suse.de staging -p SUSE:SLE-15-SP2:Update:Products:MicroOS rebuild
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:Update:Products:MicroOS list --supersede
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:Update:Products:MicroOS adi --by-develproject
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:Update:Products:MicroOS select --non-interactive --merge --try-strategies
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:Update:Products:MicroOS unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:Update:Products:MicroOS repair --cleanup
rm -rf $tempdir
2020-07-03 10:11:53 -03:00
S15.SP3.Staging.Bot.Report:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 */3 * ? * *
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:
timeout: 30
resources:
- staging-bot
tasks:
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP3:GA
2020-08-07 13:22:38 -03:00
MicroOS.Staging.Bot.Report:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 */3 * ? * *
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:
timeout: 30
resources:
- staging-bot
tasks:
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP2:Update:Products:MicroOS
2019-05-14 06:40:42 +02:00
SLE.Source.Check:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 */5 * ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-factory-auto
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
timeout: 30
2019-05-14 06:40:42 +02:00
resources:
- staging-bot
2019-05-14 06:40:42 +02:00
tasks:
- script: ./check_source.py -A https://api.suse.de --verbose --skip-add-reviews --group factory-auto --user factory-auto review
SLE.Legal.Check:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 */5 * ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-legal-auto
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
timeout: 30
resources:
- staging-bot
tasks:
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de --group=legal-auto review
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de --user=licensedigger review
SLE.Legal.Import:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 0 ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-legal-auto
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
timeout: 30
resources:
- staging-bot
tasks:
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-suse)
2020-09-18 15:05:42 -03:00
SLE15.SP2.QR:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-maintenance-installcheck
timer:
2020-09-22 13:28:19 -03:00
spec: 0 0 0 ? * THU
2020-09-18 15:05:42 -03:00
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
stages:
- Run:
approval:
type: manual
jobs:
Run:
timeout: 30
resources:
- repo-checker
tasks:
- script: |-
cd scripts
./pkglistgen.py -A https://api.suse.de --debug update_and_solve -p home:maintenance-installcheck:15-SP2:QR -s target --force
osc -A https://api.suse.de co home:maintenance-installcheck:15-SP2:QR 000product
cd home:maintenance-installcheck:15-SP2:QR/000product
sed -e 's,home:maintenance-installcheck:15-SP2:QR,SUSE:SLE-15-SP2:Update:QR,' -i *
osc ci -m 'Fix repoid'
osc sr --yes SUSE:SLE-15-SP2:Update:QR -m 'Update Package List'