X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fonap-macros.yaml;h=12795bdf95236bd645b3c36c7077b051660c79d4;hb=80c854f33979b114f3ed4815451437380f659fcf;hp=1703acc6885073545c62bd996ec0838203f7a329;hpb=0d4647558f0eaea1b7dc1a8c2028d9425ef7c2d9;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/onap-macros.yaml b/jjb/cloud-infra/onap-macros.yaml index 1703acc6..12795bdf 100644 --- a/jjb/cloud-infra/onap-macros.yaml +++ b/jjb/cloud-infra/onap-macros.yaml @@ -19,6 +19,57 @@ # ============LICENSE_END========================================================= # macros used by all job types +- parameter: + name: 'onap-parameter-macro' + parameters: + - label: + name: SLAVE_LABEL + default: 'jumphost-onap-ubuntu1804' + description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use' + - string: + name: DISTRO + default: 'ubuntu1804' + description: 'Distribution to use for configuring target nodes (networking etc.)' + - string: + name: PROVISIONER_TYPE + default: 'heat' + description: 'Provisioner to use for provisioning nodes' + - string: + name: INSTALLER_TYPE + default: 'kubespray' + description: 'Installer to use for deploying the scenario' + - string: + name: DEPLOY_SCENARIO + default: 'onap-oom-nofeature' + description: 'Scenario to deploy and test' + - string: + name: DEPLOY_TYPE + default: 'cloud' + description: 'Type of the deployment' + - string: + name: HEAT_ENVIRONMENT_FILE + default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/heat-environment-full.yaml" + description: 'Type of the deployment' + - string: + name: ONAP_FLAVOR + default: 'full' + description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.' + - string: + name: TEST_TYPE + default: 'oom-healthcheck' + description: 'Test type to run. Could be oom-healthcheck or onap-healthcheck' + - string: + name: XTESTING_REPO_URL + default: 'https://gerrit.nordix.org/opnfv/xtesting-onap.git' + description: 'URL to Nordix xtesting-onap repository' + - string: + name: ENGINE_ANSIBLE_PARAMS + default: '' + description: 'Extra parameters that can be added when run the play books.' + - string: + name: CLEANUP + default: 'true' + description: 'Cleanup leftovers of the previous run' - builder: name: 'onap-deploy-macro' builders: @@ -45,4 +96,10 @@ - shell: !include-raw: ./promote-onap.sh +- builder: + name: 'delete-stack-macro' + builders: + - shell: + !include-raw: ./delete-stack.sh + # vim: set ts=2 sw=2 expandtab: