gocd: Apply editorconfig standards

This commit is contained in:
Stephan Kulow 2023-01-02 15:34:10 +01:00
parent f689243e27
commit 32eac54470
21 changed files with 608 additions and 614 deletions

View File

@ -61,7 +61,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:ALP -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:ALP -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -78,11 +78,11 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
ALP.Staging.B: ALP.Staging.B:
environment_variables: environment_variables:
@ -118,7 +118,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:ALP -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:ALP -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -135,8 +135,8 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"

View File

@ -114,9 +114,9 @@ pipelines:
- script: |- - script: |-
SPRJ=SUSE:SLE-15-SP3:Update:BCI SPRJ=SUSE:SLE-15-SP3:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do for arch in aarch64 ppc64le s390x x86_64 ; do
PKG="000product:SLE_BCI-ftp-POOL-$arch" PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-SP3:$arch" PRJ="SUSE:Products:SLE-BCI:15-SP3:$arch"
curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images" curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images"
done done
for arch in aarch64 ppc64le s390x x86_64 ; do for arch in aarch64 ppc64le s390x x86_64 ; do
sleep 600 sleep 600
@ -199,9 +199,9 @@ pipelines:
- script: |- - script: |-
SPRJ=SUSE:SLE-15-SP4:Update:BCI SPRJ=SUSE:SLE-15-SP4:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do for arch in aarch64 ppc64le s390x x86_64 ; do
PKG="000product:SLE_BCI-ftp-POOL-$arch" PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-SP4:$arch" PRJ="SUSE:Products:SLE-BCI:15-SP4:$arch"
curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images" curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images"
done done
for arch in aarch64 ppc64le s390x x86_64 ; do for arch in aarch64 ppc64le s390x x86_64 ; do
sleep 600 sleep 600
@ -284,9 +284,9 @@ pipelines:
- script: |- - script: |-
SPRJ=SUSE:SLE-15-SP5:Update:BCI SPRJ=SUSE:SLE-15-SP5:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do for arch in aarch64 ppc64le s390x x86_64 ; do
PKG="000product:SLE_BCI-ftp-POOL-$arch" PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-SP5:$arch" PRJ="SUSE:Products:SLE-BCI:15-SP5:$arch"
curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images" curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images"
done done
for arch in aarch64 ppc64le s390x x86_64 ; do for arch in aarch64 ppc64le s390x x86_64 ; do
sleep 600 sleep 600

View File

@ -114,9 +114,9 @@ pipelines:
- script: |- - script: |-
SPRJ=SUSE:SLE-15-<%= sp %>:Update:BCI SPRJ=SUSE:SLE-15-<%= sp %>:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do for arch in aarch64 ppc64le s390x x86_64 ; do
PKG="000product:SLE_BCI-ftp-POOL-$arch" PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-<%= sp %>:$arch" PRJ="SUSE:Products:SLE-BCI:15-<%= sp %>:$arch"
curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images" curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images"
done done
for arch in aarch64 ppc64le s390x x86_64 ; do for arch in aarch64 ppc64le s390x x86_64 ; do
sleep 600 sleep 600

View File

@ -105,22 +105,22 @@ pipelines:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer: timer:
spec: 0 */3 * ? * * spec: 0 */3 * ? * *
environment_variables: environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials: materials:
git: git:
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
stages: stages:
- Run: - Run:
approval: approval:
type: manual type: manual
jobs: jobs:
Run: Run:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: ./staging-report.py --debug -A https://api.opensuse.org -p openSUSE:Factory - script: ./staging-report.py --debug -A https://api.opensuse.org -p openSUSE:Factory
OS.Origin.Manager: OS.Origin.Manager:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -157,7 +157,7 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
./openqa-maintenance.py --group qam-openqa --review-mode=accept-onpass --debug --openqa https://openqa.opensuse.org --apiurl https://api.opensuse.org review ./openqa-maintenance.py --group qam-openqa --review-mode=accept-onpass --debug --openqa https://openqa.opensuse.org --apiurl https://api.opensuse.org review
openSUSE.Devel.Reminder: openSUSE.Devel.Reminder:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished

View File

@ -123,18 +123,18 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA rebuild osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA rebuild
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA list --supersede osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA list --supersede
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA unselect --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA repair --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA repair --cleanup
rm -rf $tempdir rm -rf $tempdir
SLE-Micro.Staging.Bot.Regular: SLE-Micro.Staging.Bot.Regular:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -156,19 +156,19 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 rebuild osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 rebuild
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 list --supersede osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 list --supersede
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 select --non-interactive --merge --try-strategies osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 select --non-interactive --merge --try-strategies
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 unselect --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 repair --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 repair --cleanup
rm -rf $tempdir rm -rf $tempdir
S15.SP5.Staging.Bot.Report: S15.SP5.Staging.Bot.Report:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished

View File

@ -123,18 +123,18 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA rebuild osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA rebuild
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA list --supersede osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA list --supersede
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA unselect --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA repair --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP5:GA repair --cleanup
rm -rf $tempdir rm -rf $tempdir
SLE-Micro.Staging.Bot.Regular: SLE-Micro.Staging.Bot.Regular:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -156,19 +156,19 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 rebuild osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 rebuild
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 list --supersede osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 list --supersede
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 select --non-interactive --merge --try-strategies osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 select --non-interactive --merge --try-strategies
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 unselect --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 repair --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP4:Update:Products:Micro54 repair --cleanup
rm -rf $tempdir rm -rf $tempdir
S15.SP5.Staging.Bot.Report: S15.SP5.Staging.Bot.Report:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished

View File

@ -18,12 +18,12 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.opensuse.org staging -p openSUSE:Factory unignore --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Factory unignore --cleanup
rm -r $tempdir rm -r $tempdir

View File

@ -19,7 +19,7 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
PYTHONPATH=$PWD python3 ./dashboard/generate.py -p openSUSE:Factory > dashboard/output/index.html PYTHONPATH=$PWD python3 ./dashboard/generate.py -p openSUSE:Factory > dashboard/output/index.html
PYTHONPATH=$PWD python3 ./dashboard/generate.py -p openSUSE:Leap > dashboard/output/leap.html PYTHONPATH=$PWD python3 ./dashboard/generate.py -p openSUSE:Leap > dashboard/output/leap.html
rsync -av dashboard/output/ rsync://coolo@195.135.221.140:11873/factory-dashboard.opensuse.org/ rsync -av dashboard/output/ rsync://coolo@195.135.221.140:11873/factory-dashboard.opensuse.org/

View File

@ -13,13 +13,13 @@ for file in *.erb; do
done done
grep group: *.yaml | cut -d: -f3 | sort -u | while read group; do grep group: *.yaml | cut -d: -f3 | sort -u | while read group; do
case $group in case $group in
BCI|Factory|Leap|Admin|LEO|MicroOS|Monitors|openSUSE.Checkers|SLE15.Stagings|SLE15.Target|SLE.Checkers) BCI|Factory|Leap|Admin|LEO|MicroOS|Monitors|openSUSE.Checkers|SLE15.Stagings|SLE15.Target|SLE.Checkers)
;; ;;
*) *)
echo "Do not create new groups without being admin and knowing the consequences - found $group" echo "Do not create new groups without being admin and knowing the consequences - found $group"
exit 1 exit 1
esac esac
done done
for file in *.gocd.yaml; do for file in *.gocd.yaml; do

View File

@ -21,15 +21,15 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:A --staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:A
--only-release-packages --force --only-release-packages --force
SLE-Micro.Staging.B: SLE-Micro.Staging.B:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:B --staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:B
--only-release-packages --force --only-release-packages --force
SLE-Micro.Staging.A: SLE-Micro.Staging.A:
environment_variables: environment_variables:
@ -69,9 +69,7 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -88,11 +86,11 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
SLE-Micro.Staging.B: SLE-Micro.Staging.B:
environment_variables: environment_variables:
@ -132,9 +130,7 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -151,8 +147,8 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"

View File

@ -23,8 +23,8 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:<%= letter %> --staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:<%= letter %>
--only-release-packages --force --only-release-packages --force
<% end -%> <% end -%>
<% stagings.each do |letter| %> <% stagings.each do |letter| %>
SLE-Micro.Staging.<%= letter %>: SLE-Micro.Staging.<%= letter %>:
@ -65,9 +65,7 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -84,9 +82,9 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
<% end -%> <% end -%>

View File

