Skip to content

Commit

Permalink
gocd: checkers.suse: Drop Marble pipelines and add SLFO checkers.
Browse files Browse the repository at this point in the history
Since the switch to Git backed sources for SL-Micro 6.0, staging
workflow does not work anymore for SUSE:ALP:Products:Marble:6.0. This
patch drops all related pipelines. Additional it adds the same checkers
for the SUSE:SLFO:Main project.
  • Loading branch information
gleidi-suse committed Jan 13, 2025
1 parent 0f73b87 commit 5d8756e
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions gocd/checkers.suse.gocd.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,15 @@ pipelines:
- repo-checker
tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP7:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP7:GA
SL-Micro.Project:
SUSE.SLFO.Main.Staging.Project:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 * ? * *
only_on_changes: false
environment_variables:
SLFO_PROJECT: SUSE:SLFO:Main
STAGING_API: https://api.suse.de
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
Expand All @@ -78,11 +81,11 @@ pipelines:
timeout: 30
approval: manual
jobs:
SL-Micro:
SLFO.Main:
resources:
- repo-checker
tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:ALP:Products:Marble:6.0:Staging/dashboard --no-rebuild SUSE:ALP:Products:Marble:6.0
- script: ./project-installcheck.py -A $STAGING_API --debug check --store $SLFO_PROJECT:Staging/dashboard --no-rebuild $SLFO_PROJECT:Build
SLE.Origin.Manager:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
Expand Down Expand Up @@ -135,12 +138,14 @@ pipelines:
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA repair --cleanup
rm -rf $tempdir
SL-Micro.Staging.Bot.Regular:
SUSE.SLFO.Main.Staging.Bot.Regular:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 * ? * *
environment_variables:
SLFO_PROJECT: SUSE:SLFO:Main
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials:
git:
Expand All @@ -163,11 +168,11 @@ pipelines:
ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir

osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 rebuild
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 list --supersede
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 select --non-interactive --merge --try-strategies
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 repair --cleanup
osc -A $STAGING_API staging -p $SLFO_PROJECT rebuild
osc -A $STAGING_API staging -p $SLFO_PROJECT list --supersede
osc -A $STAGING_API staging -p $SLFO_PROJECT select --non-interactive --merge --try-strategies
osc -A $STAGING_API staging -p $SLFO_PROJECT unselect --cleanup
osc -A $STAGING_API staging -p $SLFO_PROJECT repair --cleanup
rm -rf $tempdir
S15.SP7.Staging.Bot.Report:
group: SLE.Checkers
Expand All @@ -190,12 +195,14 @@ pipelines:
- staging-bot
tasks:
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP7:GA
SL-Micro.Staging.Bot.Report:
SUSE.SLFO.Main.Staging.Bot.Report:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 */3 * ? * *
environment_variables:
SLFO_PROJECT: SUSE:SLFO:Main
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials:
git:
Expand All @@ -210,7 +217,7 @@ pipelines:
resources:
- staging-bot
tasks:
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:ALP:Products:Marble:6.0
- script: ./staging-report.py --debug -A $STAGING_API -p $SLFO_PROJECT
SLE.Source.Check:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
Expand Down

0 comments on commit 5d8756e

Please sign in to comment.