Integrate installcheck into the sp2 pipeline

This commit is contained in:
Stephan Kulow 2019-07-09 18:29:08 +02:00
parent b352254960
commit 369feed31f
2 changed files with 240 additions and 120 deletions

View File

@ -115,15 +115,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -161,15 +171,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -207,15 +227,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -253,15 +283,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -299,15 +339,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -345,15 +395,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -391,15 +451,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -437,15 +507,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -483,15 +563,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -529,15 +619,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -575,15 +675,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:

View File

@ -48,15 +48,25 @@ pipelines:
- DO_NOT_TRIGGER - DO_NOT_TRIGGER
destination: scripts destination: scripts
stages: stages:
- Check.Build.Succeeds: - Checks:
resources: jobs:
- staging-bot Check.Build.Succeeds:
tasks: resources:
- script: |- - staging-bot
export PYTHONPATH=$PWD/scripts tasks:
cd scripts/gocd - script: |-
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending export PYTHONPATH=$PWD/scripts
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard cd scripts/gocd
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
./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-checker
tasks:
- script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP2:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources: