forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor example-e2e test (envoyproxy#19)
- Loading branch information
Showing
14 changed files
with
137 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2022 The OWASP Coraza contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
FROM curlimages/curl | ||
USER root | ||
|
||
WORKDIR /workspace | ||
|
||
RUN apk add --no-cache bash | ||
|
||
COPY ./e2e-example.sh /workspace/e2e-example.sh | ||
|
||
ENV ENVOY_HOST=envoy:8080 | ||
ENV HTTPBIN_HOST=httpbin | ||
|
||
CMD ["bash","-c", "/workspace/e2e-example.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,19 @@ | ||
services: | ||
httpbin: | ||
image: kennethreitz/httpbin:latest | ||
envoy: | ||
image: ${ENVOY_IMAGE:-envoyproxy/envoy:v1.23-latest} | ||
depends_on: | ||
- httpbin | ||
image: envoyproxy/envoy:v1.23-latest | ||
command: | ||
- -c | ||
- /conf/envoy-config.yaml | ||
- --log-level | ||
- info | ||
- --component-log-level | ||
- wasm:debug | ||
volumes: | ||
- ../build:/build | ||
- .:/conf | ||
ports: | ||
- 8001:8001 | ||
- ../example:/conf # relying on envoy-config file from /example/ | ||
tests: | ||
depends_on: | ||
- envoy | ||
image: curlimages/curl | ||
entrypoint: sh | ||
command: | ||
- /conf/tests.sh | ||
- envoy | ||
volumes: | ||
- .:/conf | ||
build: | ||
context: . | ||
dockerfile: ./Dockerfile.curl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.