diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-03-21 12:02:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-21 12:02:35 +0000 |
commit | 8789b2b0625996014a8d94177e78e4530a8df2df (patch) | |
tree | 7ae9f7edf5bd46edd51bc3ebdd99faa60dd47abc /jjb | |
parent | 1686df597be23ac2924cc90a821930a22a1d02d5 (diff) | |
parent | 325f0012af3b439ab8d124d89641f80a26598edb (diff) |
Merge "[qtip]refactor validate job"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/fuel/fuel-daily-jobs.yml | 2 | ||||
-rw-r--r-- | jjb/qtip/helpers/validate-deploy.sh | 6 | ||||
-rw-r--r-- | jjb/qtip/qtip-validate-jobs.yml | 62 |
3 files changed, 30 insertions, 40 deletions
diff --git a/jjb/fuel/fuel-daily-jobs.yml b/jjb/fuel/fuel-daily-jobs.yml index b65b2c0dd..12456ddbb 100644 --- a/jjb/fuel/fuel-daily-jobs.yml +++ b/jjb/fuel/fuel-daily-jobs.yml @@ -1112,7 +1112,7 @@ - trigger: name: 'fuel-os-nosdn-nofeature-ha-zte-pod3-daily-danube-trigger' triggers: - - timed: '' + - timed: '0 18 * * *' - trigger: name: 'fuel-os-odl_l2-nofeature-ha-zte-pod3-daily-danube-trigger' triggers: diff --git a/jjb/qtip/helpers/validate-deploy.sh b/jjb/qtip/helpers/validate-deploy.sh index 90b54a1c9..a73e33c2c 100644 --- a/jjb/qtip/helpers/validate-deploy.sh +++ b/jjb/qtip/helpers/validate-deploy.sh @@ -12,6 +12,12 @@ envs="INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} -e NODE_NAME=${NODE_NAME} -e CI_DEBUG=${CI_DEBUG}" dir_imgstore="${HOME}/imgstore" +echo "--------------------------------------------------------" +echo "POD: $NODE_NAME" +echo "INSTALLER: $INSTALLER_TYPE" +echo "Scenario: $DEPLOY_SCENARIO" +echo "--------------------------------------------------------" + echo "Qtip: Pulling docker image: opnfv/qtip:${DOCKER_TAG}" docker pull opnfv/qtip:$DOCKER_TAG diff --git a/jjb/qtip/qtip-validate-jobs.yml b/jjb/qtip/qtip-validate-jobs.yml index a850d6757..e1b71f516 100644 --- a/jjb/qtip/qtip-validate-jobs.yml +++ b/jjb/qtip/qtip-validate-jobs.yml @@ -25,38 +25,36 @@ pod: - zte-pod1: installer: fuel + scenario: os-odl_l2-nofeature-ha <<: *master - zte-pod3: installer: fuel + scenario: os-nosdn-kvm-ha <<: *master - zte-pod1: installer: fuel + scenario: os-odl_l2-nofeature-ha <<: *danube - zte-pod3: installer: fuel + scenario: os-nosdn-nofeature-ha + <<: *danube + - zte-pod3: + installer: fuel + scenario: os-nosdn-kvm-ha <<: *danube - task: - - daily: - auto-builder-name: qtip-validate-deploy - auto-trigger-name: 'qtip-{pod}-daily-{stream}-trigger' - - validate: - auto-builder-name: qtip-validate-setup - auto-trigger-name: gerrit-trigger-change-merged - - experimental: - auto-builder-name: qtip-validate-setup - auto-trigger-name: experimental #-------------------------------- # JOB LIST #-------------------------------- jobs: - - 'qtip-{task}-{installer}-{pod}-{stream}' + - 'qtip-{scenario}-{pod}-daily-{stream}' ################################ # job templates ################################ - job-template: - name: 'qtip-{task}-{installer}-{pod}-{stream}' + name: 'qtip-{scenario}-{pod}-daily-{stream}' disabled: false parameters: - project-parameter: @@ -66,7 +64,7 @@ - '{pod}-defaults' - string: name: DEPLOY_SCENARIO - default: 'os-nosdn-nofeature-ha' + default: '{scenario}' - string: name: DOCKER_TAG default: '{docker-tag}' @@ -78,10 +76,11 @@ scm: - git-scm triggers: - - '{auto-trigger-name}' + - 'qtip-{scenario}-{pod}-daily-{stream}-trigger' builders: - - qtip-common-builders - - '{auto-builder-name}' + - description-setter: + description: "POD: $NODE_NAME" + - qtip-validate-deploy publishers: - qtip-common-publishers @@ -93,12 +92,6 @@ # builder #--------- - builder: - name: qtip-common-builders - builders: - - description-setter: - description: "POD: $NODE_NAME" - -- builder: name: qtip-validate-deploy builders: - shell: @@ -106,12 +99,6 @@ - shell: !include-raw: ./helpers/cleanup-deploy.sh -- builder: - name: qtip-validate-setup - builders: - - shell: - !include-raw: ./helpers/validate-setup.sh - #----------- # parameter #----------- @@ -131,29 +118,26 @@ #--------- - trigger: - name: 'qtip-zte-pod1-daily-master-trigger' + name: 'qtip-os-odl_l2-nofeature-ha-zte-pod1-daily-master-trigger' triggers: - - timed: '30 0 * * *' + - timed: '0 15 * * *' - trigger: - name: 'qtip-zte-pod3-daily-master-trigger' + name: 'qtip-os-nosdn-kvm-ha-zte-pod3-daily-master-trigger' triggers: - - timed: '30 0 * * *' + - timed: '0 15 * * *' - trigger: - name: 'qtip-zte-pod1-daily-danube-trigger' + name: 'qtip-os-odl_l2-nofeature-ha-zte-pod1-daily-danube-trigger' triggers: - timed: '0 7 * * *' - trigger: - name: 'qtip-zte-pod3-daily-danube-trigger' + name: 'qtip-os-nosdn-kvm-ha-zte-pod3-daily-danube-trigger' triggers: - timed: '0 7 * * *' - trigger: - name: qtip-validate-trigger + name: 'qtip-os-nosdn-nofeature-ha-zte-pod3-daily-danube-trigger' triggers: - - gerrit-trigger-change-merged: - project: '{project}' - branch: '{branch}' - files: '**' + - timed: '30 0 * * *' |