Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 1f21029

Browse files
authored
Merge pull request #61 from tetratelabs/getenvoy-image
use getenvoy org's image for ci
2 parents cbabcac + 2249c7f commit 1f21029

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

.github/workflows/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
needs: build-examples
5454
runs-on: ubuntu-latest
5555
container:
56-
image: mathetake/proxy-wasm-go-ci:istio-${{ matrix.istio-version }}
56+
image: getenvoy/proxy-wasm-go-sdk-ci:istio-${{ matrix.istio-version }}
5757
steps:
5858
- name: checkout
5959
uses: actions/checkout@v2

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.DEFAULT_GOAL := build.examples
22

3+
ISTIO_VERSION ?= 1.7.2
4+
35
.PHONY: help build.example build.examples lint test test.sdk test.e2e
46
help:
57
grep -E '^[a-z0-9A-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@@ -17,10 +19,10 @@ test:
1719
go test -tags=proxytest $(go list ./... | grep -v e2e | sed 's/github.com\/tetratelabs\/proxy-wasm-go-sdk/./g')
1820

1921
test.e2e:
20-
docker run -it -w /tmp/proxy-wasm-go -v $(shell pwd):/tmp/proxy-wasm-go mathetake/proxy-wasm-go-ci:istio-1.7.2 go test ./e2e
22+
docker run -it -w /tmp/proxy-wasm-go -v $(shell pwd):/tmp/proxy-wasm-go getenvoy/proxy-wasm-go-sdk-ci:istio-${ISTIO_VERSION} go test -v ./e2e
2123

2224
run:
2325
docker run --entrypoint='/usr/local/bin/envoy' \
2426
-p 18000:18000 -p 8099:8099 \
25-
-w /tmp/envoy -v $(shell pwd):/tmp/envoy istio/proxyv2:1.7.2 \
27+
-w /tmp/envoy -v $(shell pwd):/tmp/envoy getenvoy/proxy-wasm-go-sdk-ci:istio-${ISTIO_VERSION} \
2628
-c /tmp/envoy/examples/${name}/envoy.yaml --concurrency 2

e2e/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Copyright 2020 Tetrate
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# docker image for running e2e tests using istio/proxyv2 binary
16+
# TODO: build on GHA
17+
118
FROM istio/proxyv2:1.7.2
219

320
FROM golang:1.15

0 commit comments

Comments
 (0)