@ -92,22 +92,22 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory - script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory
openSUSE_Factory_ARM: openSUSE_Factory_ARM:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:ARM - script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:ARM
openSUSE_Factory_PowerPC: openSUSE_Factory_PowerPC:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:PowerPC - script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:PowerPC
openSUSE_Factory_RISCV: openSUSE_Factory_RISCV:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:RISCV - script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:RISCV
Pkglistgen.openSUSE_Leap_15.5: Pkglistgen.openSUSE_Leap_15.5:
group: Leap group: Leap
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -194,7 +194,7 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.5 - script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.5
Update.Repos.Leap.openSUSE_Leap_15.4_Images: Update.Repos.Leap.openSUSE_Leap_15.4_Images:
group: Leap group: Leap
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -215,7 +215,7 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.4:Images - script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.4:Images
Update.Repos.Leap.openSUSE_Leap_15.3_Update_Respin: Update.Repos.Leap.openSUSE_Leap_15.3_Update_Respin:
group: Leap group: Leap
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -236,4 +236,4 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.3:Update:Respin - script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.3:Update:Respin

View File

@ -55,7 +55,7 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %> - script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
<% end -%> <% end -%>
Pkglistgen.openSUSE_Leap_15.5: Pkglistgen.openSUSE_Leap_15.5:
group: Leap group: Leap
@ -171,5 +171,5 @@ pipelines:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %> - script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
<% end -%> <% end -%>

View File

@ -20,113 +20,113 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:A --staging openSUSE:Factory:Staging:A
--only-release-packages --force --only-release-packages --force
"Staging.B": "Staging.B":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:B --staging openSUSE:Factory:Staging:B
--only-release-packages --force --only-release-packages --force
"Staging.C": "Staging.C":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:C --staging openSUSE:Factory:Staging:C
--only-release-packages --force --only-release-packages --force
"Staging.D": "Staging.D":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:D --staging openSUSE:Factory:Staging:D
--only-release-packages --force --only-release-packages --force
"Staging.E": "Staging.E":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:E --staging openSUSE:Factory:Staging:E
--only-release-packages --force --only-release-packages --force
"Staging.F": "Staging.F":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:F --staging openSUSE:Factory:Staging:F
--only-release-packages --force --only-release-packages --force
"Staging.G": "Staging.G":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:G --staging openSUSE:Factory:Staging:G
--only-release-packages --force --only-release-packages --force
"Staging.H": "Staging.H":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:H --staging openSUSE:Factory:Staging:H
--only-release-packages --force --only-release-packages --force
"Staging.I": "Staging.I":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:I --staging openSUSE:Factory:Staging:I
--only-release-packages --force --only-release-packages --force
"Staging.J": "Staging.J":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:J --staging openSUSE:Factory:Staging:J
--only-release-packages --force --only-release-packages --force
"Staging.K": "Staging.K":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:K --staging openSUSE:Factory:Staging:K
--only-release-packages --force --only-release-packages --force
"Staging.L": "Staging.L":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:L --staging openSUSE:Factory:Staging:L
--only-release-packages --force --only-release-packages --force
"Staging.M": "Staging.M":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:M --staging openSUSE:Factory:Staging:M
--only-release-packages --force --only-release-packages --force
"Staging.N": "Staging.N":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:N --staging openSUSE:Factory:Staging:N
--only-release-packages --force --only-release-packages --force
"Staging.O": "Staging.O":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:O --staging openSUSE:Factory:Staging:O
--only-release-packages --force --only-release-packages --force
"Staging.Gcc7": "Staging.Gcc7":
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:Gcc7 --staging openSUSE:Factory:Staging:Gcc7
--only-release-packages --force --only-release-packages --force
"Factory.Staging.A": "Factory.Staging.A":
environment_variables: environment_variables:
@ -175,23 +175,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.B": "Factory.Staging.B":
environment_variables: environment_variables:
@ -240,23 +240,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.C": "Factory.Staging.C":
environment_variables: environment_variables:
@ -305,23 +305,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.D": "Factory.Staging.D":
environment_variables: environment_variables:
@ -370,23 +370,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.E": "Factory.Staging.E":
environment_variables: environment_variables:
@ -435,23 +435,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.F": "Factory.Staging.F":
environment_variables: environment_variables:
@ -500,23 +500,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.G": "Factory.Staging.G":
environment_variables: environment_variables:
@ -565,23 +565,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.H": "Factory.Staging.H":
environment_variables: environment_variables:
@ -630,23 +630,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.I": "Factory.Staging.I":
environment_variables: environment_variables:
@ -695,23 +695,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.J": "Factory.Staging.J":
environment_variables: environment_variables:
@ -760,23 +760,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.K": "Factory.Staging.K":
environment_variables: environment_variables:
@ -825,23 +825,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.L": "Factory.Staging.L":
environment_variables: environment_variables:
@ -890,23 +890,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.M": "Factory.Staging.M":
environment_variables: environment_variables:
@ -955,23 +955,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.N": "Factory.Staging.N":
environment_variables: environment_variables:
@ -1020,23 +1020,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.O": "Factory.Staging.O":
environment_variables: environment_variables:
@ -1085,23 +1085,23 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
"Factory.Staging.Gcc7": "Factory.Staging.Gcc7":
environment_variables: environment_variables:
@ -1150,21 +1150,21 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success

View File

@ -22,8 +22,8 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
--staging openSUSE:Factory:Staging:<%= letter %> --staging openSUSE:Factory:Staging:<%= letter %>
--only-release-packages --force --only-release-packages --force
<% end -%> <% end -%>
<% factory_stagings.each do |letter| %> <% factory_stagings.each do |letter| %>
"Factory.Staging.<%= letter %>": "Factory.Staging.<%= letter %>":
@ -73,21 +73,21 @@ pipelines:
- script: |- - script: |-
export PYTHONPATH=scripts export PYTHONPATH=scripts
if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then if ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
else else
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
exit 1 exit 1
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
<% end %> <% end %>

View File

@ -21,78 +21,78 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:A --staging SUSE:SLE-15-SP5:GA:Staging:A
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.B: SLE.15.SP5.Staging.B:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:B --staging SUSE:SLE-15-SP5:GA:Staging:B
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.C: SLE.15.SP5.Staging.C:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:C --staging SUSE:SLE-15-SP5:GA:Staging:C
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.D: SLE.15.SP5.Staging.D:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:D --staging SUSE:SLE-15-SP5:GA:Staging:D
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.E: SLE.15.SP5.Staging.E:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:E --staging SUSE:SLE-15-SP5:GA:Staging:E
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.F: SLE.15.SP5.Staging.F:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:F --staging SUSE:SLE-15-SP5:GA:Staging:F
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.G: SLE.15.SP5.Staging.G:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:G --staging SUSE:SLE-15-SP5:GA:Staging:G
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.H: SLE.15.SP5.Staging.H:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:H --staging SUSE:SLE-15-SP5:GA:Staging:H
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.S: SLE.15.SP5.Staging.S:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:S --staging SUSE:SLE-15-SP5:GA:Staging:S
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.V: SLE.15.SP5.Staging.V:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:V --staging SUSE:SLE-15-SP5:GA:Staging:V
--only-release-packages --force --only-release-packages --force
SLE.15.SP5.Staging.Y: SLE.15.SP5.Staging.Y:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:Y --staging SUSE:SLE-15-SP5:GA:Staging:Y
--only-release-packages --force --only-release-packages --force
SLE15.SP5.Staging.A: SLE15.SP5.Staging.A:
environment_variables: environment_variables:
@ -134,7 +134,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -151,16 +151,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.B: SLE15.SP5.Staging.B:
environment_variables: environment_variables:
@ -202,7 +202,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -219,16 +219,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.C: SLE15.SP5.Staging.C:
environment_variables: environment_variables:
@ -270,7 +270,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -287,16 +287,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.D: SLE15.SP5.Staging.D:
environment_variables: environment_variables:
@ -338,7 +338,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -355,16 +355,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.E: SLE15.SP5.Staging.E:
environment_variables: environment_variables:
@ -406,7 +406,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -423,16 +423,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.F: SLE15.SP5.Staging.F:
environment_variables: environment_variables:
@ -474,7 +474,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -491,16 +491,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.G: SLE15.SP5.Staging.G:
environment_variables: environment_variables:
@ -542,7 +542,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -559,16 +559,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.H: SLE15.SP5.Staging.H:
environment_variables: environment_variables:
@ -610,7 +610,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -627,16 +627,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.S: SLE15.SP5.Staging.S:
environment_variables: environment_variables:
@ -678,7 +678,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -695,16 +695,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.V: SLE15.SP5.Staging.V:
environment_variables: environment_variables:
@ -746,7 +746,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -763,16 +763,16 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP5.Staging.Y: SLE15.SP5.Staging.Y:
environment_variables: environment_variables:
@ -814,7 +814,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -831,13 +831,13 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success

