blob: e914f72a844dd3fb0b49a0129324b04b071d8ce3 [file] [log] [blame]
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +01001#!/bin/bash
2
3# ============LICENSE_START===============================================
4# Copyright (C) 2020 Nordix Foundation. All rights reserved.
5# ========================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ============LICENSE_END=================================================
18#
19
20# List of short names for all supported apps, including simulators etc
21APP_SHORT_NAMES="PA ECS SDNC CP NGW RC RICSIM HTTPPROXY CBS CONSUL DMAAPMR MR CR PRODSTUB KUBEPROXY"
22
23# List of available apps that built and released of the project
24PROJECT_IMAGES="PA ECS SDNC CP NGW RICSIM RC"
25
26# List of available apps to override with local or remote staging/snapshot/release image
27AVAILABLE_IMAGES_OVERRIDE="PA ECS SDNC CP NGW RICSIM RC"
28
29# List of available apps where the image is built by the test environment
BjornMagnussonXA674793d2021-05-06 19:49:17 +020030LOCAL_IMAGE_BUILD="MR CR PRODSTUB KUBEPROXY HTTPPROXY"
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010031
32
33#Integrate a new app into the test environment
34# 1 Choose a short name for the app
35# Note than an app might use more than one image
36# 2 Add the short name to APP_SHORT_NAMES
37# 3 If the image is built and released as part of the project,
38# add the short name to PROJECT_IMAGES
39# 4 If it possible to override with for example a local image,
40# add the short name to AVAILABLE_IMAGES_OVERRIDE
41# This is default...so normally images shall be possible to override
42# 5 If the image is built by the test script,
43# add the short name to LOCAL_IMAGE_BUILD
44# Summary:
45# All app short name shall exist in APP_SHORT_NAMES
46# Then the app short name be added to both PROJECT_IMAGES and AVAILABLE_IMAGES_OVERRIDE
47# or only to LOCAL_IMAGE_BUILD