diff options
author | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2016-12-05 17:12:46 -0500 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-02-01 23:07:42 +0100 |
commit | 2590b3c452a5b8e6bd95dbd3f6daecc12a9fc20d (patch) | |
tree | e2a56a0d980ffd92cd9e115b8b36f8c8c4ffa428 /jjb/apex/apex.yml | |
parent | 690ce5838508a651d5cf06c89533d5b69ac999ec (diff) |
Apex: Create promotion and verify job for Apex CSIT snapshots
Changes Include:
- Adds a daily job to create Apex snapshot tarball if functest passes
- snapshot artifact uploaded to artifacts.opnfv.org
- snapshot artifcat info is stored in snapshot.properties
- 3rd party job updated to deploy from snapshot
- 3rd party install netvirt job updated to use updated sdnvpn tools
JIRA: APEX-364
Depends-On: I792db0fac3f4e81969fe85c05fc298fe5af02537
Change-Id: I8a875c081d756d098173c0baf11c0b4e4956b9fd
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/apex/apex.yml')
-rw-r--r-- | jjb/apex/apex.yml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 710a5f42c..d028787cc 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -41,6 +41,7 @@ - 'os-odl_l3-fdio-ha' - 'os-odl_l3-fdio_dvr-noha' - 'os-odl_l3-fdio_dvr-ha' + - 'os-odl_l3-csit-noha' - 'os-onos-nofeature-ha' platform: @@ -721,6 +722,71 @@ failure-threshold: 'never' unstable-threshold: 'FAILURE' +# CSIT promote +- job-template: + name: 'apex-csit-promote-daily-{stream}' + + # Job template for promoting CSIT Snapshots + # + # Required Variables: + # stream: branch with - in place of / (eg. stable) + # branch: branch (eg. stable) + node: '{daily-slave}' + + disabled: false + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + parameters: + - project-parameter: + project: '{project}' + - apex-parameter: + gs-pathname: '{gs-pathname}' + + properties: + - build-blocker: + use-build-blocker: true + block-level: 'NODE' + blocking-jobs: + - 'apex-verify.*' + - 'apex-deploy.*' + - 'apex-build.*' + - 'apex-runner.*' + + triggers: + - timed: '0 12 * * 0' + + builders: + - trigger-builds: + - project: 'apex-build-{stream}' + git-revision: true + current-parameters: true + same-node: true + block: true + - trigger-builds: + - project: 'apex-deploy-virtual-os-odl_l3-csit-noha-{stream}' + predefined-parameters: | + BUILD_DIRECTORY=apex-build-{stream}/build + OPNFV_CLEAN=yes + git-revision: false + block: true + same-node: true + - trigger-builds: + - project: 'functest-apex-{verify-slave}-suite-{stream}' + predefined-parameters: | + DEPLOY_SCENARIO=os-odl_l3-nofeature-noha + FUNCTEST_SUITE_NAME=smoke + block: true + same-node: true + - shell: + !include-raw-escape: ./apex-snapshot-create.sh + - shell: + !include-raw-escape: ./apex-upload-artifact.sh + - job-template: name: 'apex-gs-clean-{stream}' |