diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2020-05-06 06:15:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-05-06 06:15:40 +0000 |
commit | 8a477f14b199f96b29e7f99216f39f7ee8273edb (patch) | |
tree | ef7623d92da811beba0aae6772654f1a2400f076 | |
parent | 6bddbf38235ce5b525a9154f833db89e652519f6 (diff) | |
parent | 33b1b899b2f4d1c563eb601ea02c10543542d9dd (diff) |
Merge "change to tty for docker exec"
-rw-r--r-- | plans/policy/apex-pdp/setup.sh | 4 | ||||
-rw-r--r-- | plans/policy/api/setup.sh | 4 | ||||
-rw-r--r-- | plans/policy/distribution/setup.sh | 4 | ||||
-rw-r--r-- | plans/policy/pap/setup.sh | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/plans/policy/apex-pdp/setup.sh b/plans/policy/apex-pdp/setup.sh index 377ce4b1..d3c1d629 100644 --- a/plans/policy/apex-pdp/setup.sh +++ b/plans/policy/apex-pdp/setup.sh @@ -64,8 +64,8 @@ echo ${POLICY_APEX_PDP_VERSION} docker-compose -f ${WORKSPACE}/scripts/policy/policy-apex-pdp/docker-compose-apex.yml run --rm start_dependencies #Configure the database -docker exec -it mariadb chmod +x /docker-entrypoint-initdb.d/db.sh -docker exec -it mariadb /docker-entrypoint-initdb.d/db.sh +docker exec --tty mariadb chmod +x /docker-entrypoint-initdb.d/db.sh +docker exec --tty mariadb /docker-entrypoint-initdb.d/db.sh # now bring everything else up docker-compose -f ${WORKSPACE}/scripts/policy/policy-apex-pdp/docker-compose-apex.yml run --rm start_all diff --git a/plans/policy/api/setup.sh b/plans/policy/api/setup.sh index 8bd4b4af..466435d3 100644 --- a/plans/policy/api/setup.sh +++ b/plans/policy/api/setup.sh @@ -38,8 +38,8 @@ echo ${POLICY_API_VERSION} docker-compose -f ${WORKSPACE}/scripts/policy/docker-compose-api.yml run --rm start_dependencies #Configure the database -docker exec -it mariadb chmod +x /docker-entrypoint-initdb.d/db.sh -docker exec -it mariadb /docker-entrypoint-initdb.d/db.sh +docker exec --tty mariadb chmod +x /docker-entrypoint-initdb.d/db.sh +docker exec --tty mariadb /docker-entrypoint-initdb.d/db.sh # now bring everything else up docker-compose -f ${WORKSPACE}/scripts/policy/docker-compose-api.yml run --rm start_all diff --git a/plans/policy/distribution/setup.sh b/plans/policy/distribution/setup.sh index d1a08632..52573b58 100644 --- a/plans/policy/distribution/setup.sh +++ b/plans/policy/distribution/setup.sh @@ -72,8 +72,8 @@ zip -F ${SCRIPT_DIR}/config/distribution/csar/sample_csar_with_apex_policy.csar docker-compose -f ${SCRIPT_DIR}/docker-compose-distribution.yml run --rm start_dependencies #Configure the database -docker exec -it mariadb chmod +x /docker-entrypoint-initdb.d/db.sh -docker exec -it mariadb /docker-entrypoint-initdb.d/db.sh +docker exec --tty mariadb chmod +x /docker-entrypoint-initdb.d/db.sh +docker exec --tty mariadb /docker-entrypoint-initdb.d/db.sh # now bring everything else up docker-compose -f ${SCRIPT_DIR}/docker-compose-distribution.yml run --rm start_all diff --git a/plans/policy/pap/setup.sh b/plans/policy/pap/setup.sh index a5350b2d..5b060497 100644 --- a/plans/policy/pap/setup.sh +++ b/plans/policy/pap/setup.sh @@ -40,8 +40,8 @@ echo ${POLICY_PAP_VERSION} docker-compose -f ${WORKSPACE}/scripts/policy/docker-compose-pap.yml run --rm start_dependencies #Configure the database -docker exec -it mariadb chmod +x /docker-entrypoint-initdb.d/db.sh -docker exec -it mariadb /docker-entrypoint-initdb.d/db.sh +docker exec --tty mariadb chmod +x /docker-entrypoint-initdb.d/db.sh +docker exec --tty mariadb /docker-entrypoint-initdb.d/db.sh # now bring everything else up docker-compose -f ${WORKSPACE}/scripts/policy/docker-compose-pap.yml run --rm start_all |