Skip to content

Commit

Permalink
skip envoy version check in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
NiniOak committed Oct 20, 2023
1 parent 8c18c8a commit 8a3164f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/scripts/verify_envoy_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ if [ -z "$current_branch" ]; then
exit 1
fi

if [[ "$SKIP_VERIFY_ENVOY_VERSION" = "true" ]]; then
echo -e "*************** VERIFY ENVOY VERSION IS DISABLED. To enable, update environment variable in Github settings *****************"
exit 0
fi

# Get Consul and Envoy version
SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
pushd $SCRIPT_DIR/../.. # repository root
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/verify-envoy-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
branches:
- main
- release/**
- disable_envoy_check

env:
SKIP_VERIFY_ENVOY_VERSION: ${{ vars.SKIP_VERIFY_ENVOY_VERSION }}

jobs:
verify-envoy-version:
Expand Down

0 comments on commit 8a3164f

Please sign in to comment.