summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
492c285)
This updates the container builds to be published to
hub.docker.com/u/anuket over hub.docker.com/u/opnfv.
Change-Id: I8a182277fc35f9d04925cc63b4eedf57a4b25f0c
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
#
# $ docker ps -a
# CONTAINER ID IMAGE COMMAND ...
#
# $ docker ps -a
# CONTAINER ID IMAGE COMMAND ...
- # 6a796ed40b8e opnfv/example-tasks:latest "/bin/bash" ...
- # 99fcb59f4787 opnfv/example-tasks-base:latest "/bin/bash" ...
- # cc5eee16b995 opnfv/example-tasks-k8s "/bin/bash" ...
+ # 6a796ed40b8e anuket/example-tasks:latest "/bin/bash" ...
+ # 99fcb59f4787 anuket/example-tasks-base:latest "/bin/bash" ...
+ # cc5eee16b995 anuket/example-tasks-k8s "/bin/bash" ...
#
# Cut image name by leading space and ending space or colon(tag)
if [[ -n "$(docker ps -a | grep " $DOCKER_REPO_NAME[ :]")" ]]; then
#
# Cut image name by leading space and ending space or colon(tag)
if [[ -n "$(docker ps -a | grep " $DOCKER_REPO_NAME[ :]")" ]]; then
#
# $ docker images
# REPOSITORY TAG IMAGE ID ...
#
# $ docker images
# REPOSITORY TAG IMAGE ID ...
- # opnfv/example-tasks latest 6501569fd328 ...
- # opnfv/example-tasks-base latest 8764fe29c434 ...
- # opnfv/example-tasks-k8s latest 61094cac9e65 ...
+ # anuket/example-tasks latest 6501569fd328 ...
+ # anuket/example-tasks-base latest 8764fe29c434 ...
+ # anuket/example-tasks-k8s latest 61094cac9e65 ...
#
# Cut image name by start of line and ending space
if [[ -n "$(docker images | grep "^$DOCKER_REPO_NAME ")" ]]; then
#
# Cut image name by start of line and ending space
if [[ -n "$(docker images | grep "^$DOCKER_REPO_NAME ")" ]]; then
# If we're being triggered by a comment-added job, then extract the tag
# from the comment and use that as the release version.
# If we're being triggered by a comment-added job, then extract the tag
# from the comment and use that as the release version.
-# Expected comment format: retag opnfv-x.y.z
+# Expected comment format: retag anuket-x.y.z
if [[ "${GERRIT_EVENT_TYPE:-}" == "comment-added" ]]; then
RELEASE_VERSION=$(echo "$GERRIT_EVENT_COMMENT_TEXT" | grep 'retag' | awk '{print $2}')
fi
if [[ "${GERRIT_EVENT_TYPE:-}" == "comment-added" ]]; then
RELEASE_VERSION=$(echo "$GERRIT_EVENT_COMMENT_TEXT" | grep 'retag' | awk '{print $2}')
fi
extra_build_args: ""
# This is the dockerhub repo the image will be pushed to as
extra_build_args: ""
# This is the dockerhub repo the image will be pushed to as
- # 'opnfv/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
+ # 'anuket/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
# 'project' is the OPNFV repo we expect to contain the Dockerfile
# yamllint disable rule:key-duplicates
dockerrepo:
# 'project' is the OPNFV repo we expect to contain the Dockerfile
# yamllint disable rule:key-duplicates
dockerrepo:
description: "To enable/disable pushing the image to Dockerhub."
- string:
name: DOCKER_REPO_NAME
description: "To enable/disable pushing the image to Dockerhub."
- string:
name: DOCKER_REPO_NAME
- default: "opnfv/{dockerrepo}"
+ default: "anuket/{dockerrepo}"
description: "Dockerhub repo to be pushed to."
- string:
name: DOCKER_DIR
description: "Dockerhub repo to be pushed to."
- string:
name: DOCKER_DIR