-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: add VRP runtime validation to verify_examples. (#14099)
This is a regression test to cover the issue underlying #14066. Risk level: Low Testing: Validating manually verify.sh passes, CI. Signed-off-by: Harvey Tuch <htuch@google.com>
- Loading branch information
Showing
4 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FROM envoyproxy/envoy-google-vrp-dev:latest |
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,3 @@ | ||
Simple litmus test to verify the VRP image in CI. For more details on VRP, | ||
please see | ||
https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/security/google_vrp. |
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,17 @@ | ||
version: "3.7" | ||
services: | ||
|
||
vrp: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile-vrp | ||
environment: | ||
ENVOY_EDGE_EXTRA_ARGS: "" | ||
ENVOY_ORIGIN_EXTRA_ARGS: "" | ||
networks: | ||
- envoymesh | ||
ports: | ||
- "10000:10000" | ||
|
||
networks: | ||
envoymesh: {} |
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,14 @@ | ||
#!/bin/bash -e | ||
|
||
export NAME=vrp-litmus | ||
export DELAY=10 | ||
|
||
# shellcheck source=examples/verify-common.sh | ||
. "$(dirname "${BASH_SOURCE[0]}")/../verify-common.sh" | ||
|
||
|
||
run_log "Test proxy" | ||
responds_with \ | ||
normal \ | ||
https://localhost:10000/content \ | ||
-k |