diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2023-04-05 13:47:15 +0100 |
---|---|---|
committer | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2023-05-02 18:52:04 +0100 |
commit | 65fc37591b2934871e7ca4d2db4a76ad4bba7572 (patch) | |
tree | d8cb27f8796635b5e3682376ed05392079b6850b /csit/resources/scripts | |
parent | 19b753bd8d2e96364544b2f441f2f8e0fb44fd49 (diff) |
Enable ACM tests in K8s CSIT
Moved all the image references to the parent chart.
Updating the latest image tags during installation.
Disabling charts by default and enabling only the project specific ones.
Issue-ID: POLICY-4541
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ie22584ff38e777379ac1ee2d61743868a8b93b5c
Diffstat (limited to 'csit/resources/scripts')
-rwxr-xr-x | csit/resources/scripts/run-test.sh | 3 | ||||
-rwxr-xr-x | csit/resources/scripts/setup-clamp.sh | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/csit/resources/scripts/run-test.sh b/csit/resources/scripts/run-test.sh index 6286e9cf..02f06ff4 100755 --- a/csit/resources/scripts/run-test.sh +++ b/csit/resources/scripts/run-test.sh @@ -36,6 +36,7 @@ DISTRIBUTION_IP=policy-distribution:6969 DMAAP_IP=message-router:3904 APEX_EVENTS_IP=policy-apex-pdp:23324 PROMETHEUS_IP=prometheus:9090 +CLAMP_K8S_TEST=true DIST_TEMP_FOLDER=/tmp/distribution @@ -44,7 +45,7 @@ ROBOT_VARIABLES="-v DATA:$DATA -v NODETEMPLATES:$NODETEMPLATES -v POLICY_API_IP: -v POLICY_RUNTIME_ACM_IP:$POLICY_RUNTIME_ACM_IP -v POLICY_PAP_IP:$POLICY_PAP_IP -v APEX_IP:$APEX_IP -v APEX_EVENTS_IP:$APEX_EVENTS_IP -v DMAAP_IP:$DMAAP_IP -v PROMETHEUS_IP:${PROMETHEUS_IP} -v POLICY_PDPX_IP:$POLICY_PDPX_IP -v POLICY_DROOLS_IP:$POLICY_DROOLS_IP -v TEMP_FOLDER:${DIST_TEMP_FOLDER} --v DISTRIBUTION_IP:$DISTRIBUTION_IP" +-v DISTRIBUTION_IP:$DISTRIBUTION_IP -v CLAMP_K8S_TEST:$CLAMP_K8S_TEST" echo "Run Robot test" echo ROBOT_VARIABLES="${ROBOT_VARIABLES}" diff --git a/csit/resources/scripts/setup-clamp.sh b/csit/resources/scripts/setup-clamp.sh index e680cf09..4eae4da3 100755 --- a/csit/resources/scripts/setup-clamp.sh +++ b/csit/resources/scripts/setup-clamp.sh @@ -25,9 +25,11 @@ unset http_proxy https_proxy # wait for the app to start up "${SCRIPTS}"/wait_for_rest.sh localhost "${ACM_PORT}" +CLAMP_K8S_TEST=false + export SUITES="policy-clamp-test.robot" ROBOT_VARIABLES="-v POLICY_RUNTIME_ACM_IP:localhost:${ACM_PORT} --v POLICY_API_IP:localhost:${API_PORT} -v POLICY_PAP_IP:localhost:${PAP_PORT}" +-v POLICY_API_IP:localhost:${API_PORT} -v POLICY_PAP_IP:localhost:${PAP_PORT} -v CLAMP_K8S_TEST:$CLAMP_K8S_TEST" |