summaryrefslogtreecommitdiffstats
path: root/jjb/fuel
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-10-25 13:45:26 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-10-25 13:45:26 +0400
commit1590de2d2a85506c29826c6914dc1cbe218d4113 (patch)
tree48c60e6fd179f6e0a110133952a4a661660a0348 /jjb/fuel
parent08ba3bca0a012275ae72920f2be6719c7cf357d7 (diff)
[fuel] Define Docker tag for stable branches
Change-Id: Ic3c99eee282641eb15880fe18578cbee534308e5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'jjb/fuel')
-rwxr-xr-xjjb/fuel/fuel-deploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-deploy.sh b/jjb/fuel/fuel-deploy.sh
index c0cdc3dc2..e66dbe1bd 100755
--- a/jjb/fuel/fuel-deploy.sh
+++ b/jjb/fuel/fuel-deploy.sh
@@ -19,6 +19,9 @@ LAB_NAME=${NODE_NAME/-*}
# shellcheck disable=SC2153
POD_NAME=${NODE_NAME/*-}
+# define Docker tag for stable branches
+[[ "${BRANCH}" != master ]] && export MCP_DOCKER_TAG=${BRANCH##*/}
+
# Fuel currently supports arm, enea, ericsson, intel, lf, unh and zte labs
if [[ ! "${LAB_NAME}" =~ (arm|enea|ericsson|intel|lf|unh|zte) ]]; then
echo "Unsupported/unidentified lab ${LAB_NAME}. Cannot continue!"