Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodejs: add test_project arg for templates #63

Merged
merged 10 commits into from
Sep 27, 2018
4 changes: 2 additions & 2 deletions synthtool/gcp/templates/node_library/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
name: Run sample tests.
command: npm run samples-test
environment:
GCLOUD_PROJECT: long-door-651
GCLOUD_PROJECT: {{ test_project or 'long-door-651' }}
GOOGLE_APPLICATION_CREDENTIALS: /home/node/samples/.circleci/key.json
NPM_CONFIG_PREFIX: /home/node/.npm-global
- run:
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
name: Run system tests.
command: npm run system-test
environment:
GCLOUD_PROJECT: long-door-651
GCLOUD_PROJECT: {{ test_project or 'long-door-651' }}
GOOGLE_APPLICATION_CREDENTIALS: .circleci/key.json
- run:
name: Remove unencrypted key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export NPM_CONFIG_PREFIX=/home/node/.npm-global

# Setup service account credentials.
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
export GCLOUD_PROJECT=long-door-651
export GCLOUD_PROJECT={{ test_project or 'long-door-651' }}

cd $(dirname $0)/..

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export NPM_CONFIG_PREFIX=/home/node/.npm-global

# Setup service account credentials.
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
export GCLOUD_PROJECT=long-door-651
export GCLOUD_PROJECT={{ test_project or 'long-door-651' }}

cd $(dirname $0)/..

Expand Down