Update Docker hooks 09/42409/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 19 Sep 2017 12:17:06 +0000 (14:17 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 19 Sep 2017 12:21:43 +0000 (14:21 +0200)
It takes euphrates into account in Docker tag name.

Change-Id: Id455152655c8174b7cab9780c27d923f33173f28
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/components/hooks/post_checkout
docker/features/hooks/post_checkout
docker/healthcheck/hooks/post_checkout
docker/parser/hooks/post_checkout
docker/restapi/hooks/post_checkout
docker/smoke/hooks/post_checkout
docker/vnf/hooks/post_checkout

index 20a6d4b..8f5e433 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-from="${DOCKER_REPO%/*}/functest-core"
+from="${DOCKER_REPO%/*}/functest-core:euphrates"
 sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
 
 exit $?
index 20a6d4b..8f5e433 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-from="${DOCKER_REPO%/*}/functest-core"
+from="${DOCKER_REPO%/*}/functest-core:euphrates"
 sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
 
 exit $?
index 20a6d4b..8f5e433 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-from="${DOCKER_REPO%/*}/functest-core"
+from="${DOCKER_REPO%/*}/functest-core:euphrates"
 sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
 
 exit $?
index 20a6d4b..8f5e433 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-from="${DOCKER_REPO%/*}/functest-core"
+from="${DOCKER_REPO%/*}/functest-core:euphrates"
 sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
 
 exit $?
index 20a6d4b..8f5e433 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-from="${DOCKER_REPO%/*}/functest-core"
+from="${DOCKER_REPO%/*}/functest-core:euphrates"
 sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
 
 exit $?
index 20a6d4b..8f5e433 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-from="${DOCKER_REPO%/*}/functest-core"
+from="${DOCKER_REPO%/*}/functest-core:euphrates"
 sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
 
 exit $?
index 20a6d4b..8f5e433 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-from="${DOCKER_REPO%/*}/functest-core"
+from="${DOCKER_REPO%/*}/functest-core:euphrates"
 sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
 
 exit $?