phase:
- onap-deploy:
build-timeout: 150
+ flavor:
+ - full
- oom-healthcheck:
build-timeout: 30
+ test-type: oom-healthcheck
+ flavor:
+ - full
- onap-healthcheck:
build-timeout: 30
+ test-type: onap-healthcheck
+ flavor:
+ - core
+ - small
+ - medium
+ - full
- promote-onap:
build-timeout: 5
+ flavor:
+ - full
jobs:
- '{deploy-scenario}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
- - '{phase}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+ - 'xtesting-{phase}-{flavor}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
- job-template:
name: '{deploy-scenario}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
condition: SUCCESSFUL
projects:
- name: 'onap-deploy-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
- current-parameters: true
+ current-parameters: false
predefined-parameters: |
DISTRO=$DISTRO
DEPLOY_TYPE=$DEPLOY_TYPE
name: OOM Healthcheck
condition: SUCCESSFUL
projects:
- - name: 'oom-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
- current-parameters: true
+ - name: 'xtesting-oom-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+ current-parameters: false
predefined-parameters: |
DISTRO=$DISTRO
DEPLOY_TYPE=$DEPLOY_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
ONAP_VERSION=$ONAP_VERSION
- ONAP_FLAVOR=$ONAP_FLAVOR
+ ONAP_FLAVOR=full
+ TEST_TYPE=oom-healthcheck
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
kill-phase-on: NEVER
abort-all-job: false
- multijob:
- name: ONAP Healthcheck
+ name: ONAP Healthcheck - Core
condition: SUCCESSFUL
projects:
- - name: 'onap-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
- current-parameters: true
+ - name: 'xtesting-onap-healthcheck-core-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+ current-parameters: false
predefined-parameters: |
DISTRO=$DISTRO
DEPLOY_TYPE=$DEPLOY_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
ONAP_VERSION=$ONAP_VERSION
- ONAP_FLAVOR=$ONAP_FLAVOR
+ ONAP_FLAVOR=core
+ TEST_TYPE=onap-healthcheck
+ ENGINE_VERSION=$ENGINE_VERSION
+ ENGINE_REFSPEC=$ENGINE_REFSPEC
+ DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
+ DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
+ ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
+ XTESTING_REPO_URL=$XTESTING_REPO_URL
+ ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
+ CLEANUP=$CLEANUP
+ node-parameters: true
+ kill-phase-on: NEVER
+ abort-all-job: false
+ name: ONAP Healthcheck - Small
+ condition: SUCCESSFUL
+ projects:
+ - name: 'xtesting-onap-healthcheck-small-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+ current-parameters: false
+ predefined-parameters: |
+ DISTRO=$DISTRO
+ DEPLOY_TYPE=$DEPLOY_TYPE
+ PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+ INSTALLER_TYPE=$INSTALLER_TYPE
+ DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
+ ONAP_VERSION=$ONAP_VERSION
+ ONAP_FLAVOR=small
+ TEST_TYPE=onap-healthcheck
+ ENGINE_VERSION=$ENGINE_VERSION
+ ENGINE_REFSPEC=$ENGINE_REFSPEC
+ DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
+ DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
+ ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
+ XTESTING_REPO_URL=$XTESTING_REPO_URL
+ ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
+ CLEANUP=$CLEANUP
+ node-parameters: true
+ kill-phase-on: NEVER
+ abort-all-job: false
+ name: ONAP Healthcheck - Medium
+ condition: SUCCESSFUL
+ projects:
+ - name: 'xtesting-onap-healthcheck-medium-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+ current-parameters: false
+ predefined-parameters: |
+ DISTRO=$DISTRO
+ DEPLOY_TYPE=$DEPLOY_TYPE
+ PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+ INSTALLER_TYPE=$INSTALLER_TYPE
+ DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
+ ONAP_VERSION=$ONAP_VERSION
+ ONAP_FLAVOR=medium
+ TEST_TYPE=onap-healthcheck
+ ENGINE_VERSION=$ENGINE_VERSION
+ ENGINE_REFSPEC=$ENGINE_REFSPEC
+ DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
+ DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
+ ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
+ XTESTING_REPO_URL=$XTESTING_REPO_URL
+ ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
+ CLEANUP=$CLEANUP
+ node-parameters: true
+ kill-phase-on: NEVER
+ abort-all-job: false
+ name: ONAP Healthcheck - Full
+ condition: SUCCESSFUL
+ projects:
+ - name: 'onap-healthcheck-periodic-full-{distro}-{installer-type}-{type}-{onap-branch}'
+ current-parameters: false
+ predefined-parameters: |
+ DISTRO=$DISTRO
+ DEPLOY_TYPE=$DEPLOY_TYPE
+ PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+ INSTALLER_TYPE=$INSTALLER_TYPE
+ DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
+ ONAP_VERSION=$ONAP_VERSION
+ ONAP_FLAVOR=full
+ TEST_TYPE=onap-healthcheck
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
condition: SUCCESSFUL
projects:
- name: 'promote-onap-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
- current-parameters: true
+ current-parameters: false
predefined-parameters: |
DISTRO=$DISTRO
DEPLOY_TYPE=$DEPLOY_TYPE
abort-all-job: false
- job-template:
- name: '{phase}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+ name: 'xtesting-{phase}-{flavor}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
disabled: false
description: 'ONAP version to deploy'
- string:
name: ONAP_FLAVOR
- default: '{onap-flavor}'
+ default: '{flavor}'
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: 'master'
+++ /dev/null
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-# Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# 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=========================================================
-
-set -o errexit
-set -o nounset
-
-echo "Info: Cloning infra/test repository"
-cd $HOME && /bin/rm -rf $WORKSPACE
-git clone -q $XTESTING_REPO_URL $WORKSPACE
-
-# vim: set ts=2 sw=2 expandtab: