From 13325ade9e4d2ea1046062e4efce9c54c8d877cd Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Wed, 12 Sep 2018 19:53:55 +0200 Subject: [docker] Relax verify check for docker pull JIRA: FUEL-383 Change-Id: I9203aa8d20def5b78d261f8c6847ddc576f0feb7 Signed-off-by: Alexandru Avadanii --- mcp/scripts/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/scripts') diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh index 34229df08..df35f3706 100644 --- a/mcp/scripts/lib.sh +++ b/mcp/scripts/lib.sh @@ -497,7 +497,7 @@ function prepare_containers { docker-compose --version > /dev/null 2>&1 || COMPOSE_PREFIX="${image_dir}/" "${COMPOSE_PREFIX}docker-compose" -f docker-compose/docker-compose.yaml down - if [ ! "${MCP_DOCKER_TAG}" = 'verify' ]; then + if [[ ! "${MCP_DOCKER_TAG}" =~ 'verify' ]]; then "${COMPOSE_PREFIX}docker-compose" -f docker-compose/docker-compose.yaml pull fi sudo rm -rf "${image_dir}/"{salt,hosts,pki} "${image_dir}/nodes/"* -- cgit 1.2.3-korg