diff options
Diffstat (limited to 'jjb/qtip')
-rw-r--r-- | jjb/qtip/helpers/validate-deploy.sh | 6 | ||||
-rw-r--r-- | jjb/qtip/qtip-validate-jobs.yml | 62 |
2 files changed, 29 insertions, 39 deletions
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 * * *' |