blob: 398f7e108140333692e84dd84aef1f39e3f88986 [file] [log] [blame]
---
#
# ============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
- builder:
name: 'cloud-infra-deploy-macro'
builders:
- shell:
!include-raw: ./wait-for-pkg-manager.sh
- shell:
!include-raw: ./cloud-infra-deploy.sh
- builder:
name: 'cloud-infra-functest-macro'
builders:
- shell:
!include-raw: ./prepare-for-testfw-verify.sh
- shell:
!include-raw: ./cloud-infra-test.sh
- builder:
name: 'cloud-infra-yardstick-macro'
builders:
- shell:
!include-raw: ./prepare-for-testfw-verify.sh
- shell:
!include-raw: ./cloud-infra-test.sh
- builder:
name: 'cloud-infra-testfw-macro'
builders:
- shell:
!include-raw: ./cloud-infra-test.sh
- builder:
name: 'cloud-infra-determine-scenario-macro'
builders:
- shell:
!include-raw: ./wait-for-pkg-manager.sh
- shell:
!include-raw: ./determine-scenario.sh
- inject:
properties-file: "$WORKSPACE/change.properties"
- description-setter:
description: $PROVISIONER_TYPE | $INSTALLER_TYPE | $DEPLOY_SCENARIO
- builder:
name: 'cloud-infra-scenario-deploy-macro'
builders:
- shell:
!include-raw: ./prepare-for-scenario-deploy.sh
- shell:
!include-raw: ./cloud-infra-scenario-deploy.sh
- builder:
name: 'cloud-infra-scenario-functest-macro'
builders:
- shell:
!include-raw: ./prepare-for-scenario-test.sh
- shell:
!include-raw: ./cloud-infra-scenario-test.sh
- builder:
name: 'scenario-deploy-macro'
builders:
- shell:
!include-raw: ./wait-for-pkg-manager.sh
- shell:
!include-raw: ./scenario-deploy.sh
- builder:
name: 'scenario-functest-macro'
builders:
- shell:
!include-raw: ./prepare-for-testfw-verify.sh
- shell:
!include-raw: ./scenario-functest.sh
- builder:
name: 'scenario-yardstick-macro'
builders:
- shell:
!include-raw: ./prepare-for-testfw-verify.sh
- shell:
!include-raw: ./scenario-yardstick.sh
- builder:
name: 'scenario-promote-macro'
builders:
- shell:
!include-raw: ./scenario-promote.sh
# vim: set ts=2 sw=2 expandtab: