File tree Expand file tree Collapse file tree
handwritten/storage/.kokoro Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build_file: "nodejs-storage/.kokoro/trampoline.sh"
1616# Configure the docker image for kokoro-trampoline.
1717env_vars: {
1818 key: " TRAMPOLINE_IMAGE"
19- value: " gcr.io/cloud-devrel-kokoro-resources/node:10"
19+ value: " gcr.io/cloud-devrel-kokoro-resources/node:10-user "
2020}
2121env_vars: {
2222 key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build_file: "nodejs-storage/.kokoro/trampoline.sh"
1616# Configure the docker image for kokoro-trampoline.
1717env_vars: {
1818 key: " TRAMPOLINE_IMAGE"
19- value: " gcr.io/cloud-devrel-kokoro-resources/node:10"
19+ value: " gcr.io/cloud-devrel-kokoro-resources/node:10-user "
2020}
2121env_vars: {
2222 key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build_file: "nodejs-storage/.kokoro/trampoline.sh"
1616# Configure the docker image for kokoro-trampoline.
1717env_vars: {
1818 key: " TRAMPOLINE_IMAGE"
19- value: " gcr.io/cloud-devrel-kokoro-resources/node:6"
19+ value: " gcr.io/cloud-devrel-kokoro-resources/node:6-user "
2020}
2121env_vars: {
2222 key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build_file: "nodejs-storage/.kokoro/trampoline.sh"
1616# Configure the docker image for kokoro-trampoline.
1717env_vars: {
1818 key: " TRAMPOLINE_IMAGE"
19- value: " gcr.io/cloud-devrel-kokoro-resources/node:8"
19+ value: " gcr.io/cloud-devrel-kokoro-resources/node:8-user "
2020}
2121env_vars: {
2222 key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change 1616
1717set -xeo pipefail
1818
19+ export NPM_CONFIG_PREFIX=/home/node/.npm-global
20+
1921cd $( dirname $0 ) /..
2022
2123npm install
Original file line number Diff line number Diff line change 1616
1717set -xeo pipefail
1818
19+ export NPM_CONFIG_PREFIX=/home/node/.npm-global
20+
1921cd $( dirname $0 ) /..
2022
2123npm install
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build_file: "nodejs-storage/.kokoro/trampoline.sh"
1616# Configure the docker image for kokoro-trampoline.
1717env_vars: {
1818 key: " TRAMPOLINE_IMAGE"
19- value: " gcr.io/cloud-devrel-kokoro-resources/node:10"
19+ value: " gcr.io/cloud-devrel-kokoro-resources/node:10-user "
2020}
2121env_vars: {
2222 key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build_file: "nodejs-storage/.kokoro/trampoline.sh"
1616# Configure the docker image for kokoro-trampoline.
1717env_vars: {
1818 key: " TRAMPOLINE_IMAGE"
19- value: " gcr.io/cloud-devrel-kokoro-resources/node:6"
19+ value: " gcr.io/cloud-devrel-kokoro-resources/node:6-user "
2020}
2121env_vars: {
2222 key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build_file: "nodejs-storage/.kokoro/trampoline.sh"
1616# Configure the docker image for kokoro-trampoline.
1717env_vars: {
1818 key: " TRAMPOLINE_IMAGE"
19- value: " gcr.io/cloud-devrel-kokoro-resources/node:8"
19+ value: " gcr.io/cloud-devrel-kokoro-resources/node:8-user "
2020}
2121env_vars: {
2222 key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change 1616
1717set -xeo pipefail
1818
19+ export NPM_CONFIG_PREFIX=/home/node/.npm-global
20+
1921# Setup service account credentials.
2022export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR} /service-account.json
2123export GCLOUD_PROJECT=long-door-651
You can’t perform that action at this time.
0 commit comments