Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from PizzaFactory/pr-update-to-the-upstream
Browse files Browse the repository at this point in the history
Update to the upstream
  • Loading branch information
monaka authored Oct 1, 2019
2 parents 0503870 + 48b526f commit 5b1b9bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.2.0-SNAPSHOT
7.3.0-SNAPSHOT
15 changes: 8 additions & 7 deletions cico_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,20 @@ function build_and_push() {
function build_and_push_release() {
echo "CICO: building release '${TAG}' version of devfile registry"
docker build -t ${IMAGE} -f ${DOCKERFILE_PATH} . \
--build-arg PATCHED_IMAGES_REG=${REGISTRY} \
--build-arg PATCHED_IMAGES_ORG=${ORGANIZATION} \
--build-arg PATCHED_IMAGES_TAG=${TAG}
echo "CICO: release '${TAG}' version of devfile registry built"
tag_push "${REGISTRY}/${ORGANIZATION}/${IMAGE}:${TAG}"
echo "CICO: release '${TAG}' version of devfile registry pushed to '${REGISTRY}/${ORGANIZATION}' organization"
}

# Build images patched to work on OpenShift (work with arbitrary user IDs) and push
# them to registry
# them to registry. NOTE: 'arbitrary-users-patch' images will be pushed only to the public
# 'https://quay.io/organization/eclipse' organization
function build_patched_base_images() {
local TAG=${TAG:-${GIT_COMMIT_TAG}}
echo "CICO: building arbitrary-user-id patched base images with tag '${TAG}'"
"${SCRIPT_DIR}"/arbitrary-users-patch/build_images.sh --push
echo "CICO: pushed '${TAG}' version of the arbitrary-user patched base images"
if [ "$TARGET" == "centos" ]; then
local TAG=${TAG:-${GIT_COMMIT_TAG}}
echo "CICO: building arbitrary-user-id patched base images with tag '${TAG}'"
"${SCRIPT_DIR}"/arbitrary-users-patch/build_images.sh --push
echo "CICO: pushed '${TAG}' version of the arbitrary-user patched base images"
fi
}

0 comments on commit 5b1b9bb

Please sign in to comment.