File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616env :
1717 CGO_ENABLED : " 1"
18+ ENVOY_DEV_SHA : " 0d6e3c60aa55e434f28e581df1d25fcb83404b68"
1819
1920jobs :
2021 # ---------------------------------------------------------------------------
5455
5556 # ---------------------------------------------------------------------------
5657 # e2e: all integration test suites against dev Envoy
57- # Dev Envoy is fetched from archive.tetratelabs.io/envoy/download/dev/;
58- # the cache key is pinned to the dev commitSha from envoy-versions.json so
59- # it refreshes automatically when a new dev build is published.
58+ # ENVOY_DEV_SHA pins the dev build; bump it alongside the SDK when updating.
6059 # ---------------------------------------------------------------------------
6160 e2e :
6261 name : e2e
@@ -68,19 +67,12 @@ jobs:
6867 with :
6968 go-version-file : go.mod
7069
71- - name : resolve dev envoy commit
72- id : envoy
73- run : |
74- SHA=$(curl -fsSL https://archive.tetratelabs.io/envoy/envoy-versions.json \
75- | python3 -c "import sys,json; print(json.load(sys.stdin)['dev']['commitSha'])")
76- echo "sha=${SHA}" >> "$GITHUB_OUTPUT"
77-
7870 - name : cache envoy
7971 id : cache-envoy
8072 uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
8173 with :
8274 path : .bin/envoy
83- key : envoy-dev-${{ steps.envoy.outputs.sha }}-linux-amd64
75+ key : envoy-dev-${{ env.ENVOY_DEV_SHA }}-linux-amd64
8476
8577 - name : download envoy
8678 if : steps.cache-envoy.outputs.cache-hit != 'true'
You can’t perform that action at this time.
0 commit comments