Skip to content

Commit d47f95c

Browse files
committed
ci: pin ENVOY_DEV_SHA to 0d6e3c60; drop runtime versions.json fetch
1 parent 78591df commit d47f95c

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515

1616
env:
1717
CGO_ENABLED: "1"
18+
ENVOY_DEV_SHA: "0d6e3c60aa55e434f28e581df1d25fcb83404b68"
1819

1920
jobs:
2021
# ---------------------------------------------------------------------------
@@ -54,9 +55,7 @@ jobs:
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'

0 commit comments

Comments
 (0)