View File

@ -23,8 +23,8 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP5:GA:Staging:<%= letter %> --staging SUSE:SLE-15-SP5:GA:Staging:<%= letter %>
--only-release-packages --force --only-release-packages --force
<% end -%> <% end -%>
<% stagings.each do |letter| %> <% stagings.each do |letter| %>
SLE15.SP5.Staging.<%= letter %>: SLE15.SP5.Staging.<%= letter %>:
@ -67,7 +67,7 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP5:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
- repo-checker - repo-checker
@ -84,14 +84,14 @@ pipelines:
fi fi
- Enable.images.repo: - Enable.images.repo:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
export PYTHONPATH=$PWD/scripts export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60 sleep 60
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
<% end -%> <% end -%>

View File

@ -44,19 +44,19 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.opensuse.org staging -p openSUSE:Factory rebuild osc -A https://api.opensuse.org staging -p openSUSE:Factory rebuild
osc -A https://api.opensuse.org staging -p openSUSE:Factory list --supersede osc -A https://api.opensuse.org staging -p openSUSE:Factory list --supersede
osc -A https://api.opensuse.org staging -p openSUSE:Factory adi osc -A https://api.opensuse.org staging -p openSUSE:Factory adi
osc -A https://api.opensuse.org staging -p openSUSE:Factory unselect --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Factory unselect --cleanup
osc -A https://api.opensuse.org staging -p openSUSE:Factory repair --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Factory repair --cleanup
rm -rf $tempdir rm -rf $tempdir
AdiChecker.Factory.NonFree: AdiChecker.Factory.NonFree:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -101,19 +101,19 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree rebuild osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree rebuild
osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree list --supersede osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree list --supersede
osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree adi osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree adi
osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree unselect --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree unselect --cleanup
osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree repair --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Factory:NonFree repair --cleanup
rm -rf $tempdir rm -rf $tempdir
AdiChecker.Backports.SLE-15-SP5: AdiChecker.Backports.SLE-15-SP5:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -158,19 +158,19 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 rebuild osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 rebuild
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 list --supersede osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 list --supersede
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 adi osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 adi
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 unselect --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 unselect --cleanup
osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 repair --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Backports:SLE-15-SP5 repair --cleanup
rm -rf $tempdir rm -rf $tempdir
AdiChecker.Leap.15.5: AdiChecker.Leap.15.5:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -215,16 +215,16 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 rebuild osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 rebuild
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 list --supersede osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 list --supersede
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 adi osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 adi
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 unselect --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 unselect --cleanup
osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 repair --cleanup osc -A https://api.opensuse.org staging -p openSUSE:Leap:15.5 repair --cleanup
rm -rf $tempdir rm -rf $tempdir

View File

@ -46,17 +46,17 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: |- - script: |-
set -e set -e
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> rebuild osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> rebuild
osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> list --supersede osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> list --supersede
osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> adi osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> adi
osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> unselect --cleanup osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> unselect --cleanup
osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> repair --cleanup osc -A https://api.opensuse.org staging -p openSUSE:<%= project %> repair --cleanup
rm -rf $tempdir rm -rf $tempdir
<% end -%> <% end -%>

View File

@ -74,4 +74,4 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: | - script: |
ruby obs-to-vagrantcloud.rb --url https://download.opensuse.org/distribution/leap/15.4/appliances/boxes/Leap-15.4.aarch64-libvirt_aarch64.json --organization opensuse --new-box-name Leap-15.4.aarch64 ruby obs-to-vagrantcloud.rb --url https://download.opensuse.org/distribution/leap/15.4/appliances/boxes/Leap-15.4.aarch64-libvirt_aarch64.json --organization opensuse --new-box-name Leap-15.4.aarch64

View File

@ -31,4 +31,4 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: | - script: |
ruby obs-to-vagrantcloud.rb --url <%= url %> --organization opensuse --new-box-name <%= box_name %><% end -%> ruby obs-to-vagrantcloud.rb --url <%= url %> --organization opensuse --new-box-name <%= box_name %><% end %>