go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/milo/service-pubsub.yaml (about) 1 service: pubsub 2 runtime: go121 3 4 instance_class: F4_1G 5 6 automatic_scaling: 7 min_idle_instances: 5 8 max_idle_instances: automatic 9 min_pending_latency: 30ms 10 max_pending_latency: automatic 11 max_concurrent_requests: 3 12 13 # luci_gae_vars is interpreted by gae.py, for apps deployed manually. 14 # It maps the app ID being deployed to values of vars used below. 15 luci_gae_vars: 16 luci-milo-dev: 17 AUTH_SERVICE_HOST: chrome-infra-auth-dev.appspot.com 18 CONFIG_SERVICE_HOST: config.luci.app 19 TS_MON_ACCOUNT: app-engine-metric-publishers@prodx-mon-chrome-infra.google.com.iam.gserviceaccount.com 20 OAUTH_CLIENT_ID: 897369734084-d3t2c39aht2aqeop0f42pp48ejpr54up.apps.googleusercontent.com 21 OAUTH_CLIENT_SECRET: sm://oauth-client-secret 22 OAUTH_REDIRECT_URL: https://luci-milo-dev.appspot.com/auth/openid/callback 23 ROOT_SECRET: sm://root-secret 24 TINK_AEAD_KEY: sm://tink-aead-primary 25 REDIS_ADDR: 10.82.28.60:6379 26 DS_CACHE: redis 27 VPC_CONNECTOR: projects/luci-milo-dev/locations/us-central1/connectors/connector 28 LOGIN_SESSIONS_ROOT_URL: https://luci-milo-dev.appspot.com 29 30 vpc_access_connector: 31 name: ${VPC_CONNECTOR} 32 33 handlers: 34 - url: /_ah/warmup 35 script: auto 36 secure: always 37 38 # Pubsub Handler. 39 - url: /push-handlers/.* 40 script: auto 41 secure: always 42 43 inbound_services: 44 - warmup 45 46 entrypoint: > 47 main 48 -auth-service-host ${AUTH_SERVICE_HOST} 49 -config-service-host ${CONFIG_SERVICE_HOST} 50 -ts-mon-account ${TS_MON_ACCOUNT} 51 -cloud-error-reporting 52 -root-secret ${ROOT_SECRET} 53 -primary-tink-aead-key ${TINK_AEAD_KEY} 54 -encrypted-cookies-client-id ${OAUTH_CLIENT_ID} 55 -encrypted-cookies-client-secret ${OAUTH_CLIENT_SECRET} 56 -encrypted-cookies-redirect-url ${OAUTH_REDIRECT_URL} 57 -redis-addr ${REDIS_ADDR} 58 -ds-cache ${DS_CACHE} 59 -login-sessions-root-url ${LOGIN_SESSIONS_ROOT_URL}