diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2024-07-02 09:16:56 +0000 |
---|---|---|
committer | Ramesh Murugan Iyer <ramesh.murugan.iyer@est.tech> | 2024-07-04 22:00:18 +0000 |
commit | f851a5eda60629690cc078d4d659e2c296d4d69f (patch) | |
tree | ad03e68142d11f278b8828134aeafac09b916442 /csit/run-project-csit.sh | |
parent | 36127476ae049d82b843ef34577a330a34c82c61 (diff) |
Add docker compose for clamp replica
New docker-compose for installing clamp in replica
CSIT can be triggerred against replica with "clamp-replica" keyword
Issue-ID: POLICY-4913
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I2b0344c02152387d66fe0c3069a997120bdf0f9d
Diffstat (limited to 'csit/run-project-csit.sh')
-rwxr-xr-x | csit/run-project-csit.sh | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/csit/run-project-csit.sh b/csit/run-project-csit.sh index bd2a33eb..aa19b257 100755 --- a/csit/run-project-csit.sh +++ b/csit/run-project-csit.sh @@ -47,6 +47,14 @@ function setup_clamp() { bash "${SCRIPTS}"/wait_for_rest.sh localhost "${ACM_PORT}" } +function setup_clamp_replica() { + export ROBOT_FILES="policy-clamp-test.robot" + export TEST_ENV="docker" + source "${WORKSPACE}"/compose/start-acm-replica.sh 2 + sleep 30 + bash "${SCRIPTS}"/wait_for_rest.sh localhost "${ACM_PORT}" +} + function setup_api() { export ROBOT_FILES="api-test.robot api-slas.robot" source "${WORKSPACE}"/compose/start-compose.sh api --grafana @@ -172,6 +180,10 @@ function set_project_config() { setup_clamp ;; + clamp-replica | policy-clamp-replica) + setup_clamp_replica + ;; + api | policy-api) setup_api ;; @@ -189,11 +201,11 @@ function set_project_config() { ;; apex-pdp-medium | policy-apex-pdp-medium) - setup_apex + setup_apex_medium ;; apex-pdp-large | policy-apex-pdp-large) - setup_apex + setup_apex_large ;; xacml-pdp | policy-xacml-pdp) |