Skip to content

Commit

Permalink
Merge pull request #3097 from gleidi-suse/forked_slfo_pipelines
Browse files Browse the repository at this point in the history
gocd: Allow SLFO to have pkglists generated.
  • Loading branch information
gleidi-suse committed May 30, 2024
2 parents 787cdb9 + 966c189 commit 408936d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 24 deletions.
55 changes: 33 additions & 22 deletions gocd/slfo-stagings.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:A_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -51,7 +52,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -86,7 +87,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:B_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -119,7 +121,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -154,7 +156,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:C_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -187,7 +190,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -222,7 +225,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:D_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -255,7 +259,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -290,7 +294,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:E_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -323,7 +328,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -358,7 +363,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:F_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -391,7 +397,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -426,7 +432,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:G_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -459,7 +466,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -494,7 +501,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:H_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -527,7 +535,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -562,7 +570,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:S_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -595,7 +604,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -630,7 +639,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:V_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -663,7 +673,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down Expand Up @@ -698,7 +708,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:Y_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -731,7 +742,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down
5 changes: 3 additions & 2 deletions gocd/slfo-stagings.gocd.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ pipelines:
- SUSE:SLFO:Main:Staging:<%= letter %>_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
git: https://github.com/gleidi-suse/openSUSE-release-tools.git
branch: explicit_product_composer
whitelist:
- DO_NOT_TRIGGER
destination: scripts
Expand Down Expand Up @@ -52,7 +53,7 @@ pipelines:
export PYTHONPATH=$PWD/scripts
cd scripts/gocd

if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --engine product_composer --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
Expand Down

0 comments on commit 408936d

Please sign in to comment.