Merge pull request #2064 from coolo/add_legaldb_projects

Move legaldb import of projects into gocd
This commit is contained in:
Stephan Kulow 2019-05-27 19:48:10 +02:00 committed by GitHub
commit 8363fe3875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 63 additions and 0 deletions

View File

@ -63,6 +63,27 @@ pipelines:
- staging-bot3 - staging-bot3
tasks: tasks:
- script: ./legal-auto.py -A https://api.opensuse.org --debug --legaldb http://legaldb.suse.de review - script: ./legal-auto.py -A https://api.opensuse.org --debug --legaldb http://legaldb.suse.de review
openSUSE.Legal.Import:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 12 ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-legal-auto
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
timeout: 0
resources:
- legal-auto
tasks:
- script: ./legal-auto.py -A https://api.opensuse.org --debug --legaldb http://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-opensuse)
Factory.Staging.Report: Factory.Staging.Report:
group: openSUSE.Checkers group: openSUSE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished

View File

@ -218,6 +218,27 @@ pipelines:
- staging-bot3 - staging-bot3
tasks: tasks:
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de review - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de review
SLE.Legal.Import:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 0 ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-legal-auto
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
timeout: 0
resources:
- legal-auto
tasks:
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-suse)
SLE12.SP5.InstallCheck.A: SLE12.SP5.InstallCheck.A:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished

View File

@ -218,6 +218,27 @@ pipelines:
- staging-bot3 - staging-bot3
tasks: tasks:
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de review - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de review
SLE.Legal.Import:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 0 ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-legal-auto
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
jobs:
Run:
timeout: 0
resources:
- legal-auto
tasks:
- script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-suse)
<% %w(A B C D H S V Y).each do |letter| -%> <% %w(A B C D H S V Y).each do |letter| -%>
SLE12.SP5.InstallCheck.<%= letter %>: SLE12.SP5.InstallCheck.<%= letter %>:
group: SLE.Checkers group: SLE.Checkers