diff options
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/global-templates-golang.yaml | 3 | ||||
-rw-r--r-- | jjb/integration/integration-macros.yaml | 8 | ||||
-rwxr-xr-x | jjb/music/build-music-distributed-kv-store-image.sh | 3 |
3 files changed, 12 insertions, 2 deletions
diff --git a/jjb/global-templates-golang.yaml b/jjb/global-templates-golang.yaml index 4d48b871f..c85c74ac0 100644 --- a/jjb/global-templates-golang.yaml +++ b/jjb/global-templates-golang.yaml @@ -169,7 +169,8 @@ branch: '{branch}' refspec: 'refs/heads/{branch}' artifacts: '{archive-artifacts}' - + - integration-unique-docker-tag: + unique-docker-tag: '' scm: - gerrit-trigger-scm: refspec: '' diff --git a/jjb/integration/integration-macros.yaml b/jjb/integration/integration-macros.yaml index a6d3695ea..d485b8ed7 100644 --- a/jjb/integration/integration-macros.yaml +++ b/jjb/integration/integration-macros.yaml @@ -47,6 +47,14 @@ default: '{terragrunt-version}' description: 'Terragrunt version to install on minion' +- parameter: + name: integration-unique-docker-tag + parameters: + - string: + name: UNIQUE_DOCKER_TAG + default: '{unique-docker-tag}' + description: 'Unique docker tag to identify specific version' + - builder: name: integration-install-robotframework builders: diff --git a/jjb/music/build-music-distributed-kv-store-image.sh b/jjb/music/build-music-distributed-kv-store-image.sh index d11f0534d..69a7785c1 100755 --- a/jjb/music/build-music-distributed-kv-store-image.sh +++ b/jjb/music/build-music-distributed-kv-store-image.sh @@ -1,9 +1,10 @@ #!/bin/bash echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES =================' +echo "============== Unique docker tag: ${UNIQUE_DOCKER_TAG}" CURRENTDIR="$(pwd)" echo $CURRENTDIR chmod 755 ./deployment/*.sh cd ./deployment -./docker-build.sh +./docker-build.sh ${UNIQUE_DOCKER_TAG} |