blob: 24a3908db6dfa8fa83e9f64f437badde959d7409 [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
BjornMagnussonXA007b6452021-11-29 08:03:38 +010021APP_SHORT_NAMES="PA ICS SDNC CP NGW RC RICSIM HTTPPROXY CBS CONSUL DMAAPMR MR CR PRODSTUB KUBEPROXY DMAAPMED DMAAPADP PVCCLEANER"
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010022
23# List of available apps that built and released of the project
BjornMagnussonXA007b6452021-11-29 08:03:38 +010024PROJECT_IMAGES="PA ICS SDNC CP NGW RICSIM RC DMAAPMED DMAAPADP"
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010025
26# List of available apps to override with local or remote staging/snapshot/release image
BjornMagnussonXA007b6452021-11-29 08:03:38 +010027AVAILABLE_IMAGES_OVERRIDE="PA ICS SDNC CP NGW RICSIM RC DMAAPMED DMAAPADP"
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010028
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
BjornMagnussonXA663566c2021-11-08 10:25:07 +010032# List of system app used only by the test env - kubernetes
33TESTENV_KUBE_SYSTEM_APPS="PVCCLEANER"
34
35# List of system app used only by the test env - docker
36TESTENV_DOCKER_SYSTEM_APPS=""
37
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010038
39#Integrate a new app into the test environment
40# 1 Choose a short name for the app
41# Note than an app might use more than one image
42# 2 Add the short name to APP_SHORT_NAMES
43# 3 If the image is built and released as part of the project,
44# add the short name to PROJECT_IMAGES
45# 4 If it possible to override with for example a local image,
46# add the short name to AVAILABLE_IMAGES_OVERRIDE
47# This is default...so normally images shall be possible to override
48# 5 If the image is built by the test script,
49# add the short name to LOCAL_IMAGE_BUILD
BjornMagnussonXA663566c2021-11-08 10:25:07 +010050# 6 Special app used only by the test env is added to TESTENV_KUBE_SYSTEM_APPS and/or TESTENV_DOCKER_SYSTEM_APPS
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010051# Summary:
52# All app short name shall exist in APP_SHORT_NAMES
53# Then the app short name be added to both PROJECT_IMAGES and AVAILABLE_IMAGES_OVERRIDE
54# or only to LOCAL_IMAGE_BUILD