diff --git a/gocd/pkglistgen.factory.gocd.yaml b/gocd/pkglistgen.factory.gocd.yaml new file mode 100644 index 00000000..4734400f --- /dev/null +++ b/gocd/pkglistgen.factory.gocd.yaml @@ -0,0 +1,74 @@ +format_version: 3 +pipelines: + Pkglistgen.openSUSE_Factory: + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + timer: + spec: 0 40 * ? * * + only_on_changes: false + materials: + git: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - pkglistgen: + approval: + type: manual + jobs: + openSUSE_Factory_target: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory -s target + openSUSE_Factory_rings: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory -s rings + openSUSE_Factory_ARM: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:ARM + openSUSE_Factory_PowerPC: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:PowerPC + openSUSE_Factory_zSystems: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:zSystems + Update.Repos.Factory: + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + timer: + spec: 0 0 21 ? * * + only_on_changes: false + materials: + git: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - Update: + approval: + type: manual + jobs: + openSUSE_Factory: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory + openSUSE_Factory_ARM: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:ARM + openSUSE_Factory_PowerPC: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:PowerPC diff --git a/gocd/pkglistgen.factory.gocd.yaml.erb b/gocd/pkglistgen.factory.gocd.yaml.erb new file mode 100644 index 00000000..edaacacb --- /dev/null +++ b/gocd/pkglistgen.factory.gocd.yaml.erb @@ -0,0 +1,55 @@ +format_version: 3 +pipelines: + Pkglistgen.openSUSE_Factory: + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + timer: + spec: 0 40 * ? * * + only_on_changes: false + materials: + git: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - pkglistgen: + approval: + type: manual + jobs: +<% ['openSUSE:Factory/target', 'openSUSE:Factory/rings', 'openSUSE:Factory:ARM', 'openSUSE:Factory:PowerPC', 'openSUSE:Factory:zSystems'].each do |project| + project=project.split('/') + name=project[0].gsub(':', '_') + if project.size > 1 + options="-s #{project[1]}" + name = name + "_#{project[1]}" + end + -%> + <%= name %>: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %> <%= options %> +<% end -%> + Update.Repos.Factory: + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + timer: + spec: 0 0 21 ? * * + only_on_changes: false + materials: + git: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - Update: + approval: + type: manual + jobs: +<% %w(openSUSE:Factory openSUSE:Factory:ARM openSUSE:Factory:PowerPC).each do |project| -%> + <%= project.gsub(':', '_') %>: + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen --apiurl https://api.opensuse.org handle_update_repos <%= project %> +<% end -%> diff --git a/gocd/pkglistgen.leap.gocd.yaml b/gocd/pkglistgen.leap.gocd.yaml new file mode 100644 index 00000000..cbbe97bc --- /dev/null +++ b/gocd/pkglistgen.leap.gocd.yaml @@ -0,0 +1,63 @@ +format_version: 3 +pipelines: + Pkglistgen.openSUSE_Leap: + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + timer: + spec: 0 10 * ? * * + only_on_changes: false + materials: + git: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - pkglistgen: + approval: + type: manual + jobs: + openSUSE_Leap_15.1: + resources: + - repo-checker + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1 -s target + openSUSE_Leap_15.1_Ring: + resources: + - repo-checker + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1 -s rings + openSUSE_Leap_15.1_ARM: + resources: + - repo-checker + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1:ARM + openSUSE_Leap_15.1_PowerPC: + resources: + - repo-checker + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1:PowerPC + Update.Repos.Leap: + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + timer: + spec: 0 0 21 ? * * + only_on_changes: false + materials: + git: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - Update: + approval: + type: manual + jobs: + Leap: + tasks: + - script: python3 /usr/bin/osrt-pkglistgen --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1 + Leap_ARM: + tasks: + - script: python3 /usr/bin/osrt-pkglistgen --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1:ARM + Leap_PowerPC: + tasks: + - script: python3 /usr/bin/osrt-pkglistgen --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1:PowerPC diff --git a/gocd/pkglistgen_staging.gocd.yaml b/gocd/pkglistgen_staging.gocd.yaml new file mode 100644 index 00000000..30b9ac46 --- /dev/null +++ b/gocd/pkglistgen_staging.gocd.yaml @@ -0,0 +1,1403 @@ +format_version: 3 +pipelines: + Factory.Stagings.RelPkgs: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + timer: + spec: 0 */10 * ? * * + only_on_changes: false + materials: + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - Generate.Release.Package: + approval: manual + jobs: + "Staging.A": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:A + --only-release-packages --force + "Staging.B": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:B + --only-release-packages --force + "Staging.C": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:C + --only-release-packages --force + "Staging.D": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:D + --only-release-packages --force + "Staging.E": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:E + --only-release-packages --force + "Staging.F": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:F + --only-release-packages --force + "Staging.G": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:G + --only-release-packages --force + "Staging.H": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:H + --only-release-packages --force + "Staging.I": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:I + --only-release-packages --force + "Staging.J": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:J + --only-release-packages --force + "Staging.K": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:K + --only-release-packages --force + "Staging.L": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:L + --only-release-packages --force + "Staging.M": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:M + --only-release-packages --force + "Staging.N": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:N + --only-release-packages --force + "Staging.O": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:O + --only-release-packages --force + "Staging.Gcc7": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:Gcc7 + --only-release-packages --force + + "Factory.Staging.A": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:A + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:A_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.B": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:B + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:B_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.C": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:C + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:C_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.D": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:D + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:D_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.E": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:E + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:E_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.F": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:F + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:F_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.G": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:G + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:G_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.H": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:H + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:H_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.I": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:I + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:I_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.J": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:J + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:J_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.K": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:K + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:K_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.L": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:L + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:L_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.M": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:M + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:M_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.N": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:N + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:N_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.O": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:O + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:O_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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" + + "Factory.Staging.Gcc7": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:Gcc7 + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:Gcc7_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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.Stagings.RelPkgs: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + timer: + spec: 0 */10 * ? * * + only_on_changes: false + materials: + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - Generate.Release.Package: + approval: manual + jobs: + "Staging.A": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Leap:15.1:Staging:A + --only-release-packages --force + "Staging.B": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Leap:15.1:Staging:B + --only-release-packages --force + "Staging.C": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Leap:15.1:Staging:C + --only-release-packages --force + "Staging.D": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Leap:15.1:Staging:D + --only-release-packages --force + "Staging.E": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Leap:15.1:Staging:E + --only-release-packages --force + + "Leap.Staging.A": + environment_variables: + STAGING_PROJECT: openSUSE:Leap:15.1:Staging:A + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Leap:15.1:Staging:A_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.1 -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + "Leap.Staging.B": + environment_variables: + STAGING_PROJECT: openSUSE:Leap:15.1:Staging:B + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Leap:15.1:Staging:B_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.1 -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + "Leap.Staging.C": + environment_variables: + STAGING_PROJECT: openSUSE:Leap:15.1:Staging:C + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Leap:15.1:Staging:C_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.1 -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + "Leap.Staging.D": + environment_variables: + STAGING_PROJECT: openSUSE:Leap:15.1:Staging:D + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Leap:15.1:Staging:D_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.1 -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + "Leap.Staging.E": + environment_variables: + STAGING_PROJECT: openSUSE:Leap:15.1:Staging:E + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Leap:15.1:Staging:E_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.1 -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force + diff --git a/gocd/pkglistgen_staging.gocd.yaml.erb b/gocd/pkglistgen_staging.gocd.yaml.erb new file mode 100644 index 00000000..11d55667 --- /dev/null +++ b/gocd/pkglistgen_staging.gocd.yaml.erb @@ -0,0 +1,168 @@ +format_version: 3 +pipelines: + Factory.Stagings.RelPkgs: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + timer: + spec: 0 */10 * ? * * + only_on_changes: false + materials: + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - Generate.Release.Package: + approval: manual + jobs: +<% factory_stagings = %w(A B C D E F G H I J K L M N O Gcc7) -%> +<% factory_stagings.each do |letter| -%> + "Staging.<%= letter %>": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Factory:Staging:<%= letter %> + --only-release-packages --force +<% end -%> +<% factory_stagings.each do |letter| %> + "Factory.Staging.<%= letter %>": + environment_variables: + STAGING_PROJECT: openSUSE:Factory:Staging:<%= letter %> + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Factory.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Factory:Staging:<%= letter %>_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Factory -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --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 %> + + Leap.Stagings.RelPkgs: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-staging-bot + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + timer: + spec: 0 */10 * ? * * + only_on_changes: false + materials: + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + stages: + - Generate.Release.Package: + approval: manual + jobs: +<% leap_stagings = %w(A B C D E) -%> +<% leap_stagings.each do |letter| -%> + "Staging.<%= letter %>": + resources: + - repo-checker3 + tasks: + - script: python3 /usr/bin/osrt-pkglistgen -A https://api.opensuse.org update_and_solve + --staging openSUSE:Leap:15.1:Staging:<%= letter %> + --only-release-packages --force +<% end %> +<% leap_stagings.each do |letter| -%> + "Leap.Staging.<%= letter %>": + environment_variables: + STAGING_PROJECT: openSUSE:Leap:15.1:Staging:<%= letter %> + STAGING_API: https://api.opensuse.org + OSC_CONFIG: /home/go/config/oscrc-staging-bot + PYTHONPATH: /usr/share/openSUSE-release-tools + group: Leap.15.1.pkglistgen + lock_behavior: unlockWhenFinished + materials: + stagings: + git: git://botmaster.suse.de/opensuse-repos.git + auto_update: true + destination: repos + whitelist: + - openSUSE:Leap:15.1:Staging:<%= letter %>_-_standard.yaml + scripts: + git: https://github.com/openSUSE/openSUSE-release-tools.git + auto_update: true + destination: scripts + whitelist: + - DO_NOT_TRIGGER + citest: + git: https://github.com/coolo/citest.git + auto_update: true + destination: citest + whitelist: + - DO_NOT_TRIGGER + stages: + - Checks: + jobs: + Check.Build.Succeeds: + resources: + - staging-bot + tasks: + - script: |- + python ./citest/verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard + + Repo.Checker: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-repo-checker + resources: + - repo-checker3 + tasks: + - script: |- + python3 ./scripts/staging-installcheck.py -A $STAGING_API -p openSUSE:Leap:15.1 -s $STAGING_PROJECT + + - Update.000product: + resources: + - repo-checker3 + tasks: + - script: |- + python3 /usr/bin/osrt-pkglistgen --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force +<% end %>