Skip to content

Commit

Permalink
Fix Node Kokoro tests (#768)
Browse files Browse the repository at this point in the history
* Small change to trigger Kokoro

* Move configs a directory down + remove type entry

* Use user images

* Flatten build files

* Remove cloud tasks configs

* Add missing config to node6/node8

* Update datastore deps

* Update pub/sub deps
  • Loading branch information
Ace Nassri authored Oct 15, 2018
1 parent fa440e6 commit bcfa3e7
Show file tree
Hide file tree
Showing 122 changed files with 1,029 additions and 499 deletions.
13 changes: 0 additions & 13 deletions .kokoro/appengine/analytics.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/building-an-app-build.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/building-an-app-update.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/cloudsql.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/cloudsql_postgresql.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/datastore.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/endpoints.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/errorreporting.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/grunt.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/headless-chrome.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/hello-world-flexible.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/hello-world-standard.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/loopback.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/mailjet.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/memcached.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/metadata-flexible.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/metadata-standard.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/mongodb.cfg

This file was deleted.

12 changes: 11 additions & 1 deletion .kokoro/appengine/node10/analytics.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

type: PRESUBMIT_GITHUB
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "appengine/analytics"
}

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}
12 changes: 11 additions & 1 deletion .kokoro/appengine/node10/building-an-app-build.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

type: PRESUBMIT_GITHUB
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "appengine/building-an-app/build"
}

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}
12 changes: 11 additions & 1 deletion .kokoro/appengine/node10/building-an-app-update.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

type: PRESUBMIT_GITHUB
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "appengine/building-an-app/update"
}

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}
12 changes: 11 additions & 1 deletion .kokoro/appengine/node10/cloudsql.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

type: PRESUBMIT_GITHUB
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "appengine/cloudsql"
}

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}
12 changes: 11 additions & 1 deletion .kokoro/appengine/node10/cloudsql_postgresql.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

type: PRESUBMIT_GITHUB
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "appengine/cloudsql_postgresql"
}

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}
3 changes: 0 additions & 3 deletions .kokoro/appengine/node10/cloudtasks.cfg

This file was deleted.

19 changes: 16 additions & 3 deletions .kokoro/appengine/node10/common.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Download secrets from Cloud Storage.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/nodejs-docs-samples"

# All builds use the trampoline script to run in docker.
build_file: "nodejs-docs-samples/.kokoro/trampoline.sh"

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user"
}

type: PRESUBMIT_GITHUB
12 changes: 11 additions & 1 deletion .kokoro/appengine/node10/datastore.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

type: PRESUBMIT_GITHUB
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "appengine/datastore"
}

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}
12 changes: 11 additions & 1 deletion .kokoro/appengine/node10/endpoints.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

type: PRESUBMIT_GITHUB
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "appengine/endpoints"
}

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}
Loading

0 comments on commit bcfa3e7

Please sign in to comment.