@@ -140,16 +140,15 @@ jobs:
140140 strategy :
141141 fail-fast : false
142142 matrix :
143- # Note: we cannot run the latest Envoy version on macOS due to https://github.com/tetratelabs/archive-envoy/issues/12.
144- # Once it's supported, the following "binary installation" steps below can be just removed and
145- # we can simply exec.Cmd with "go tool -modfile=tools/go.mod func-e run" with the envoy version configured via ENVOY_VERSION env var.
146143 include :
147- - version : 1.35.0 # NOTE: when updating this, also update the comment in the CONTRIBUTING.md file.
144+ - version : 1.35.0
148145 os : ubuntu-latest
149- - version : 1.35.0 # NOTE: when updating this, also update the comment in the CONTRIBUTING.md file.
146+ - version : 1.35.0
150147 os : macos-latest
151- - version : latest
148+ - version : 1.36.0
152149 os : ubuntu-latest
150+ - version : 1.36.0
151+ os : macos-latest
153152 runs-on : ${{ matrix.os }}
154153 steps :
155154 - uses : actions/checkout@v4
@@ -164,19 +163,6 @@ jobs:
164163 ~/go/pkg/mod
165164 ~/go/bin
166165 key : extproc-tests-${{ hashFiles('**/go.mod', '**/go.sum', '**/Makefile') }}
167- - name : Install stable Envoy via func-e
168- if : matrix.version != 'latest'
169- run : |
170- go tool -modfile=tools/go.mod func-e use ${{ matrix.version }}
171- echo $HOME/.func-e/versions/${{ matrix.version }}/bin >> $GITHUB_PATH
172- - name : Install latest Envoy
173- if : matrix.version == 'latest'
174- run : |
175- export ENVOY_BIN_DIR=$HOME/envoy/bin
176- mkdir -p $ENVOY_BIN_DIR
177- docker run -v $ENVOY_BIN_DIR:/tmp/ci -w /tmp/ci \
178- --entrypoint /bin/cp envoyproxy/envoy-dev:latest /usr/local/bin/envoy .
179- echo $ENVOY_BIN_DIR >> $GITHUB_PATH
180166 - env :
181167 TEST_AWS_ACCESS_KEY_ID : ${{ secrets.AWS_BEDROCK_USER_AWS_ACCESS_KEY_ID }}
182168 TEST_AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_BEDROCK_USER_AWS_SECRET_ACCESS_KEY }}
@@ -187,6 +173,8 @@ jobs:
187173 TEST_SAMBANOVA_API_KEY : ${{ secrets.ENVOY_AI_GATEWAY_SAMBANOVA_API_KEY }}
188174 TEST_DEEPINFRA_API_KEY : ${{ secrets.ENVOY_AI_GATEWAY_DEEPINFRA_API_KEY }}
189175 TEST_GITHUB_ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
176+ # This will be picked up by func-e to run the specified Envoy version.
177+ ENVOY_VERSION : ${{ matrix.version }}
190178 run : make test-extproc
191179
192180 test_e2e :
0 commit comments