X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fonap-jobs%2Fonap-verify-deploy-test.yaml;fp=jjb%2Fcloud-infra%2Fonap-jobs%2Fonap-verify-deploy-test.yaml;h=8ecf96e16366348a53cc53aa6a29f4c7f3d83410;hb=80cc55ddbdf88cdd8ad2a07ff4428825bd86e8ab;hp=33efaaa18ac03d845f2cfa7eeb423e94f6aefafa;hpb=41a2d0c59d27d75f124e168bc2acca0e91ab16f4;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml b/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml index 33efaaa18..8ecf96e16 100644 --- a/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml +++ b/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml @@ -30,7 +30,7 @@ - 'guilin': branch: '{stream}' k8s-version: '1.15' - deploy-scenario: 'onap-full-nofeature' + deploy-scenario: 'onap-full-nofeature' - 'frankfurt': branch: '{stream}' k8s-version: '1.15' @@ -55,9 +55,10 @@ failed: false unstable: false notbuilt: false - # just deploy phase for now and ONAP testing isn't defined yet + phase: - deploy + - test type: @@ -83,6 +84,9 @@ - 'onap-verify-{environment-type}-deploy-test-{distro}-{cloud}-{type}-{stream}' - 'onap-verify-{environment-type}-deploy-{distro}-{cloud}-{type}-{stream}' - 'onap-verify-{environment-type}-deployk8s-{distro}-{cloud}-{type}-{stream}' + - 'onap-verify-{environment-type}-xtesting-infra-healthcheck-{distro}-{cloud}-{type}-{stream}' + - 'onap-verify-{environment-type}-xtesting-healthcheck-{distro}-{cloud}-{type}-{stream}' + - job-template: name: 'onap-verify-{environment-type}-deploy-test-{distro}-{cloud}-{type}-{stream}' @@ -142,22 +146,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' @@ -292,6 +280,22 @@ kill-phase-on: FAILURE abort-all-job: false property-file: $WORKSPACE/change.properties + - multijob: + name: xTesting for infra-healthcheck and healthcheck + condition: ALWAYS + projects: + - name: 'onap-verify-{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-verify-{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: @@ -389,3 +393,79 @@ - 'wait-pkg-mgr-macro' - 'download-deploy-artifact-macro' - 'deploy-macro' +- job-template: + name: 'onap-verify-{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-verify-{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' +