Commit 69fc9d0e authored by Sacha Brants's avatar Sacha Brants
Browse files

Merge branch 'slb/vm/fix-url-basepath' into 'master'

ci: allow base path for Google Cloud deployments to be set via an environment variable

See merge request !143
parents 7824d871 28d87c75
Pipeline #51157 passed with stages
in 10 minutes and 28 seconds
......@@ -82,6 +82,9 @@ export class ConfigGoogle extends Config {
Config.checkRequiredConfig(ConfigGoogle.SERVICE_CLOUD_PROJECT, 'SERVICE_CLOUD_PROJECT');
// set the base service path
ConfigGoogle.API_BASE_URL_PATH = process.env.API_BASE_URL_PATH || ConfigGoogle.API_BASE_URL_PATH;
// load service identity from credential file (for local dev - on cloud use work-load identities)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment