File tree Expand file tree Collapse file tree
systemtest/tmt/tests/strimzi Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33set -x
44
5- RELEASE =$( cat release.version)
5+ RELEASE_VERSION =$( cat release.version)
66
77# The commands 1) and 2) are used for change tag in installation files for CO. For each branch only of them match and apply changes
88# 1) The following command is applied only for branches, where release.version contains *SNAPSHOT* (main + others)
99sed -i " s#:latest#:${DOCKER_TAG} #g" packaging/install/cluster-operator/* -Deployment-strimzi-cluster-operator.yaml
1010# 2) The following command is applied only for release branches, where release.version contains a final version like 0.29.0
11- sed -i " s#:${RELEASE } #:${DOCKER_TAG} #g" packaging/install/cluster-operator/* -Deployment-strimzi-cluster-operator.yaml
11+ sed -i " s#:${RELEASE_VERSION } #:${DOCKER_TAG} #g" packaging/install/cluster-operator/* -Deployment-strimzi-cluster-operator.yaml
1212
1313# Change registry and org
1414sed -i " s#/opt/${DOCKER_REGISTRY} #/opt#g" packaging/install/cluster-operator/* -Deployment-strimzi-cluster-operator.yaml
Original file line number Diff line number Diff line change 33# Move to root folder of strimzi
44cd ../../../../
55
6- # Prepare files for upgrade
7- ./.azure/scripts/setup_upgrade.sh
8-
96# Build connect image
107if [[ ${IP_FAMILY} == " ipv4" || ${IP_FAMILY} == " dual" ]]; then
118 DOCKER_REGISTRY=$( hostname --ip-address | grep -oE ' \b([0-9]{1,3}\.){3}[0-9]{1,3}\b' | awk ' $1 != "127.0.0.1" { print $1 }' | head -1)
@@ -25,6 +22,9 @@ if [[ ${RELEASE:-False} == True ]]; then
2522 export DOCKER_TAG=" ${PACKIT_TAG_NAME} "
2623fi
2724
25+ # Prepare files for upgrade
26+ ./.azure/scripts/setup_upgrade.sh
27+
2828echo " Using container registry '$DOCKER_REGISTRY '"
2929echo " Using container org '$DOCKER_ORG '"
3030echo " Using container tag '$DOCKER_TAG '"
You can’t perform that action at this time.
0 commit comments