X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fengine%2Fengine-verify-jobs%2Fengine-verify-offline-deploy-test.yaml;h=8ed343ab75b98e4e9d16e4e47024b3c2bac5132b;hb=0861dce3d0e0e6e97edd5fb0d2d0264e7b006944;hp=ee94e3abb3c6ab68e0d60417ddf9525bf9559c2d;hpb=06c8cd382c6cae8772b05e9ed03da7e50daffedc;p=infra%2Fcicd.git diff --git a/jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml b/jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml index ee94e3ab..8ed343ab 100644 --- a/jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml +++ b/jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml @@ -77,37 +77,35 @@ description: 'Name of heat-environment file to use.' - string: name: STACK_NAME - default: "nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER" + default: "nordix-cicd-verify-engine-online-{distro}-$GERRIT_CHANGE_NUMBER" description: 'Name of the created stack' - string: name: KEYPAIR_NAME - default: "keypair-nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER" + default: "keypair-nordix-cicd-verify-offline-engine-{distro}-$GERRIT_CHANGE_NUMBER" description: 'Name of the created keypair' - string: name: USE_PREBUILT_DEPLOYMENT_IMAGE default: 'true' description: 'Use prebuilt deployment image while running as part of CI/CD' + - string: + name: TEST_REPO_URL + default: 'https://gerrit.nordix.org/infra/test.git' + description: 'URL to clone the test repo from' + - string: + name: TEST_FW + default: 'functest' + description: 'Test framework to use' - string: name: TEST_SUITE default: 'healthcheck' description: 'Test suite to run' - - string: - name: YARDSTICK_DISPATCHER - default: 'file' - description: 'Dispatcher to use for Yardstick reporting' - string: name: DELETE_STACK - default: 'yes' + default: 'true' description: 'Delete the stack upon completion of the build' properties: - logrotate -# - build-blocker: -# use-build-blocker: true -# blocking-jobs: -# - 'engine-verify-online-deploy-test-.*' -# - 'engine-verify-offline-deploy-test-.*' -# block-level: 'NODE' - throttle: max-per-node: 1 max-total: 3 @@ -130,6 +128,10 @@ single-use: True builders: + - 'engine-wait-pkg-mgr-macro' + - shell: | + #!/bin/bash + sudo sed -i 's/^search/# search/' /etc/resolv.conf - 'engine-generate-ssh-keypair-macro' - 'engine-download-artifact-macro' - multijob: @@ -141,7 +143,7 @@ current-parameters: true node-parameters: true kill-phase-on: FAILURE - abort-all-job: true + abort-all-job: false - multijob: name: "Offline Testing on {type} instances" condition: SUCCESSFUL @@ -151,19 +153,21 @@ current-parameters: true node-parameters: true kill-phase-on: FAILURE - abort-all-job: true - - conditional-step: - condition-kind: and - condition-operands: - - condition-kind: strings-match - condition-string1: $DELETE_STACK - condition-string2: true - - condition-kind: strings-match - condition-string1: $PROVISIONER_TYPE - condition-string2: heat - on-evaluation-failure: dont-run - steps: - - 'engine-delete-stack-macro' + abort-all-job: false + + publishers: + - postbuildscript: + builders: + - role: SLAVE + build-on: + - SUCCESS + - FAILURE + - ABORTED + - NOT_BUILT + - UNSTABLE + build-steps: + - 'engine-wait-pkg-mgr-macro' + - 'engine-delete-stack-macro' - job-template: name: 'engine-verify-offline-{phase}-{distro}-{cloud}-{type}-{stream}'