| --- |
| # |
| # ============LICENSE_START======================================================= |
| # Copyright (C) 2019 Nordix Foundation. |
| # ================================================================================ |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| # SPDX-License-Identifier: Apache-2.0 |
| # ============LICENSE_END========================================================= |
| |
| # macros used by all job types |
| - parameter: |
| name: 'onap-parameter-macro' |
| parameters: |
| - 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-nofeature-noha' |
| description: 'Scenario to deploy and test' |
| - string: |
| name: DEPLOY_TYPE |
| default: 'cloud' |
| description: 'Type of the deployment' |
| - string: |
| name: TEST_TYPE |
| default: 'oom-healthcheck' |
| description: 'Test type to run. Could be oom-healthcheck or onap-healthcheck' |
| - string: |
| name: NORDIX_ARM_REPO_URL |
| default: 'https://artifactory.nordix.org/artifactory' |
| description: 'URL to Nordix Artifactory' |
| - string: |
| name: NORDIX_HARBOR_REPO_URL |
| default: 'registry.nordix.org' |
| description: 'URL to Nordix Harbor' |
| - 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.' |
| |
| - builder: |
| name: 'onap-deploy-macro' |
| builders: |
| - shell: |
| !include-raw: ./wait-for-pkg-manager.sh |
| - shell: |
| !include-raw: ./onap-deploy.sh |
| |
| - builder: |
| name: 'onap-deploy-baremetal-macro' |
| builders: |
| - shell: |
| !include-raw: ./wait-for-pkg-manager.sh |
| - shell: |
| !include-raw: ./onap-deploy-baremetal.sh |
| |
| - builder: |
| name: 'oom-hc-macro' |
| builders: |
| - shell: |
| !include-raw: ./oom-healthcheck.sh |
| |
| - builder: |
| name: 'oom-hc-baremetal-macro' |
| builders: |
| - shell: |
| !include-raw: ./oom-healthcheck.sh |
| |
| - builder: |
| name: 'onap-healthcheck-macro' |
| builders: |
| - shell: |
| !include-raw: ./onap-healthcheck.sh |
| |
| - builder: |
| name: 'onap-healthcheck-baremetal-macro' |
| builders: |
| - shell: |
| !include-raw: ./onap-healthcheck.sh |
| |
| - builder: |
| name: 'promote-onap-macro' |
| builders: |
| - shell: |
| !include-raw: ./promote-onap.sh |
| |
| # vim: set ts=2 sw=2 expandtab: |