77b8ee005514171d419b4d7e9168162a651d98e4
[nonrtric.git] / test / common / testengine_config.sh
1 #!/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
21 APP_SHORT_NAMES="A1PMS ICS SDNC CP NGW RC RICSIM HTTPPROXY CBS CONSUL DMAAPMR MR CR PRODSTUB KUBEPROXY DMAAPMED DMAAPADP PVCCLEANER KAFKAPC CHARTMUS HELMMANAGER LOCALHELM KEYCLOAK ISTIO AUTHSIDECAR"
22
23 # List of available apps that built and released of the project
24 PROJECT_IMAGES="A1PMS ICS SDNC CP NGW RICSIM RC DMAAPMED DMAAPADP HELMMANAGER AUTHSIDECAR"
25
26 # List of available apps to override with local or remote staging/snapshot/release image
27 AVAILABLE_IMAGES_OVERRIDE="A1PMS ICS SDNC CP NGW RICSIM RC DMAAPMED DMAAPADP HELMMANAGER AUTHSIDECAR"
28
29 # List of available apps where the image is built by the test environment
30 LOCAL_IMAGE_BUILD="MR CR PRODSTUB KUBEPROXY HTTPPROXY KAFKAPC"
31
32 # List of system app used only by the test env - kubernetes
33 TESTENV_KUBE_SYSTEM_APPS="PVCCLEANER"
34
35 # List of system app used only by the test env - docker
36 TESTENV_DOCKER_SYSTEM_APPS=""
37
38
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
50 # 6 Special app used only by the test env is added to TESTENV_KUBE_SYSTEM_APPS and/or TESTENV_DOCKER_SYSTEM_APPS
51 # 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