Skip to content

Commit f4829de

Browse files
authored
Deletes unnecessary components: part 2 (tetratelabs#453)
Signed-off-by: Takeshi Yoneda <[email protected]>
1 parent cbcb260 commit f4829de

File tree

4 files changed

+1
-535
lines changed

4 files changed

+1
-535
lines changed

Makefile

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ test.examples:
2626
| xargs -I {} bash -c 'dirname {}' \
2727
| xargs -I {} bash -c 'cd {} && go test ./...'
2828

29-
.PHONY: test.e2e
30-
test.e2e:
31-
@go test -v ./e2e -count=1
32-
33-
.PHONY: test.e2e.single
34-
test.e2e.single:
35-
@go test -v ./e2e -run '/${name}' -count=1
36-
3729
.PHONY: run
3830
run:
3931
@envoy -c ./examples/${name}/envoy.yaml --concurrency 2 --log-format '%v'
@@ -63,35 +55,6 @@ check:
6355
git diff --exit-code; \
6456
fi
6557

66-
# Build docker images of *compat* variant of Wasm Image Specification with built example binaries,
67-
# and push to ghcr.io/tetratelabs/proxy-wasm-go-sdk-examples.
68-
# See https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md for details.
69-
# Only-used in github workflow on the main branch, and not for developers.
70-
repository := ghcr.io/tetratelabs/proxy-wasm-go-sdk-example
71-
72-
.PHONY: wasm_image.build_push
73-
wasm_image.build_push:
74-
@for f in `find ./examples -type f -name "main.go"`; do \
75-
name=`echo $$f | sed -e 's/\\//-/g' | sed -e 's/\.-examples-//g' -e 's/\-main\.go//g'` ; \
76-
ref=${repository}:$$name; \
77-
docker build -t $$ref . -f examples/wasm-image.Dockerfile --build-arg WASM_BINARY_PATH=$$(dirname $$f)/main.wasm; \
78-
docker push $$ref; \
79-
done
80-
81-
# Build OCI images of *compat* variant of Wasm Image Specification with built example binaries,
82-
# and push to ghcr.io/tetratelabs/proxy-wasm-go-sdk-examples.
83-
# See https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md for details.
84-
# Only-used in github workflow on the main branch, and not for developers.
85-
# Requires "buildah" CLI.
86-
.PHONY: wasm_image.build_push_oci
87-
wasm_image.build_push_oci:
88-
@for f in `find ./examples -type f -name "main.go"`; do \
89-
name=`echo $$f | sed -e 's/\\//-/g' | sed -e 's/\.-examples-//g' -e 's/\-main\.go//g'` ; \
90-
ref=${repository}:$$name-oci; \
91-
buildah bud -f examples/wasm-image.Dockerfile --build-arg WASM_BINARY_PATH=$$(dirname $$f)/main.wasm -t $$ref .; \
92-
buildah push $$ref; \
93-
done
94-
9558
.PHONY: tidy
9659
tidy: ## Runs go mod tidy on every module
9760
@find . -name "go.mod" \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
> such as Lua or External Processing which should be comparable or better or worse depending on the use case.
66
>
77
> If you are already using this SDK, but still want to continue using Wasm for some reason instead of Lua or External Processing,
8-
> we strongly recommend migrating to the Rust or C++ SDK due to the memory issue of TinyGo described in the like above.
8+
> we strongly recommend migrating to the Rust or C++ SDK due to the memory issue of TinyGo described in the link above.
99
>
1010
> We keep this repository open and not archived for the existing users, but we cannot provide any support or guarantee for the future development of this SDK.
1111

0 commit comments

Comments
 (0)