Skip to content

Commit

Permalink
Exiting on error
Browse files Browse the repository at this point in the history
  • Loading branch information
willdavsmith committed Sep 13, 2023
1 parent 456dafc commit 2a88496
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/release-verification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# limitations under the License.
# ------------------------------------------------------------

set -ex

# RELEASE_VERSION_NUMBER is the Radius release version number
# (e.g. 0.24.0, 0.24.0-rc1)
RELEASE_VERSION_NUMBER=$1
Expand Down Expand Up @@ -65,7 +67,6 @@ APPCORE_RP_IMAGE=$(kubectl describe pods -n radius-system -l control-plane=appli
UCP_IMAGE=$(kubectl describe pods -n radius-system -l control-plane=ucp | awk '/^.*Image:/ {print $2}')
DE_IMAGE=$(kubectl describe pods -n radius-system -l control-plane=bicep-de | awk '/^.*Image:/ {print $2}')


if [[ "${APPCORE_RP_IMAGE}" != "${EXPECTED_APPCORE_RP_IMAGE}" ]]; then
echo "Error: Applications RP image: ${APPCORE_RP_IMAGE} does not match the desired image: ${EXPECTED_APPCORE_RP_IMAGE}."
exit 1
Expand Down

0 comments on commit 2a88496

Please sign in to comment.