Merge pull request #2467 from nilxam/jump_conf
Remove Leap configs and enable Jump project stuff
This commit is contained in:
commit
7a216cd0c3
@ -108,21 +108,3 @@ pipelines:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: ./factory-package-news/announcer.py --config config/announcer/openSUSE:MicroOS:ARM.yml --verbose --state-file /home/go/config/announcer.yaml
|
||||
Announcer.Leap_15.2:
|
||||
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 6 * ? * *
|
||||
only_on_changes: false
|
||||
stages:
|
||||
- Run:
|
||||
approval: manual
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: ./factory-package-news/announcer.py --config config/announcer/openSUSE:Leap:15.2.yml --verbose --state-file /home/go/config/announcer.yaml
|
||||
|
@ -1,6 +1,6 @@
|
||||
format_version: 3
|
||||
pipelines:
|
||||
<% ['Factory', 'Factory:ARM', 'Kubic', 'Kubic:ARM', 'MicroOS', 'MicroOS:ARM', 'Leap:15.2'].each_with_index do |project, index| -%>
|
||||
<% ['Factory', 'Factory:ARM', 'Kubic', 'Kubic:ARM', 'MicroOS', 'MicroOS:ARM'].each_with_index do |project, index| -%>
|
||||
<% name = project.gsub(':', '_') -%>
|
||||
Announcer.<%= name %>:
|
||||
group: openSUSE.Checkers
|
||||
|
@ -18,21 +18,3 @@ pipelines:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: ./build-fail-reminder.py --sender="DimStar / Dominique Leuenberger <dimstar@opensuse.org>" --project=openSUSE:Factory --relay=relay.suse.de --json=/home/go/config/openSUSE:Factory.reminded.json --debug
|
||||
BuildFailReminder.Leap152:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||
materials:
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
timer:
|
||||
spec: 0 0 0 ? * *
|
||||
only_on_changes: false
|
||||
stages:
|
||||
- Run:
|
||||
approval: manual
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: ./build-fail-reminder.py --sender="openSUSE release team <opensuse-releaseteam@opensuse.org>" --project=openSUSE:Leap:15.2 --relay=relay.suse.de --json=/home/go/config/openSUSE:Leap:15.2.reminded.json --debug
|
||||
|
@ -24,27 +24,3 @@ pipelines:
|
||||
ln -s $PWD/osclib $tempdir/.osc-plugins
|
||||
HOME=$tempdir osc staging -p openSUSE:Factory check_duplicate_binaries --save
|
||||
rm -rf $tempdir
|
||||
Leap.Duplicated.Binaries:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
materials:
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
timer:
|
||||
spec: 0 0 0 ? * *
|
||||
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-staging.py $tempdir/.osc-plugins
|
||||
ln -s $PWD/osclib $tempdir/.osc-plugins
|
||||
HOME=$tempdir osc staging -p openSUSE:Leap:15.2 check_duplicate_binaries --save
|
||||
rm -rf $tempdir
|
||||
|
@ -148,27 +148,6 @@ pipelines:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: ./staging-report.py --debug -A https://api.opensuse.org -p openSUSE:Factory
|
||||
Leap.Staging.Report:
|
||||
group: openSUSE.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.opensuse.org -p openSUSE:Leap:15.2
|
||||
Source.In.Factory:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
|
@ -121,7 +121,7 @@ pipelines:
|
||||
git config --global user.email "coolo@suse.de"
|
||||
git config --global user.name "GoCD Repo Monitor"
|
||||
cd repos
|
||||
../scripts/gocd/rabbit-repoid.py -A https://api.opensuse.org openSUSE:Factory openSUSE:Leap Virtualization:WSL
|
||||
../scripts/gocd/rabbit-repoid.py -A https://api.opensuse.org openSUSE:Factory openSUSE:Leap openSUSE:Jump Virtualization:WSL
|
||||
openSUSE.ObsRsync:
|
||||
group: Monitors
|
||||
lock_behavior: unlockWhenFinished
|
||||
|
@ -83,7 +83,7 @@ pipelines:
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:RISCV
|
||||
Pkglistgen.openSUSE_Leap:
|
||||
group: Leap.15.2.pkglistgen
|
||||
group: Leap.jump.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
@ -98,33 +98,13 @@ pipelines:
|
||||
approval:
|
||||
type: manual
|
||||
jobs:
|
||||
openSUSE_Leap_15.2_target:
|
||||
openSUSE_Jump_15.2_target:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.2 -s target
|
||||
openSUSE_Leap_15.2_rings:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.2 -s rings
|
||||
openSUSE_Leap_15.2_ARM:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.2:ARM
|
||||
openSUSE_Leap_15.2_PowerPC:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.2:PowerPC
|
||||
openSUSE_Leap_15.2_MicroOS:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.2:MicroOS
|
||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Jump:15.2 -s target
|
||||
Update.Repos.Leap:
|
||||
group: Leap.15.2.pkglistgen
|
||||
group: Leap.jump.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
@ -139,18 +119,8 @@ pipelines:
|
||||
approval:
|
||||
type: manual
|
||||
jobs:
|
||||
openSUSE_Leap_15.2:
|
||||
openSUSE_Jump_15.2:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.2
|
||||
openSUSE_Leap_15.2_ARM:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.2:ARM
|
||||
openSUSE_Leap_15.2_PowerPC:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.2:PowerPC
|
||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Jump:15.2
|
||||
|
@ -54,7 +54,7 @@ pipelines:
|
||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
|
||||
<% end -%>
|
||||
Pkglistgen.openSUSE_Leap:
|
||||
group: Leap.15.2.pkglistgen
|
||||
group: Leap.jump.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
@ -69,7 +69,7 @@ pipelines:
|
||||
approval:
|
||||
type: manual
|
||||
jobs:
|
||||
<% ['openSUSE:Leap:15.2/target', 'openSUSE:Leap:15.2/rings', 'openSUSE:Leap:15.2:ARM', 'openSUSE:Leap:15.2:PowerPC', 'openSUSE:Leap:15.2:MicroOS'].each do |project|
|
||||
<% ['openSUSE:Jump:15.2/target'].each do |project|
|
||||
project=project.split('/')
|
||||
name=project[0].gsub(':', '_')
|
||||
if project.size > 1
|
||||
@ -83,7 +83,7 @@ pipelines:
|
||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %>
|
||||
<% end -%>
|
||||
Update.Repos.Leap:
|
||||
group: Leap.15.2.pkglistgen
|
||||
group: Leap.jump.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
@ -98,7 +98,7 @@ Update.Repos.Leap:
|
||||
approval:
|
||||
type: manual
|
||||
jobs:
|
||||
<% %w(openSUSE:Leap:15.2 openSUSE:Leap:15.2:ARM openSUSE:Leap:15.2:PowerPC).each do |project| -%>
|
||||
<% %w(openSUSE:Jump:15.2).each do |project| -%>
|
||||
<%= project.gsub(':', '_') %>:
|
||||
resources:
|
||||
- repo-checker
|
||||
|
@ -992,381 +992,3 @@ pipelines:
|
||||
- script: |-
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
|
||||
|
||||
Leap.Stagings.RelPkgs:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
timer:
|
||||
spec: 0 */10 * ? * *
|
||||
only_on_changes: false
|
||||
materials:
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
stages:
|
||||
- Generate.Release.Package:
|
||||
approval: manual
|
||||
jobs:
|
||||
"Staging.A":
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
|
||||
--staging openSUSE:Leap:15.2:Staging:A
|
||||
--only-release-packages --force
|
||||
"Staging.B":
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
|
||||
--staging openSUSE:Leap:15.2:Staging:B
|
||||
--only-release-packages --force
|
||||
"Staging.C":
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
|
||||
--staging openSUSE:Leap:15.2:Staging:C
|
||||
--only-release-packages --force
|
||||
"Staging.D":
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
|
||||
--staging openSUSE:Leap:15.2:Staging:D
|
||||
--only-release-packages --force
|
||||
"Staging.E":
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
|
||||
--staging openSUSE:Leap:15.2:Staging:E
|
||||
--only-release-packages --force
|
||||
"Staging.F":
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
|
||||
--staging openSUSE:Leap:15.2:Staging:F
|
||||
--only-release-packages --force
|
||||
|
||||
"Leap.Staging.A":
|
||||
environment_variables:
|
||||
STAGING_PROJECT: openSUSE:Leap:15.2:Staging:A
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
stagings:
|
||||
git: git://botmaster.suse.de/opensuse-repos.git
|
||||
auto_update: true
|
||||
destination: repos
|
||||
whitelist:
|
||||
- openSUSE:Leap:15.2:Staging:A_-_standard.yaml
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
auto_update: true
|
||||
destination: scripts
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=scripts
|
||||
./scripts/gocd/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.2 -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force
|
||||
|
||||
- Enable.images.repo:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
"Leap.Staging.B":
|
||||
environment_variables:
|
||||
STAGING_PROJECT: openSUSE:Leap:15.2:Staging:B
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
stagings:
|
||||
git: git://botmaster.suse.de/opensuse-repos.git
|
||||
auto_update: true
|
||||
destination: repos
|
||||
whitelist:
|
||||
- openSUSE:Leap:15.2:Staging:B_-_standard.yaml
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
auto_update: true
|
||||
destination: scripts
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=scripts
|
||||
./scripts/gocd/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.2 -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force
|
||||
|
||||
- Enable.images.repo:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
"Leap.Staging.C":
|
||||
environment_variables:
|
||||
STAGING_PROJECT: openSUSE:Leap:15.2:Staging:C
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
stagings:
|
||||
git: git://botmaster.suse.de/opensuse-repos.git
|
||||
auto_update: true
|
||||
destination: repos
|
||||
whitelist:
|
||||
- openSUSE:Leap:15.2:Staging:C_-_standard.yaml
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
auto_update: true
|
||||
destination: scripts
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=scripts
|
||||
./scripts/gocd/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.2 -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force
|
||||
|
||||
- Enable.images.repo:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
"Leap.Staging.D":
|
||||
environment_variables:
|
||||
STAGING_PROJECT: openSUSE:Leap:15.2:Staging:D
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
stagings:
|
||||
git: git://botmaster.suse.de/opensuse-repos.git
|
||||
auto_update: true
|
||||
destination: repos
|
||||
whitelist:
|
||||
- openSUSE:Leap:15.2:Staging:D_-_standard.yaml
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
auto_update: true
|
||||
destination: scripts
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=scripts
|
||||
./scripts/gocd/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.2 -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force
|
||||
|
||||
- Enable.images.repo:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
"Leap.Staging.E":
|
||||
environment_variables:
|
||||
STAGING_PROJECT: openSUSE:Leap:15.2:Staging:E
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
stagings:
|
||||
git: git://botmaster.suse.de/opensuse-repos.git
|
||||
auto_update: true
|
||||
destination: repos
|
||||
whitelist:
|
||||
- openSUSE:Leap:15.2:Staging:E_-_standard.yaml
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
auto_update: true
|
||||
destination: scripts
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=scripts
|
||||
./scripts/gocd/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.2 -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force
|
||||
|
||||
- Enable.images.repo:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
"Leap.Staging.F":
|
||||
environment_variables:
|
||||
STAGING_PROJECT: openSUSE:Leap:15.2:Staging:F
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
stagings:
|
||||
git: git://botmaster.suse.de/opensuse-repos.git
|
||||
auto_update: true
|
||||
destination: repos
|
||||
whitelist:
|
||||
- openSUSE:Leap:15.2:Staging:F_-_standard.yaml
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
auto_update: true
|
||||
destination: scripts
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=scripts
|
||||
./scripts/gocd/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.2 -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force
|
||||
|
||||
- Enable.images.repo:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
|
||||
|
@ -81,83 +81,3 @@ pipelines:
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
<% end %>
|
||||
|
||||
Leap.Stagings.RelPkgs:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
timer:
|
||||
spec: 0 */10 * ? * *
|
||||
only_on_changes: false
|
||||
materials:
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
stages:
|
||||
- Generate.Release.Package:
|
||||
approval: manual
|
||||
jobs:
|
||||
<% leap_stagings = %w(A B C D E F) -%>
|
||||
<% leap_stagings.each do |letter| -%>
|
||||
"Staging.<%= letter %>":
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
|
||||
--staging openSUSE:Leap:15.2:Staging:<%= letter %>
|
||||
--only-release-packages --force
|
||||
<% end %>
|
||||
<% leap_stagings.each do |letter| -%>
|
||||
"Leap.Staging.<%= letter %>":
|
||||
environment_variables:
|
||||
STAGING_PROJECT: openSUSE:Leap:15.2:Staging:<%= letter %>
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: Leap.15.2.pkglistgen
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
stagings:
|
||||
git: git://botmaster.suse.de/opensuse-repos.git
|
||||
auto_update: true
|
||||
destination: repos
|
||||
whitelist:
|
||||
- openSUSE:Leap:15.2:Staging:<%= letter %>_-_standard.yaml
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
auto_update: true
|
||||
destination: scripts
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=scripts
|
||||
./scripts/gocd/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.2 -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force
|
||||
|
||||
- Enable.images.repo:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||
<% end %>
|
||||
|
@ -100,46 +100,6 @@ pipelines:
|
||||
- script: |-
|
||||
echo "openSUSE:Factory:RISCV"
|
||||
./project-installcheck.py --debug check --store home:repo-checker/rebuilds openSUSE:Factory:RISCV
|
||||
Trigger.Rebuild.Leap.152:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-factory-maintainer
|
||||
materials:
|
||||
script:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
timer:
|
||||
spec: 0 0 * ? * *
|
||||
only_on_changes: false
|
||||
stages:
|
||||
- Run:
|
||||
approval: manual
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
echo "openSUSE Leap 15.2"
|
||||
./project-installcheck.py --debug check --store openSUSE:Leap:15.2:Staging/dashboard openSUSE:Leap:15.2
|
||||
Trigger.Rebuild.Leap.152.ARM:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-factory-maintainer
|
||||
materials:
|
||||
script:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
timer:
|
||||
spec: 0 0 * ? * *
|
||||
only_on_changes: false
|
||||
stages:
|
||||
- Run:
|
||||
approval: manual
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
echo "openSUSE Leap 15.2 ARM"
|
||||
./project-installcheck.py --debug check --store openSUSE:Leap:15.2:ARM:Staging/dashboard openSUSE:Leap:15.2:ARM
|
||||
Trigger.Rebuild.GNOME:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
|
@ -17,20 +17,3 @@ pipelines:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: ./suppkg_rebuild.py -p openSUSE:Factory
|
||||
Leap.Rebuild.Support:
|
||||
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: ./suppkg_rebuild.py -p openSUSE:Leap:15.2
|
||||
|
@ -60,63 +60,3 @@ pipelines:
|
||||
osc -A https://api.opensuse.org staging -p openSUSE:Factory repair --cleanup
|
||||
rm -rf $tempdir
|
||||
|
||||
AdiChecker.Leap.15.2:
|
||||
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.2: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.2
|
||||
SBot.Regular.Leap.15.2:
|
||||
group: Leap.15.2.pkglistgen
|
||||
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.opensuse.org staging -p openSUSE:Leap:15.2 rebuild
|
||||
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.2 list --supersede
|
||||
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.2 adi --by-develproject
|
||||
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.2 select --non-interactive --merge --try-strategies
|
||||
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.2 unselect --cleanup
|
||||
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.2 repair --cleanup
|
||||
rm -rf $tempdir
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
format_version: 3
|
||||
pipelines:
|
||||
<% %w(Factory Leap:15.2).each do |project| -%>
|
||||
<% %w(Factory).each do |project| -%>
|
||||
<% nickname = project.gsub(':', '.') -%>
|
||||
AdiChecker.<%= nickname %>:
|
||||
group: openSUSE.Checkers
|
||||
|
@ -147,48 +147,6 @@ pipelines:
|
||||
- script: |-
|
||||
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:15.1:Images
|
||||
TTM.Leap_15.2:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
||||
materials:
|
||||
script:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
destination: scripts
|
||||
timer:
|
||||
spec: 0 */15 * ? * *
|
||||
only_on_changes: false
|
||||
stages:
|
||||
- Run:
|
||||
approval: manual
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:15.2
|
||||
TTM.Leap_15.2_ARM:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
||||
materials:
|
||||
script:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
destination: scripts
|
||||
timer:
|
||||
spec: 0 */15 * ? * *
|
||||
only_on_changes: false
|
||||
stages:
|
||||
- Run:
|
||||
approval: manual
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:15.2:ARM
|
||||
TTM.Leap_15.2_ARM_Images:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
@ -252,27 +210,6 @@ pipelines:
|
||||
- script: |-
|
||||
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:15.2:MicroOS
|
||||
TTM.Leap_15.2_PowerPC:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
||||
materials:
|
||||
script:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
destination: scripts
|
||||
timer:
|
||||
spec: 0 */15 * ? * *
|
||||
only_on_changes: false
|
||||
stages:
|
||||
- Run:
|
||||
approval: manual
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:15.2:PowerPC
|
||||
TTM.Leap_15.2_WSL:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
@ -294,3 +231,24 @@ pipelines:
|
||||
- script: |-
|
||||
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:15.2:WSL
|
||||
TTM.Jump_15.2:
|
||||
group: openSUSE.Checkers
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
||||
materials:
|
||||
script:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
destination: scripts
|
||||
timer:
|
||||
spec: 0 */15 * ? * *
|
||||
only_on_changes: false
|
||||
stages:
|
||||
- Run:
|
||||
approval: manual
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Jump:15.2
|
||||
|
@ -8,13 +8,11 @@ pipelines:
|
||||
openSUSE:Factory:zSystems
|
||||
openSUSE:Leap:15.1:ARM:Images
|
||||
openSUSE:Leap:15.1:Images
|
||||
openSUSE:Leap:15.2
|
||||
openSUSE:Leap:15.2:ARM
|
||||
openSUSE:Leap:15.2:ARM:Images
|
||||
openSUSE:Leap:15.2:Images
|
||||
openSUSE:Leap:15.2:MicroOS
|
||||
openSUSE:Leap:15.2:PowerPC
|
||||
openSUSE:Leap:15.2:WSL
|
||||
openSUSE:Jump:15.2
|
||||
) -%>
|
||||
TTM.<%= project.gsub('openSUSE:', '').gsub(':', '_') %>:
|
||||
group: openSUSE.Checkers
|
||||
|
@ -147,6 +147,18 @@ DEFAULT = {
|
||||
'repo_checker-project-skip': 'True',
|
||||
'_priority': '101',
|
||||
},
|
||||
r'openSUSE:(?P<project>Jump:(?P<version>[\d.]+))$': {
|
||||
'product': 'openSUSE.product',
|
||||
'openqa': 'https://openqa.opensuse.org',
|
||||
'lock-ns': 'openSUSE',
|
||||
'main-repo': 'standard',
|
||||
'pseudometa_package': 'openSUSE:%(project)s:Staging/dashboard',
|
||||
'download-baseurl': 'http://download.opensuse.org/distribution/leap/%(version)s/',
|
||||
'download-baseurl-update': 'http://download.opensuse.org/update/leap/%(version)s/',
|
||||
'pkglistgen-archs': 'x86_64 aarch64 ppc64le s390x',
|
||||
'pkglistgen-scopes': 'target',
|
||||
'pkglistgen-locales-from': 'openSUSE.product',
|
||||
},
|
||||
# Allows devel projects to utilize tools that require config, but not
|
||||
# complete StagingAPI support.
|
||||
r'(?P<project>.*$)': {
|
||||
|
@ -45,6 +45,7 @@ class TestConfig(unittest.TestCase):
|
||||
projects = (
|
||||
'openSUSE:Factory',
|
||||
'openSUSE:Factory:ARM',
|
||||
'openSUSE:Jump:15.2',
|
||||
'openSUSE:Leap:15.2',
|
||||
'openSUSE:Leap:15.2:ARM',
|
||||
'openSUSE:Leap:15.2:NonFree',
|
||||
|
Loading…
x
Reference in New Issue
Block a user