diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2022-07-13 12:57:16 +0100 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2022-07-14 12:26:47 +0100 |
commit | af8d434068e6f0d2b88c152b069afdcaf162f6c2 (patch) | |
tree | 99f3391e2133056e664d7a03d916d9342fbfb6f1 /csit/plans/dmi/setup.sh | |
parent | a20d608105689d830823af149a2a5f7bcf68e696 (diff) |
Update dependencies (release task)
- Changed HTTP Client version to 4.5.13
- Use system Docker-Compose instead of downloading it
- Removed ALL Docker Compose File versions
Issue-ID: CPS-1106
Change-Id: I0734099caad79acd52aecdb2faf98cceb0943224
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Diffstat (limited to 'csit/plans/dmi/setup.sh')
-rwxr-xr-x | csit/plans/dmi/setup.sh | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/csit/plans/dmi/setup.sh b/csit/plans/dmi/setup.sh index 9a6d27bc..03d79c2b 100755 --- a/csit/plans/dmi/setup.sh +++ b/csit/plans/dmi/setup.sh @@ -55,12 +55,11 @@ mkdir -p $WORKSPACE/archives/ncmp-dmi-plugin cp $WORKSPACE/../docker-compose/*.yml $WORKSPACE/archives/ncmp-dmi-plugin cd $WORKSPACE/archives/ncmp-dmi-plugin -# download docker-compose of a required version (1.25.0 supports configuration of version 3.7) -curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > docker-compose -chmod +x docker-compose +# Check Docker Compose version on system +docker-compose version # start CPS and PostgreSQL containers with docker compose -./docker-compose up -d +docker-compose up -d ####################### setup cps-ncmp ############################ @@ -70,10 +69,7 @@ mkdir -p $WORKSPACE/archives/dc-cps-ncmp cat $WORKSPACE/archives/cps/docker-compose/docker-compose.yml cp $WORKSPACE/archives/cps/docker-compose/*.yml $WORKSPACE/archives/dc-cps-ncmp cd $WORKSPACE/archives/dc-cps-ncmp -# copy docker-compose (downloaded already for cps) -cp $WORKSPACE/archives/ncmp-dmi-plugin/docker-compose . -chmod +x docker-compose -./docker-compose up -d +docker-compose up -d ###################### setup sdnc ####################################### source $WORKSPACE/plans/dmi/sdnc/sdnc_setup.sh @@ -138,4 +134,4 @@ check_health $DMI_HOST:$DMI_MANAGEMENT_PORT 'dmi-plugin' ###################### ROBOT Configurations ########################## # Pass variables required for Robot test suites in ROBOT_VARIABLES -ROBOT_VARIABLES="-v CPS_CORE_HOST:$CPS_CORE_HOST -v CPS_CORE_PORT:$CPS_CORE_PORT -v DMI_HOST:$LOCAL_IP -v DMI_PORT:$DMI_PORT -v DMI_MANAGEMENT_PORT:$DMI_MANAGEMENT_PORT -v CPS_CORE_MANAGEMENT_PORT:$CPS_CORE_MANAGEMENT_PORT -v SDNC_HOST:$SDNC_HOST -v SDNC_PORT:$SDNC_PORT -v DATADIR:$WORKSPACE/data --exitonfailure"
\ No newline at end of file +ROBOT_VARIABLES="-v CPS_CORE_HOST:$CPS_CORE_HOST -v CPS_CORE_PORT:$CPS_CORE_PORT -v DMI_HOST:$LOCAL_IP -v DMI_PORT:$DMI_PORT -v DMI_MANAGEMENT_PORT:$DMI_MANAGEMENT_PORT -v CPS_CORE_MANAGEMENT_PORT:$CPS_CORE_MANAGEMENT_PORT -v SDNC_HOST:$SDNC_HOST -v SDNC_PORT:$SDNC_PORT -v DATADIR:$WORKSPACE/data --exitonfailure" |