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:
|
|
|
|
resources:
|
2019-05-29 18:13:38 +02:00
|
|
|
- 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
|
2021-06-09 10:27:11 -03:00
|
|
|
SLE15SP4.Project:
|
2020-07-03 10:11:53 -03:00
|
|
|
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:
|
2021-06-09 10:27:11 -03:00
|
|
|
SLE_15_SP4:
|
2020-07-03 10:11:53 -03:00
|
|
|
resources:
|
|
|
|
- repo-checker
|
|
|
|
tasks:
|
2021-06-09 10:27:11 -03:00
|
|
|
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP4:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP4: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:
|
|
|
|
resources:
|
|
|
|
- repo-checker
|
|
|
|
tasks:
|
2021-12-17 09:23:03 -03:00
|
|
|
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP3:Update:Products:MicroOS52:Staging/dashboard --no-rebuild SUSE:SLE-15-SP3:Update:Products:MicroOS52
|
2019-07-09 08:10:30 -05:00
|
|
|
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
|
2021-06-09 10:27:11 -03:00
|
|
|
S15.SP4.Staging.Bot.Regular:
|
2020-07-03 10:11:53 -03:00
|
|
|
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:
|
|
|
|
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
|
|
|
|
|
2021-06-09 10:27:11 -03:00
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:GA rebuild
|
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:GA list --supersede
|
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:GA select --non-interactive --merge --try-strategies
|
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:GA unselect --cleanup
|
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:GA repair --cleanup
|
2020-07-03 10:11:53 -03:00
|
|
|
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:
|
|
|
|
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
|
|
|
|
|
2021-12-17 09:23:03 -03:00
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:Update:Products:MicroOS52 rebuild
|
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:Update:Products:MicroOS52 list --supersede
|
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:Update:Products:MicroOS52 select --non-interactive --merge --try-strategies
|
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:Update:Products:MicroOS52 unselect --cleanup
|
|
|
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:Update:Products:MicroOS52 repair --cleanup
|
2020-08-07 13:22:38 -03:00
|
|
|
rm -rf $tempdir
|
2021-06-09 10:27:11 -03:00
|
|
|
S15.SP4.Staging.Bot.Report:
|
2020-07-03 10:11:53 -03:00
|
|
|
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:
|
|
|
|
resources:
|
|
|
|
- staging-bot
|
|
|
|
tasks:
|
2021-06-09 10:27:11 -03:00
|
|
|
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP4: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:
|
|
|
|
resources:
|
|
|
|
- staging-bot
|
|
|
|
tasks:
|
2021-12-17 09:23:03 -03:00
|
|
|
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP3:Update:Products:MicroOS52
|
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:
|
|
|
|
resources:
|
2019-05-29 18:13:38 +02:00
|
|
|
- staging-bot
|
2019-05-14 06:40:42 +02:00
|
|
|
tasks:
|
2019-10-23 11:00:11 +02:00
|
|
|
- script: ./check_source.py -A https://api.suse.de --verbose --skip-add-reviews --group factory-auto --user factory-auto review
|
2019-05-27 18:02:15 +02:00
|
|
|
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:
|
|
|
|
resources:
|
2019-05-29 18:13:38 +02:00
|
|
|
- staging-bot
|
2019-05-27 18:02:15 +02:00
|
|
|
tasks:
|
2021-12-01 08:15:42 +01:00
|
|
|
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb https://legaldb.suse.de --group=legal-auto review
|
|
|
|
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb https://legaldb.suse.de --user=licensedigger review
|
2019-05-27 19:45:44 +02:00
|
|
|
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:
|
|
|
|
resources:
|
2019-06-01 09:31:22 +02:00
|
|
|
- staging-bot
|
2019-05-27 19:45:44 +02:00
|
|
|
tasks:
|
2021-12-01 08:15:42 +01:00
|
|
|
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb https://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-suse)
|
2021-06-24 17:58:34 -03:00
|
|
|
<% ['SP1', 'SP2', 'SP3'].each do |servicepack| -%>
|
2020-10-29 18:15:13 -03:00
|
|
|
SLE15.<%= servicepack %>.QR:
|
2020-10-20 10:02:29 -03:00
|
|
|
group: SLE.Checkers
|
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-maintenance-installcheck
|
|
|
|
timer:
|
|
|
|
spec: 0 0 0 ? * THU
|
|
|
|
materials:
|
|
|
|
scripts:
|
|
|
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
|
|
destination: scripts
|
|
|
|
stages:
|
|
|
|
- Run:
|
|
|
|
approval:
|
|
|
|
type: manual
|
|
|
|
jobs:
|
|
|
|
Run:
|
|
|
|
resources:
|
|
|
|
- repo-checker
|
|
|
|
tasks:
|
|
|
|
- script: |-
|
|
|
|
cd scripts
|
2020-10-29 18:15:13 -03:00
|
|
|
./pkglistgen.py -A https://api.suse.de --debug update_and_solve -p home:maintenance-installcheck:15-<%= servicepack %>:QR -s target --force
|
|
|
|
osc -A https://api.suse.de co home:maintenance-installcheck:15-<%= servicepack %>:QR 000product
|
|
|
|
cd home:maintenance-installcheck:15-<%= servicepack %>:QR/000product
|
|
|
|
sed -e 's,home:maintenance-installcheck:15-<%= servicepack %>:QR,SUSE:SLE-15-<%= servicepack %>:Update:QR,' -i *
|
2020-10-20 10:02:29 -03:00
|
|
|
osc ci -m 'Fix repoid'
|
2020-10-29 18:15:13 -03:00
|
|
|
osc sr --yes SUSE:SLE-15-<%= servicepack %>:Update:QR -m 'Update Package List'
|
|
|
|
<% end -%>
|
2021-09-03 12:40:16 -03:00
|
|
|
<% ['SP3'].each do |servicepack| -%>
|
|
|
|
SLE15.<%= servicepack %>.QR.Setup:
|
|
|
|
group: SLE.Checkers
|
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-maintenance-installcheck
|
|
|
|
materials:
|
|
|
|
scripts:
|
|
|
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
|
|
destination: scripts
|
|
|
|
stages:
|
|
|
|
- Run:
|
|
|
|
approval:
|
|
|
|
type: manual
|
|
|
|
jobs:
|
|
|
|
Run:
|
|
|
|
resources:
|
|
|
|
- repo-checker
|
|
|
|
tasks:
|
|
|
|
- script: |-
|
|
|
|
osc -A https://api.suse.de bco SUSE:SLE-15-<%= servicepack %>:Update:QR 000package-groups home:maintenance-installcheck:15-<%= servicepack %>:QR
|
|
|
|
for package in 000product 000release-packages; do
|
|
|
|
osc -A https://api.suse.de copypac SUSE:SLE-15-<%= servicepack %>:GA $package home:maintenance-installcheck:15-<%= servicepack %>:QR
|
|
|
|
done
|
|
|
|
<% end -%>
|