diff --git a/examples/vrp-litmus/Dockerfile-vrp b/examples/vrp-litmus/Dockerfile-vrp new file mode 100644 index 000000000000..f0e6704d6d21 --- /dev/null +++ b/examples/vrp-litmus/Dockerfile-vrp @@ -0,0 +1 @@ +FROM envoyproxy/envoy-google-vrp-dev:latest diff --git a/examples/vrp-litmus/README.md b/examples/vrp-litmus/README.md new file mode 100644 index 000000000000..58c14b3fd8cb --- /dev/null +++ b/examples/vrp-litmus/README.md @@ -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. diff --git a/examples/vrp-litmus/docker-compose.yaml b/examples/vrp-litmus/docker-compose.yaml new file mode 100644 index 000000000000..46eefcafb9aa --- /dev/null +++ b/examples/vrp-litmus/docker-compose.yaml @@ -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: {} diff --git a/examples/vrp-litmus/verify.sh b/examples/vrp-litmus/verify.sh new file mode 100755 index 000000000000..02791785c628 --- /dev/null +++ b/examples/vrp-litmus/verify.sh @@ -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