Merge pull request #2060 from coolo/more_python3

Gocd config changes for sp5 and repo checker
This commit is contained in:
Stephan Kulow 2019-05-27 16:18:48 +02:00 committed by GitHub
commit 7f657d82d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 220 additions and 79 deletions

View File

@ -197,67 +197,204 @@ pipelines:
- staging-bot3 - staging-bot3
tasks: tasks:
- script: ./check_source.py -A https://api.suse.de --verbose --skip-add-reviews --group factory-auto review - script: ./check_source.py -A https://api.suse.de --verbose --skip-add-reviews --group factory-auto review
SLE12.SP5.InstallCheck: SLE12.SP5.InstallCheck.A:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer:
spec: 0 */20 * ? * *
environment_variables: environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials: materials:
git: scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:A_-_standard.yaml
stages: stages:
- Run: - Run:
approval:
type: manual
jobs:
Run.A:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s A - script: |-
Run.B: cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s A
SLE12.SP5.InstallCheck.B:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:B_-_standard.yaml
stages:
- Run:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s B - script: |-
Run.C: cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s B
SLE12.SP5.InstallCheck.C:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:C_-_standard.yaml
stages:
- Run:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s C - script: |-
Run.D: cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s C
SLE12.SP5.InstallCheck.D:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:D_-_standard.yaml
stages:
- Run:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s D - script: |-
Run.H: cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s D
SLE12.SP5.InstallCheck.H:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:H_-_standard.yaml
stages:
- Run:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s H - script: |-
Run.S: cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s H
SLE12.SP5.InstallCheck.S:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:S_-_standard.yaml
stages:
- Run:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s S - script: |-
Run.V: cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s S
SLE12.SP5.InstallCheck.V:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:V_-_standard.yaml
stages:
- Run:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s V - script: |-
Run.Y: cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s V
SLE12.SP5.InstallCheck.Y:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:Y_-_standard.yaml
stages:
- Run:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s Y - script: |-
cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s Y

View File

@ -197,26 +197,30 @@ pipelines:
- staging-bot3 - staging-bot3
tasks: tasks:
- script: ./check_source.py -A https://api.suse.de --verbose --skip-add-reviews --group factory-auto review - script: ./check_source.py -A https://api.suse.de --verbose --skip-add-reviews --group factory-auto review
SLE12.SP5.InstallCheck: <% %w(A B C D H S V Y).each do |letter| -%>
SLE12.SP5.InstallCheck.<%= letter %>:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer:
spec: 0 */20 * ? * *
environment_variables: environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker OSC_CONFIG: /home/go/config/oscrc-repo-checker
materials: materials:
git: scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
whitelist:
- DO_NOT_TRIGGER
stagings:
git: git://botmaster.suse.de/suse-repos.git
destination: repos
whitelist:
- SUSE:SLE-12-SP5:GA:Staging:<%= letter %>_-_standard.yaml
stages: stages:
- Run: - Run:
approval:
type: manual
jobs:
<% %w(A B C D H S V Y).each do |letter| -%>
Run.<%= letter %>:
timeout: 0 timeout: 0
resources: resources:
- repo-checker3 - repo-checker3
tasks: tasks:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s <%= letter %> - script: |-
cd scripts
./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s <%= letter %>
<% end %> <% end %>

View File

@ -119,24 +119,24 @@ pipelines:
openSUSE.Factory: openSUSE.Factory:
timeout: 0 timeout: 0
resources: resources:
- repo-checker - repo-checker3
tasks: tasks:
- script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org --debug project_only --post-comments openSUSE:Factory - script: ./repo_checker -A https://api.opensuse.org --debug project_only --post-comments openSUSE:Factory
openSUSE.Leap.15.0.Update: openSUSE.Leap.15.0.Update:
timeout: 0 timeout: 0
resources: resources:
- repo-checker - repo-checker3
tasks: tasks:
- script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org --debug project_only --post-comments openSUSE:Leap:15.0:Update - script: ./repo_checker -A https://api.opensuse.org --debug project_only --post-comments openSUSE:Leap:15.0:Update
openSUSE.Leap.42.3.Update: openSUSE.Leap.42.3.Update:
timeout: 0 timeout: 0
resources: resources:
- repo-checker - repo-checker3
tasks: tasks:
- script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org --debug project_only --post-comments openSUSE:Leap:42.3:Update - script: ./repo_checker -A https://api.opensuse.org --debug project_only --post-comments openSUSE:Leap:42.3:Update
openSUSE.Leap.15.1: openSUSE.Leap.15.1:
timeout: 0 timeout: 0
resources: resources:
- repo-checker - repo-checker3
tasks: tasks:
- script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org --debug project_only --post-comments openSUSE:Leap:15.1 - script: ./repo_checker -A https://api.opensuse.org --debug project_only --post-comments openSUSE:Leap:15.1

View File

@ -73,7 +73,7 @@ pipelines:
<%= project.gsub(':', '.') %>: <%= project.gsub(':', '.') %>:
timeout: 0 timeout: 0
resources: resources:
- repo-checker - repo-checker3
tasks: tasks:
- script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org --debug project_only --post-comments <%= project %> - script: ./repo_checker -A https://api.opensuse.org --debug project_only --post-comments <%= project %>
<% end -%> <% end -%>