diff options
author | Clark Laughlin <clark.laughlin@linaro.org> | 2015-04-21 16:56:40 -0400 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-04-22 12:30:34 +0000 |
commit | eca3374afa974d770c385f5bae9fad6dd7d98498 (patch) | |
tree | 768692832113ba753121a22d364f447b4dc37f44 /leg-openstack-tempest.yaml | |
parent | 8b45ddc3a0408b6ea1a8800947689809c7d2bebc (diff) |
leg-openstack-tempest: add new job to run LEG's Openstack Tempest daily
Change-Id: I24dd650b5a1b81de0a19f92144cc23e53c6af63d
Signed-off-by: Clark Laughlin <clark.laughlin@linaro.org>
Diffstat (limited to 'leg-openstack-tempest.yaml')
-rw-r--r-- | leg-openstack-tempest.yaml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/leg-openstack-tempest.yaml b/leg-openstack-tempest.yaml new file mode 100644 index 0000000000..d822d75b9d --- /dev/null +++ b/leg-openstack-tempest.yaml @@ -0,0 +1,67 @@ +- job: + name: leg-openstack-tempest + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + linaro: + - job-read + - job-extended-read + - job-build + - job-cancel + parameters: + - string: + name: BUNDLE_STREAM_NAME + default: '/public/team/openstack/mustang/ubuntu-deploy-test/' + - string: + name: DEVICE_TYPE + default: 'mustang' + - string: + name: LAVA_SERVER + default: 'openstack.validation.linaro.org/RPC2/' + disabled: false + node: build + child-workspace: . + display-name: 'LEG - Submit Tempest LAVA job' + axes: + - axis: + type: user-defined + name: TARGET + values: + - osmustang02 + execution-strategy: + sequential: true + wrappers: + - timestamps + - matrix-tie-parent: + node: build + triggers: + - timed: '@daily' + builders: + - shell: | + #!/bin/bash + + set -ex + + rm -rf configs lci-build-tools + git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git + git clone --depth 1 http://git.linaro.org/ci/job/configs.git + ./lci-build-tools/yaml-to-json.py configs/leg-openstack-tempest/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json + + cat << EOF > post_build_lava_parameters + DEVICE_TYPE=${DEVICE_TYPE} + BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} + CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json + LAVA_SERVER=${LAVA_SERVER} + EOF + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + block: true |