blob: 2ff2a47ccc0e22caebc66202dbae7e51673dbc0c [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: $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
# vim: set ts=2 sw=2 expandtab: