X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fonap-jobs%2Fonap-release-deploy-test.yaml;h=d6a89a79decc86ebfb22a71fc52d3098910e1f00;hb=3b5d5d8f359a4207872edf32773fdb72c3193eb7;hp=f0f95d1a2e4428cdacc7b1798e43cc8dcb9ab1a8;hpb=beaf3340738977a2672dfa9483ff688af16d86a7;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..d6a89a79 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,23 @@ node-parameters: true kill-phase-on: FAILURE abort-all-job: false + - multijob: + name: xTesting for infra-healthcheck and healthcheck + condition: ALWAYS + execution-type: SEQUENTIALLY + 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 +317,83 @@ - '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: + - 'generate-ssh-keypair-macro' + - 'wait-pkg-mgr-macro' + - 'download-xtesting-artifact-macro' + - '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'