X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fonap-jobs%2Fonap-release-deploy-test.yaml;fp=jjb%2Fcloud-infra%2Fonap-jobs%2Fonap-release-deploy-test.yaml;h=ffc0d9e4cf93691da83858b22943f76648b6f2a6;hb=41a2d0c59d27d75f124e168bc2acca0e91ab16f4;hp=f0f95d1a2e4428cdacc7b1798e43cc8dcb9ab1a8;hpb=eba3b12bf53f3b58ed059f99a47c6c650ea24b5a;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml b/jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml index f0f95d1a..ffc0d9e4 100644 --- a/jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml +++ b/jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml @@ -44,9 +44,10 @@ - offline: disabled: false execution-mode: offline-deployment - # just deploy phase for now and ONAP testing isn't defined yet + phase: - deploy + - test type: @@ -67,6 +68,8 @@ - 'onap-release-{environment-type}-deploy-test-{distro}-{cloud}-{type}-{stream}' - 'onap-release-{environment-type}-deploy-{distro}-{cloud}-{type}-{stream}' - 'onap-release-{environment-type}-deployk8s-{distro}-{cloud}-{type}-{stream}' + - 'onap-release-{environment-type}-xtesting-infra-healthcheck-{distro}-{cloud}-{type}-{stream}' + - 'onap-release-{environment-type}-xtesting-healthcheck-{distro}-{cloud}-{type}-{stream}' - job-template: name: 'onap-release-{environment-type}-deploy-test-{distro}-{cloud}-{type}-{stream}' @@ -126,22 +129,6 @@ 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: 'false' @@ -233,6 +220,22 @@ node-parameters: true kill-phase-on: FAILURE abort-all-job: false + - multijob: + name: xTesting for infra-healthcheck and healthcheck + condition: ALWAYS + projects: + - name: 'onap-release-{environment-type}-xtesting-infra-healthcheck-{distro}-{cloud}-{type}-{stream}' + current-parameters: true + git-revision: true + node-parameters: true + kill-phase-on: FAILURE + abort-all-job: false + - name: 'onap-release-{environment-type}-xtesting-healthcheck-{distro}-{cloud}-{type}-{stream}' + current-parameters: true + git-revision: true + node-parameters: true + kill-phase-on: FAILURE + abort-all-job: false publishers: - postbuildscript: builders: @@ -313,3 +316,80 @@ - 'wait-pkg-mgr-macro' - 'download-deploy-artifact-macro' - 'deploy-macro' + +- job-template: + name: 'onap-release-{environment-type}-xtesting-infra-healthcheck-{distro}-{cloud}-{type}-{stream}' + + disabled: '{obj:disabled}' + + parameters: + - string: + name: EXECUTION_MODE + default: '{execution-mode}' + description: 'Execution mode' + - 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: 'xtesting' + description: 'Test framework to use' + - string: + name: TEST_SUITE + default: 'infra-healthcheck' + description: 'Test suite to run' + + + properties: + - logrotate + - throttle: + max-per-node: 1 + max-total: 3 + option: project + wrappers: + - build-timeout: + timeout: 600 + - mask-passwords + - fix-workspace-permissions + + builders: + - 'xtesting-infra-healthcheck-macro' + +- job-template: + name: 'onap-release-{environment-type}-xtesting-healthcheck-{distro}-{cloud}-{type}-{stream}' + + disabled: '{obj:disabled}' + + parameters: + - string: + name: EXECUTION_MODE + default: '{execution-mode}' + description: 'Execution mode' + - 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: 'xtesting' + description: 'Test framework to use' + - string: + name: TEST_SUITE + default: 'healthcheck' + description: 'Test suite to run' + + properties: + - logrotate + - throttle: + max-per-node: 1 + max-total: 3 + option: project + wrappers: + - build-timeout: + timeout: 600 + - mask-passwords + - fix-workspace-permissions + + builders: + - 'xtesting-healthcheck-macro'