Skip to content

Commit

Permalink
build: run tests on node11 (#413)
Browse files Browse the repository at this point in the history
* build: run tests on node11

* build: run tests on node11

* build: run tests on node11

* build: run tests on node11

* build: run tests on node11

* build: run tests on node11
  • Loading branch information
jkwlui authored and JustinBeckwith committed Oct 24, 2018
1 parent f0a95c0 commit bcb6fa4
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .kokoro/continuous/node11/common.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Build logs will be here
action {
define_artifacts {
regex: "**/*sponge_log.xml"
}
}

# Download trampoline resources.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "nodejs-firestore/.kokoro/trampoline.sh"

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:11-user"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-firestore/.kokoro/test.sh"
}
Empty file.
24 changes: 24 additions & 0 deletions .kokoro/presubmit/node11/common.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Build logs will be here
action {
define_artifacts {
regex: "**/*sponge_log.xml"
}
}

# Download trampoline resources.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "nodejs-firestore/.kokoro/trampoline.sh"

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:11-user"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-firestore/.kokoro/test.sh"
}
Empty file.
2 changes: 1 addition & 1 deletion .kokoro/samples-test.sh
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=node-gcloud-ci
export GCLOUD_PROJECT=long-door-651

cd $(dirname $0)/..

Expand Down
2 changes: 1 addition & 1 deletion .kokoro/system-test.sh
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=node-gcloud-ci
export GCLOUD_PROJECT=long-door-651

cd $(dirname $0)/..

Expand Down

0 comments on commit bcb6fa4

Please sign in to comment.