Fix CICD script that checks envoy versions. (#20385)

pull/20388/head
Derek Menteer 10 months ago committed by GitHub
parent 2ca2b89ba3
commit 6406f8494b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -132,7 +132,7 @@ _envoy_versions_default=($ENVOY_VERSIONS_DEFAULT_BRANCH)
## Validate supported envoy versions available - should be 4
echo
echo "Validating supported envoy versions available on branches: $current_branch and $GITHUB_DEFAULT_BRANCH"
if [ "${#_envoy_versions_default[@]}" != 7 ] || [ "${#_envoy_versions[@]}" != 7 ]; then
if [ "${#_envoy_versions_default[@]}" != 4 ] || [ "${#_envoy_versions[@]}" != 7 ]; then
echo "Branch $GITHUB_DEFAULT_BRANCH =>Consul version: ${CONSUL_VERSION_DEFAULT_BRANCH}; Envoy versions: $ENVOY_VERSIONS_DEFAULT_BRANCH"
echo "Branch $current_branch =>Consul version: ${CONSUL_VERSION}; Envoy versions: $_envoy_versions"
echo "ERROR! Envoy should have 7 compatible versions."

Loading…
Cancel
Save