Code Review
/
releng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
08ba3bc
)
[fuel] Define Docker tag for stable branches
03/64003/1
author
Michael Polenchuk
<mpolenchuk@mirantis.com>
Thu, 25 Oct 2018 09:45:26 +0000
(13:45 +0400)
committer
Michael Polenchuk
<mpolenchuk@mirantis.com>
Thu, 25 Oct 2018 09:45:26 +0000
(13:45 +0400)
Change-Id: Ic3c99eee282641eb15880fe18578cbee534308e5
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
jjb/fuel/fuel-deploy.sh
patch
|
blob
|
history
diff --git
a/jjb/fuel/fuel-deploy.sh
b/jjb/fuel/fuel-deploy.sh
index
c0cdc3d
..
e66dbe1
100755
(executable)
--- 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!"