X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fonap-jobs%2Fonap-verify-deploy-test.yaml;h=a9555d6c3544253e1e31eee2aa4eb714ec91ae9d;hb=d7784f580eb600a2ebb377dddbeaafcb24239441;hp=9f552698aa6d3d5f7805f666f3002fd5e5d1534e;hpb=99dea4dbf8646b3e5e688615d81ee6905fc91542;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 9f552698..a9555d6c 100644 --- a/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml +++ b/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml @@ -24,9 +24,13 @@ stream: - 'master': + branch: '{stream}' + k8s-version: 'master' + deploy-scenario: 'onap-full-nofeature' + - 'guilin': branch: '{stream}' k8s-version: '1.15' - deploy-scenario: 'onap-sdc-nofeature' + deploy-scenario: 'onap-full-nofeature' - 'frankfurt': branch: '{stream}' k8s-version: '1.15' @@ -51,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: @@ -79,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}' @@ -118,6 +126,10 @@ name: EXECUTION_MODE default: '{execution-mode}' description: 'Execution mode to run in' + - string: + name: STACK_TYPE + default: 'onap' + description: 'Stack to package, deploy, test, release' - string: name: PDF default: '{pdf}' @@ -138,22 +150,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' @@ -225,7 +221,7 @@ wrappers: - build-timeout: - timeout: 300 + timeout: 600 - credentials-binding: - file: credential-id: '{openrc-credentials-file}' @@ -288,6 +284,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: @@ -326,7 +338,7 @@ wrappers: - build-timeout: - timeout: 300 + timeout: 600 - credentials-binding: - file: credential-id: '{openrc-credentials-file}' @@ -368,7 +380,7 @@ wrappers: - build-timeout: - timeout: 300 + timeout: 600 - credentials-binding: - file: credential-id: '{openrc-credentials-file}' @@ -385,3 +397,80 @@ - '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: + - 'wait-pkg-mgr-macro' + - 'xtesting-healthcheck-macro' +