X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fonap-macros.yaml;fp=jjb%2Fcloud-infra%2Fonap-macros.yaml;h=27860e82682544a3dd2c0ba3dc6358a1856e0658;hb=d6f228bea02de4cfdd5ae34794123c26e87a1ffe;hp=d1e789444b47abd5b3a291bd7e26ae7e6920fe51;hpb=b13d4e9aa57b9249c7886ca9432938de9f00bc34;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/onap-macros.yaml b/jjb/cloud-infra/onap-macros.yaml index d1e78944..27860e82 100644 --- a/jjb/cloud-infra/onap-macros.yaml +++ b/jjb/cloud-infra/onap-macros.yaml @@ -19,6 +19,81 @@ # ============LICENSE_END========================================================= # macros used by all job types +- parameter: + name: 'onap-parameter-macro' + parameters: + - project-parameters: + project: '{project}' + branch: '{nordix-branch}' + - nordix-gerrit-parameters + - label: + name: SLAVE_LABEL + default: '{slave-label}' + description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use' + - string: + name: DISTRO + default: '{distro}' + description: 'Distribution to use for configuring target nodes (networking etc.)' + - string: + name: PROVISIONER_TYPE + default: '{provisioner-type}' + description: 'Provisioner to use for provisioning nodes' + - string: + name: INSTALLER_TYPE + default: '{installer-type}' + description: 'Installer to use for deploying the scenario' + - string: + name: DEPLOY_SCENARIO + default: '{deploy-scenario}' + description: 'Scenario to deploy and test' + - string: + name: DEPLOY_TYPE + default: '{type}' + 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_VERSION + default: '{onap-version}' + description: 'ONAP version to deploy' + - 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: ENGINE_VERSION + default: '{engine-version}' + description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch' + - string: + name: ENGINE_REFSPEC + default: '{engine-refspec}' + description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.' + - string: + name: DEPLOY_SCENARIO_VERSION + default: '{deploy-scenario-version}' + description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.' + - string: + name: DEPLOY_SCENARIO_REFSPEC + default: '{deploy-scenario-refspec}' + description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.' + - 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: