From 105fcee68c3a74e7edde9f8d7fd7846d9aedc253 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Fri, 24 Feb 2017 15:08:41 +0800 Subject: fix internal port of TestAPI There are too many parameters when starting TestAPI container, it will confuse the user. I learned that docker containers like Jenkins and mongo the internal port is fixed, the user only need to change the exposed port, so the same strategy is adopted here Change-Id: I59424f5a1f36945d906975a741b631019fcbd46d Signed-off-by: SerenaFeng --- testapi/docker/prepare-env.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 'testapi/docker/prepare-env.sh') diff --git a/testapi/docker/prepare-env.sh b/testapi/docker/prepare-env.sh index 99433cc..9f07efb 100755 --- a/testapi/docker/prepare-env.sh +++ b/testapi/docker/prepare-env.sh @@ -9,8 +9,3 @@ fi if [ "$swagger_url" != "" ]; then sudo crudini --set --existing $FILE swagger base_url $swagger_url fi - -if [ "$api_port" != "" ];then - sudo crudini --set --existing $FILE api port $api_port -fi - -- cgit 1.2.3-korg