diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-07-19 13:50:04 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2024-07-19 15:58:32 +0100 |
commit | daecbb96b9a747a2edaf33a3e9a9784cc71440a8 (patch) | |
tree | b15dfb91125912a7945256a68f69dc532814ad55 /compose/start-postgres-tests.sh | |
parent | bb225c8be9e911880995aefa40072e3347bd5004 (diff) |
Add CSIT option to run xacml-pdp against postgres database
Issue-ID: POLICY-5087
Change-Id: Icfece3dbb9263e09a4d59edbea8acad5a4ea7ce3
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'compose/start-postgres-tests.sh')
-rw-r--r-- | compose/start-postgres-tests.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compose/start-postgres-tests.sh b/compose/start-postgres-tests.sh index 1c08600a..2d695911 100644 --- a/compose/start-postgres-tests.sh +++ b/compose/start-postgres-tests.sh @@ -1,7 +1,7 @@ #!/bin/bash # # ============LICENSE_START==================================================== -# Copyright (C) 2023 Nordix Foundation. +# Copyright (C) 2023-2024 Nordix Foundation. # ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -30,7 +30,8 @@ echo "Configuring docker compose..." source export-ports.sh > /dev/null 2>&1 source get-versions.sh > /dev/null 2>&1 -export REPLICAS=${1} -docker-compose -f docker-compose.postgres.yml up -d apex-pdp prometheus +export component=${1} +export REPLICAS=${2} +docker-compose -f docker-compose.postgres.yml up -d ${component} prometheus cd ${WORKSPACE}
\ No newline at end of file |