Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gocd: checkers.suse: Drop Marble pipelines and add SLFO checkers. #3203

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions gocd/checkers.suse.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ 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:
Expand All @@ -72,17 +72,19 @@ pipelines:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
environment_variables:
SLFO_PROJECT: SUSE:SLFO:Main
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-repo-checker
stages:
- Run:
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 +137,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 +167,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 +194,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 +216,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
28 changes: 17 additions & 11 deletions gocd/checkers.suse.gocd.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ 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:
Expand All @@ -72,17 +72,19 @@ pipelines:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
environment_variables:
SLFO_PROJECT: SUSE:SLFO:Main
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-repo-checker
stages:
- Run:
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 +137,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 +167,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 +194,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 +216,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
Loading