diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-10-29 15:27:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-29 15:27:27 +0000 |
commit | 70e0b787e9e72a7438be6069ab205c96fc18a53d (patch) | |
tree | c4b7284eded00d7afec8b88fabe0677d4f880e6a /jjb | |
parent | e1cda14d7990bd7ea65c7952ed756976ce796544 (diff) | |
parent | 1590de2d2a85506c29826c6914dc1cbe218d4113 (diff) |
Merge "[fuel] Define Docker tag for stable branches"
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/fuel/fuel-deploy.sh | 3 |
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!" |