Backport of skip envoy version check in ci into release/1.16.x (#19316)
* no-op commit due to failed cherry-picking * Update verify-envoy-version.yml * Update verify-envoy-version.yml --------- Co-authored-by: temp <temp@hashicorp.com> Co-authored-by: Anita Akaeze <anita.akaeze@hashicorp.com>
This commit is contained in:
parent
963f609b6d
commit
11ee74d054
|
@ -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
|
||||
|
|
|
@ -14,6 +14,9 @@ on:
|
|||
- main
|
||||
- release/**
|
||||
|
||||
env:
|
||||
SKIP_VERIFY_ENVOY_VERSION: ${{ vars.SKIP_VERIFY_ENVOY_VERSION }}
|
||||
|
||||
jobs:
|
||||
verify-envoy-version:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -25,4 +28,4 @@ jobs:
|
|||
- name: Run Envoy Version Verification for main and release branches
|
||||
run: ./.github/scripts/verify_envoy_version.sh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue