133 lines
4.4 KiB
YAML
133 lines
4.4 KiB
YAML
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
|
|
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:Source:Standard:1.0 rebuild
|
|
osc -A https://api.suse.de staging -p SUSE:ALP:Source:Standard:1.0 list --supersede
|
|
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
|
|
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:Source:Standard:1.0
|