Skip to content

Commit

Permalink
Merge pull request #3141 from gyr/slfo_snapshot
Browse files Browse the repository at this point in the history
Remove Dolomite pipelines and add SLFO Snapshot pipeline
  • Loading branch information
gyr committed Aug 21, 2024
2 parents 648451d + 14420c4 commit 83ca4c0
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 541 deletions.
66 changes: 0 additions & 66 deletions gocd/alp.target.gocd.yaml

This file was deleted.

76 changes: 0 additions & 76 deletions gocd/checkers.alp.gocd.yaml
Original file line number Diff line number Diff line change
@@ -1,60 +1,5 @@
format_version: 3
pipelines:
ALP.Dolomite.Project:
group: ALP.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:
timeout: 30
approval: manual
jobs:
ALP.Dolomite:
resources:
- repo-checker
tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:ALP:Products:Dolomite:1.0:Staging/dashboard --no-rebuild SUSE:ALP:Products:Dolomite:1.0
ALP.Dolomite.Staging.Bot.Regular:
group: ALP.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:ALP:Products:Dolomite:1.0 rebuild
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Dolomite:1.0 list --supersede
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Dolomite:1.0 select --non-interactive --merge --try-strategies
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Dolomite:1.0 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Dolomite:1.0 repair --cleanup
rm -rf $tempdir
ALP.Source.Standard.1_0.Staging.Bot.Regular:
group: ALP.Checkers
lock_behavior: unlockWhenFinished
Expand Down Expand Up @@ -88,27 +33,6 @@ pipelines:
osc -A https://api.suse.de staging -p SUSE:ALP:Source:Standard:1.0 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:ALP:Source:Standard:1.0 repair --cleanup
rm -rf $tempdir
ALP.Dolomite.Staging.Bot.Report:
group: ALP.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:ALP:Products:Dolomite:1.0
ALP.Source.Standard.1_0.Staging.Bot.Report:
group: ALP.Checkers
lock_behavior: unlockWhenFinished
Expand Down
76 changes: 0 additions & 76 deletions gocd/checkers.alp.gocd.yaml.erb
Original file line number Diff line number Diff line change
@@ -1,60 +1,5 @@
format_version: 3
pipelines:
ALP.Dolomite.Project:
group: ALP.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:
timeout: 30
approval: manual
jobs:
ALP.Dolomite:
resources:
- repo-checker
tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:ALP:Products:Dolomite:1.0:Staging/dashboard --no-rebuild SUSE:ALP:Products:Dolomite:1.0
ALP.Dolomite.Staging.Bot.Regular:
group: ALP.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:ALP:Products:Dolomite:1.0 rebuild
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Dolomite:1.0 list --supersede
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Dolomite:1.0 select --non-interactive --merge --try-strategies
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Dolomite:1.0 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Dolomite:1.0 repair --cleanup
rm -rf $tempdir
ALP.Source.Standard.1_0.Staging.Bot.Regular:
group: ALP.Checkers
lock_behavior: unlockWhenFinished
Expand Down Expand Up @@ -88,27 +33,6 @@ pipelines:
osc -A https://api.suse.de staging -p SUSE:ALP:Source:Standard:1.0 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:ALP:Source:Standard:1.0 repair --cleanup
rm -rf $tempdir
ALP.Dolomite.Staging.Bot.Report:
group: ALP.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:ALP:Products:Dolomite:1.0
ALP.Source.Standard.1_0.Staging.Bot.Report:
group: ALP.Checkers
lock_behavior: unlockWhenFinished
Expand Down
154 changes: 0 additions & 154 deletions gocd/dolomite-stagings.gocd.yaml

This file was deleted.

Loading

0 comments on commit 83ca4c0

Please sign in to comment.