-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathlocal-dev.cfg.example
66 lines (45 loc) · 2.25 KB
/
local-dev.cfg.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copy to local-dev.cfg; replace ${UPPERCASED_VARS}. Details in README.md.
## Import common settings
--flagfile=config/common.cfg
### --------------------------------- Project ----------------------------------
## Project settings
--project=${PROJECT_ID}
--project_number=${PROJECT_NUMBER}
--gcp_service_account=${WORKLOAD_SA_EMAIL}
--private_api_key_secret_name=projects/${PROJECT_NUMBER}/secrets/xds-interop-tests-private-api-access-key
### --------------------------------- Clusters ---------------------------------
## The name of kube context to use (points to your GKE cluster).
--kube_context=${KUBE_CONTEXT}
### ------------------------------- App images ---------------------------------
## Test images, f.e. java v1.57.x.
--server_image=us-docker.pkg.dev/grpc-testing/psm-interop/java-server:v1.63.x
--client_image=us-docker.pkg.dev/grpc-testing/psm-interop/java-client:v1.63.x
### ----------------------------------- App ------------------------------------
## Use a resource prefix to describe usage and ownership.
--resource_prefix=${USER}-psm
## Use random port in the server xds address, f.e. xds://my-test-server:42
--server_xds_port=0
## When running ./bin helpers, you might need to set randomly generated fields
## to a static value.
# --resource_suffix=dev
# --server_xds_port=1111
### --------------------------------- Logging ----------------------------------
## Verbosity: -3 (fatal/critical), -2 (error), -1 (warning), 0 (info), 1 (debug)
# --verbosity=1
# Log all GCP API requests and responses
# --verbose_gcp_api
## Uncomment and set different log levels per module. Examples:
# --logger_levels=__main__:DEBUG,framework:INFO
# --logger_levels=__main__:INFO,framework:DEBUG,urllib3.connectionpool:ERROR
## Uncomment to collect test client, server logs to out/test_app_logs/ folder.
# --collect_app_logs
# --log_dir=out
### ------------------------------- Local dev ---------------------------------
## Enable port forwarding in local dev.
--debug_use_port_forwarding
## (convenience) Allow to set always known flags.
--undefok=private_api_key_secret_name,gcp_ui_url
## Uncomment to create the firewall rule before test case runs.
# --ensure_firewall
## Uncomment if the health check port opened in firewall is different than 8080.
# --server_port=50051