gocd: remove old LEO group
Signed-off-by: Eugenio Paolantonio <eugenio.paolantonio@suse.com>
This commit is contained in:
parent
337d2ce486
commit
57b0b16256
@ -1,142 +0,0 @@
|
||||
---
|
||||
format_version: 3
|
||||
pipelines:
|
||||
ALP.Stagings.RelPkgs:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: LEO
|
||||
lock_behavior: unlockWhenFinished
|
||||
timer:
|
||||
spec: 0 0 * ? * *
|
||||
only_on_changes: false
|
||||
materials:
|
||||
scripts:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
stages:
|
||||
- Generate.Release.Package:
|
||||
approval: manual
|
||||
jobs:
|
||||
ALP.Staging.A:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve --staging SUSE:ALP:Staging:A --only-release-packages --force
|
||||
ALP.Staging.B:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve --staging SUSE:ALP:Staging:B --only-release-packages --force
|
||||
|
||||
ALP.Staging.A:
|
||||
environment_variables:
|
||||
STAGING_PROJECT: SUSE:ALP:Staging:A
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: LEO
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
scripts:
|
||||
auto_update: true
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
destination: scripts
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=$PWD/scripts
|
||||
cd scripts/gocd
|
||||
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:ALP -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=$PWD/scripts
|
||||
cd scripts/gocd
|
||||
|
||||
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||
else
|
||||
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- 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"
|
||||
|
||||
ALP.Staging.B:
|
||||
environment_variables:
|
||||
STAGING_PROJECT: SUSE:ALP:Staging:B
|
||||
STAGING_API: https://api.opensuse.org
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
group: LEO
|
||||
lock_behavior: unlockWhenFinished
|
||||
materials:
|
||||
scripts:
|
||||
auto_update: true
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
whitelist:
|
||||
- DO_NOT_TRIGGER
|
||||
destination: scripts
|
||||
stages:
|
||||
- Checks:
|
||||
jobs:
|
||||
Check.Build.Succeeds:
|
||||
resources:
|
||||
- staging-bot
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=$PWD/scripts
|
||||
cd scripts/gocd
|
||||
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||
Repo.Checker:
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:ALP -s $STAGING_PROJECT
|
||||
|
||||
- Update.000product:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: |-
|
||||
export PYTHONPATH=$PWD/scripts
|
||||
cd scripts/gocd
|
||||
|
||||
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||
else
|
||||
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- 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"
|
@ -1,60 +0,0 @@
|
||||
format_version: 3
|
||||
pipelines:
|
||||
Pkglistgen.ALP:
|
||||
group: LEO
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
timer:
|
||||
spec: 0 10 * ? * *
|
||||
only_on_changes: false
|
||||
materials:
|
||||
git:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
stages:
|
||||
- pkglistgen:
|
||||
approval:
|
||||
type: manual
|
||||
jobs:
|
||||
SUSE_ALP_target:
|
||||
timeout: 60
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP -s target
|
||||
SUSE_ALP_PowerPC:
|
||||
timeout: 60
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:PowerPC -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:PowerPC -s target
|
||||
SUSE_ALP_zSystems:
|
||||
timeout: 60
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:zSystems -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:zSystems -s target
|
||||
SUSE_ALP_RISCV:
|
||||
timeout: 60
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:RISCV -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:RISCV -s target
|
||||
SUSE_ALP_Products_Micro_0.1:
|
||||
timeout: 60
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:Products:Micro:0.1 -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:Products:Micro:0.1 -s target
|
||||
SUSE_ALP_Products_Bedrock_0.1:
|
||||
timeout: 60
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:Products:Bedrock:0.1 -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:Products:Bedrock:0.1 -s target
|
@ -1,36 +0,0 @@
|
||||
format_version: 3
|
||||
pipelines:
|
||||
Pkglistgen.ALP:
|
||||
group: LEO
|
||||
lock_behavior: unlockWhenFinished
|
||||
environment_variables:
|
||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||
timer:
|
||||
spec: 0 10 * ? * *
|
||||
only_on_changes: false
|
||||
materials:
|
||||
git:
|
||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||
stages:
|
||||
- pkglistgen:
|
||||
approval:
|
||||
type: manual
|
||||
jobs:
|
||||
<% ['SUSE:ALP/target', 'SUSE:ALP:PowerPC', 'SUSE:ALP:zSystems', 'SUSE:ALP:RISCV', 'SUSE:ALP:Products:Micro:0.1', 'SUSE:ALP:Products:Bedrock:0.1'].each do |project|
|
||||
project=project.split('/')
|
||||
name=project[0].gsub(':', '_')
|
||||
if project.size > 1
|
||||
options=" -s #{project[1]}"
|
||||
name = name + "_#{project[1]}"
|
||||
else
|
||||
options=" -s target"
|
||||
end
|
||||
-%>
|
||||
<%= name %>:
|
||||
timeout: 60
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %> --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %>
|
||||
<% end -%>
|
@ -14,7 +14,7 @@ done
|
||||
|
||||
grep group: *.yaml | cut -d: -f3 | sort -u | while read group; do
|
||||
case $group in
|
||||
BCI|Factory|Leap|Admin|LEO|MicroOS|Monitors|openSUSE.Checkers|SLE15.Stagings|SLE15.Target|SLE.Checkers|ALP.Target)
|
||||
BCI|Factory|Leap|Admin|MicroOS|Monitors|openSUSE.Checkers|SLE15.Stagings|SLE15.Target|SLE.Checkers|ALP.Target)
|
||||
;;
|
||||
*)
|
||||
echo "Do not create new groups without being admin and knowing the consequences - found $group"
|
||||
|
Loading…
x
Reference in New Issue
Block a user