diff --git a/gocd/pkglistgen_staging.gocd.yaml b/gocd/pkglistgen_staging.gocd.yaml index dc773bea..0ab580e9 100644 --- a/gocd/pkglistgen_staging.gocd.yaml +++ b/gocd/pkglistgen_staging.gocd.yaml @@ -1090,6 +1090,13 @@ pipelines: tasks: - script: |- ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" "Leap.Staging.B": environment_variables: STAGING_PROJECT: openSUSE:Leap:15.2:Staging:B @@ -1136,6 +1143,13 @@ pipelines: tasks: - script: |- ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" "Leap.Staging.C": environment_variables: STAGING_PROJECT: openSUSE:Leap:15.2:Staging:C @@ -1182,6 +1196,13 @@ pipelines: tasks: - script: |- ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" "Leap.Staging.D": environment_variables: STAGING_PROJECT: openSUSE:Leap:15.2:Staging:D @@ -1228,6 +1249,13 @@ pipelines: tasks: - script: |- ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" "Leap.Staging.E": environment_variables: STAGING_PROJECT: openSUSE:Leap:15.2:Staging:E @@ -1275,3 +1303,10 @@ pipelines: - script: |- ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + diff --git a/gocd/pkglistgen_staging.gocd.yaml.erb b/gocd/pkglistgen_staging.gocd.yaml.erb index 0927b1cb..696b2336 100644 --- a/gocd/pkglistgen_staging.gocd.yaml.erb +++ b/gocd/pkglistgen_staging.gocd.yaml.erb @@ -153,4 +153,11 @@ pipelines: tasks: - script: |- ./scripts/pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" <% end %> diff --git a/gocd/sle15sp2-stagings.gocd.yaml b/gocd/sle15sp2-stagings.gocd.yaml index 7f030da9..a9d85071 100644 --- a/gocd/sle15sp2-stagings.gocd.yaml +++ b/gocd/sle15sp2-stagings.gocd.yaml @@ -149,6 +149,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.B: environment_variables: @@ -205,6 +213,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.C: environment_variables: @@ -261,6 +277,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.D: environment_variables: @@ -317,6 +341,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.E: environment_variables: @@ -373,6 +405,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.F: environment_variables: @@ -429,6 +469,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.G: environment_variables: @@ -485,6 +533,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.H: environment_variables: @@ -541,6 +597,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.S: environment_variables: @@ -597,6 +661,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.V: environment_variables: @@ -653,6 +725,14 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + SLE15.SP2.Staging.Y: environment_variables: @@ -709,4 +789,12 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + \ No newline at end of file diff --git a/gocd/sle15sp2-stagings.gocd.yaml.erb b/gocd/sle15sp2-stagings.gocd.yaml.erb index 9cbb1b8e..1a8e6128 100644 --- a/gocd/sle15sp2-stagings.gocd.yaml.erb +++ b/gocd/sle15sp2-stagings.gocd.yaml.erb @@ -82,4 +82,12 @@ pipelines: ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure exit 1 fi + + - Enable.images.repo: + resources: + - staging-bot + tasks: + - script: |- + osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build" + <% end -%>