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: timeout: 0
type: manual resources:
jobs: - repo-checker3
Run.A: tasks:
timeout: 0 - script: |-
resources: cd scripts
- repo-checker3 ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s A
tasks: SLE12.SP5.InstallCheck.B:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s A group: SLE.Checkers
Run.B: lock_behavior: unlockWhenFinished
timeout: 0 environment_variables:
resources: OSC_CONFIG: /home/go/config/oscrc-repo-checker
- repo-checker3 materials:
tasks: scripts:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s B git: https://github.com/openSUSE/openSUSE-release-tools.git
Run.C: destination: scripts
timeout: 0 whitelist:
resources: - DO_NOT_TRIGGER
- repo-checker3 stagings:
tasks: git: git://botmaster.suse.de/suse-repos.git
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s C destination: repos
Run.D: whitelist:
timeout: 0 - SUSE:SLE-12-SP5:GA:Staging:B_-_standard.yaml
resources: stages:
- repo-checker3 - Run:
tasks: timeout: 0
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s D resources:
Run.H: - repo-checker3
timeout: 0 tasks:
resources: - script: |-
- repo-checker3 cd scripts
tasks: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s B
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s H SLE12.SP5.InstallCheck.C:
Run.S: group: SLE.Checkers
timeout: 0 lock_behavior: unlockWhenFinished
resources: environment_variables:
- repo-checker3 OSC_CONFIG: /home/go/config/oscrc-repo-checker
tasks: materials:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s S scripts:
Run.V: git: https://github.com/openSUSE/openSUSE-release-tools.git
timeout: 0 destination: scripts
resources: whitelist:
- repo-checker3 - DO_NOT_TRIGGER
tasks: stagings:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s V git: git://botmaster.suse.de/suse-repos.git
Run.Y: destination: repos
timeout: 0 whitelist:
resources: - SUSE:SLE-12-SP5:GA:Staging:C_-_standard.yaml
- repo-checker3 stages:
tasks: - Run:
- script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s Y timeout: 0
resources:
- repo-checker3
tasks:
- script: |-
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
resources:
- repo-checker3
tasks:
- script: |-
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
resources:
- repo-checker3
tasks:
- script: |-
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
resources:
- repo-checker3
tasks:
- script: |-
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
resources:
- repo-checker3
tasks:
- script: |-
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
resources:
- repo-checker3
tasks:
- 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: timeout: 0
type: manual resources:
jobs: - repo-checker3
<% %w(A B C D H S V Y).each do |letter| -%> tasks:
Run.<%= letter %>: - script: |-
timeout: 0 cd scripts
resources: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A https://api.suse.de -s <%= letter %>
- repo-checker3
tasks:
- script: ./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 -%>