| 1 |
# Copy to local-dev.cfg; replace ${UPPERCASED_VARS} with your settings. |
| 2 |
# Usage: python -m tests.baseline_test --flagfile=config/local-dev.cfg |
| 3 |
# Alt usage: ./run.sh tests/baseline_test.py |
| 4 |
|
| 5 |
# Import common settings |
| 6 |
--flagfile=config/common.cfg |
| 7 |
|
| 8 |
# Project settings |
| 9 |
--project=${PROJECT_ID} |
| 10 |
--gcp_service_account=${WORKLOAD_SA_EMAIL} |
| 11 |
--private_api_key_secret_name=projects/${PROJECT_NUMBER}/secrets/xds-interop-tests-private-api-access-key |
| 12 |
# Uncomment to ensure the allow health check firewall exists before test case runs |
| 13 |
# --ensure_firewall |
| 14 |
# Uncomment if the health check port opened in firewall is different than 8080 |
| 15 |
# --server_port=50051 |
| 16 |
|
| 17 |
# Use a resource prefix to describe usage and ownership |
| 18 |
--resource_prefix=xds-k8s-test |
| 19 |
|
| 20 |
# Use predictable resource suffix to simplify debugging |
| 21 |
# If left blank, the framework will randomly generate one |
| 22 |
--resource_suffix=dev |
| 23 |
|
| 24 |
# The name of kube context to use. See `gcloud container clusters get-credentials` and `kubectl config` |
| 25 |
--kube_context=${KUBE_CONTEXT} |
| 26 |
|
| 27 |
# Test images, f.e. java v1.46.x: |
| 28 |
--server_image=gcr.io/grpc-testing/xds-interop/java-server:v1.46.x |
| 29 |
--client_image=gcr.io/grpc-testing/xds-interop/java-client:v1.46.x |
| 30 |
|
| 31 |
# Uncomment for verbose output |
| 32 |
#--logger_levels=__main__:DEBUG,framework:DEBUG |
| 33 |
#--verbosity=1 |
| 34 |
|
| 35 |
# Enable port forwarding in local dev |
| 36 |
--debug_use_port_forwarding |
| 37 |
# (convenience) Allow to set always known flags |
| 38 |
--undefok=private_api_key_secret_name |