diff --git a/.kokoro/Generate-Configs.ps1 b/.kokoro/Generate-Configs.ps1 new file mode 100644 index 0000000000..fb303632be --- /dev/null +++ b/.kokoro/Generate-Configs.ps1 @@ -0,0 +1,68 @@ +# A powershell script for inspecting the source tree and generating test configs. + +# Given something like 'a\b\c', return ['a', 'b', 'c'] +function Explode-Path([string] $Path) { + return $Path.Replace('\', '/').Split('/') +} + +# Given a list of files, converts their paths into names of config files. +# Example: foo/bar/package.json => foo-bar.cfg. +function Collect-Names { + # Use a dictionary to de-duplicate the directories. + $names = @{} + foreach ($item in $input) { + $relPath = [string] (Resolve-Path -Relative (Split-Path -Parent $item)) + # Remove the '.\' at the beginning of the string. + $dir = $relPath.Substring(2) + # replace slashes with hyphenes. + $name = $dir.Replace('/', '-').Replace('\', '-') + $names[$name] = Explode-Path($dir) + } + return $names +} + +Push-Location +try { + Set-Location .. + $packageJsons = Get-ChildItem -Recurse package.json + $testDirs = Get-ChildItem -Recurse *test | Where-Object { Test-Path -Path $_ -PathType Container} + $names = ($packageJsons + $testDirs | Collect-Names) +} finally { + Pop-Location +} + +# Replace cloudtasks with "foo/bar" +$template = @' +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "cloudtasks" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} +'@ + +foreach ($name in $names.Keys) { + $pathFragments = $names[$name] + if (-not $pathFragments[0]) { continue } + # For some directories like appengine and functions, we put the configs + # in subdirectories. For others, we do not. + $pathFragments -join '/' + $configPath = if (Test-Path $pathFragments[0]) { + $dir = $pathFragments[0] + $n = $pathFragments.Count - 1 + $name = $pathFragments[1..$n] -join '-' + "$dir/$name.cfg" + } else { + "$name.cfg" + } + $srcDir = $pathFragments -join '/' + $template.Replace('cloudtasks', $srcDir) ` + | Out-File -FilePath $configPath -Encoding utf8 +} diff --git a/.kokoro/appengine/analytics.cfg b/.kokoro/appengine/analytics.cfg index 9863406c82..ff5c9e8757 100644 --- a/.kokoro/appengine/analytics.cfg +++ b/.kokoro/appengine/analytics.cfg @@ -1,7 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/analytics" -} \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# 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" +} diff --git a/.kokoro/appengine/building-an-app-build.cfg b/.kokoro/appengine/building-an-app-build.cfg new file mode 100644 index 0000000000..2b8d364a0d --- /dev/null +++ b/.kokoro/appengine/building-an-app-build.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# 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" +} diff --git a/.kokoro/appengine/building-an-app-update.cfg b/.kokoro/appengine/building-an-app-update.cfg new file mode 100644 index 0000000000..c926645172 --- /dev/null +++ b/.kokoro/appengine/building-an-app-update.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# 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" +} diff --git a/.kokoro/appengine/cloudsql.cfg b/.kokoro/appengine/cloudsql.cfg index 30325ee1eb..bb1e51ec17 100644 --- a/.kokoro/appengine/cloudsql.cfg +++ b/.kokoro/appengine/cloudsql.cfg @@ -1,7 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/cloudsql" +# Format: //devtools/kokoro/config/proto/build.proto + +# 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" } diff --git a/.kokoro/appengine/cloudsql_postgresql.cfg b/.kokoro/appengine/cloudsql_postgresql.cfg new file mode 100644 index 0000000000..800be905ca --- /dev/null +++ b/.kokoro/appengine/cloudsql_postgresql.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# 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" +} diff --git a/.kokoro/appengine/cloudtasks.cfg b/.kokoro/appengine/cloudtasks.cfg new file mode 100644 index 0000000000..e9b9e66c3e --- /dev/null +++ b/.kokoro/appengine/cloudtasks.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/cloudtasks" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/datastore.cfg b/.kokoro/appengine/datastore.cfg index 7cae8859f2..97a06c108d 100644 --- a/.kokoro/appengine/datastore.cfg +++ b/.kokoro/appengine/datastore.cfg @@ -1,7 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/datastore" -} \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# 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" +} diff --git a/.kokoro/appengine/endpoints.cfg b/.kokoro/appengine/endpoints.cfg index 39a286cd22..5023266099 100644 --- a/.kokoro/appengine/endpoints.cfg +++ b/.kokoro/appengine/endpoints.cfg @@ -1,7 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/endpoints" +# Format: //devtools/kokoro/config/proto/build.proto + +# 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" } diff --git a/.kokoro/appengine/errorreporting.cfg b/.kokoro/appengine/errorreporting.cfg index a70e6daea3..03b546bf21 100644 --- a/.kokoro/appengine/errorreporting.cfg +++ b/.kokoro/appengine/errorreporting.cfg @@ -1,7 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/errorreporting" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/errorreporting" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/appengine/grunt.cfg b/.kokoro/appengine/grunt.cfg new file mode 100644 index 0000000000..129fb5826b --- /dev/null +++ b/.kokoro/appengine/grunt.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/grunt" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/headless-chrome.cfg b/.kokoro/appengine/headless-chrome.cfg new file mode 100644 index 0000000000..2e0f2093bc --- /dev/null +++ b/.kokoro/appengine/headless-chrome.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/headless-chrome" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/hello-world-flexible.cfg b/.kokoro/appengine/hello-world-flexible.cfg new file mode 100644 index 0000000000..3e5785340c --- /dev/null +++ b/.kokoro/appengine/hello-world-flexible.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/hello-world/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/hello-world-standard.cfg b/.kokoro/appengine/hello-world-standard.cfg new file mode 100644 index 0000000000..72550d46c6 --- /dev/null +++ b/.kokoro/appengine/hello-world-standard.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/hello-world/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/loopback.cfg b/.kokoro/appengine/loopback.cfg new file mode 100644 index 0000000000..0c766a557a --- /dev/null +++ b/.kokoro/appengine/loopback.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/loopback" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/mailjet.cfg b/.kokoro/appengine/mailjet.cfg index 71884ce0c4..737be5ceec 100644 --- a/.kokoro/appengine/mailjet.cfg +++ b/.kokoro/appengine/mailjet.cfg @@ -1,7 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/mailjet" -} \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/mailjet" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/memcached.cfg b/.kokoro/appengine/memcached.cfg new file mode 100644 index 0000000000..35d4d25090 --- /dev/null +++ b/.kokoro/appengine/memcached.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/memcached" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/metadata-flexible.cfg b/.kokoro/appengine/metadata-flexible.cfg new file mode 100644 index 0000000000..d7abd8af9c --- /dev/null +++ b/.kokoro/appengine/metadata-flexible.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/metadata/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/metadata-standard.cfg b/.kokoro/appengine/metadata-standard.cfg new file mode 100644 index 0000000000..ee76613aff --- /dev/null +++ b/.kokoro/appengine/metadata-standard.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/metadata/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/mongodb.cfg b/.kokoro/appengine/mongodb.cfg new file mode 100644 index 0000000000..10399fe5f3 --- /dev/null +++ b/.kokoro/appengine/mongodb.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/mongodb" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/parse-server.cfg b/.kokoro/appengine/parse-server.cfg new file mode 100644 index 0000000000..01e67fa150 --- /dev/null +++ b/.kokoro/appengine/parse-server.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/parse-server" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/pubsub.cfg b/.kokoro/appengine/pubsub.cfg index 9936e7a2a3..aab232d9e3 100644 --- a/.kokoro/appengine/pubsub.cfg +++ b/.kokoro/appengine/pubsub.cfg @@ -1,7 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/pubsub" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/pubsub" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/appengine/redis.cfg b/.kokoro/appengine/redis.cfg new file mode 100644 index 0000000000..e40d602a70 --- /dev/null +++ b/.kokoro/appengine/redis.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/redis" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/sendgrid.cfg b/.kokoro/appengine/sendgrid.cfg new file mode 100644 index 0000000000..3c063d3b0c --- /dev/null +++ b/.kokoro/appengine/sendgrid.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/sendgrid" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/static-files.cfg b/.kokoro/appengine/static-files.cfg index f8b755b748..ab8ab9602d 100644 --- a/.kokoro/appengine/static-files.cfg +++ b/.kokoro/appengine/static-files.cfg @@ -1,7 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/static-files" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/static-files" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/appengine/storage-flexible.cfg b/.kokoro/appengine/storage-flexible.cfg new file mode 100644 index 0000000000..b6a335aeed --- /dev/null +++ b/.kokoro/appengine/storage-flexible.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/storage/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/storage-standard.cfg b/.kokoro/appengine/storage-standard.cfg new file mode 100644 index 0000000000..1ba55e21b7 --- /dev/null +++ b/.kokoro/appengine/storage-standard.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/storage/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/twilio.cfg b/.kokoro/appengine/twilio.cfg new file mode 100644 index 0000000000..1458c80846 --- /dev/null +++ b/.kokoro/appengine/twilio.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/twilio" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/auth.cfg b/.kokoro/auth.cfg index 46c454bd8e..f69a9d5faf 100644 --- a/.kokoro/auth.cfg +++ b/.kokoro/auth.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "auth" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "auth" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/cloudtasks.cfg b/.kokoro/cloudtasks.cfg index 4432e3e3d8..13fe1d94e4 100644 --- a/.kokoro/cloudtasks.cfg +++ b/.kokoro/cloudtasks.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "cloudtasks" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "cloudtasks" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/containerengine-hello-world.cfg b/.kokoro/containerengine-hello-world.cfg index 4432e3e3d8..c4da2bd299 100644 --- a/.kokoro/containerengine-hello-world.cfg +++ b/.kokoro/containerengine-hello-world.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "cloudtasks" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "containerengine/hello-world" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/debugger.cfg b/.kokoro/debugger.cfg index 3b4f2547cd..5cbed05585 100644 --- a/.kokoro/debugger.cfg +++ b/.kokoro/debugger.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "debugger" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "debugger" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/endpoints-getting-started-grpc.cfg b/.kokoro/endpoints-getting-started-grpc.cfg new file mode 100644 index 0000000000..03616ce5ce --- /dev/null +++ b/.kokoro/endpoints-getting-started-grpc.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "endpoints/getting-started-grpc" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/endpoints-getting-started.cfg b/.kokoro/endpoints-getting-started.cfg index 4432e3e3d8..5d7b0b480d 100644 --- a/.kokoro/endpoints-getting-started.cfg +++ b/.kokoro/endpoints-getting-started.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "cloudtasks" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "endpoints/getting-started" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/error-reporting.cfg b/.kokoro/error-reporting.cfg index ad6ba1f194..70645bf09f 100644 --- a/.kokoro/error-reporting.cfg +++ b/.kokoro/error-reporting.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "error-reporting" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "error-reporting" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/functions/background.cfg b/.kokoro/functions/background.cfg new file mode 100644 index 0000000000..fa0b71aa1f --- /dev/null +++ b/.kokoro/functions/background.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/background" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/concepts.cfg b/.kokoro/functions/concepts.cfg new file mode 100644 index 0000000000..bc7481bf55 --- /dev/null +++ b/.kokoro/functions/concepts.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/concepts" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/datastore.cfg b/.kokoro/functions/datastore.cfg new file mode 100644 index 0000000000..f4b94ae1b4 --- /dev/null +++ b/.kokoro/functions/datastore.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/datastore" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/errorreporting.cfg b/.kokoro/functions/errorreporting.cfg new file mode 100644 index 0000000000..9ca7cfd013 --- /dev/null +++ b/.kokoro/functions/errorreporting.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/errorreporting" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/gcs.cfg b/.kokoro/functions/gcs.cfg new file mode 100644 index 0000000000..ed7fdcc9da --- /dev/null +++ b/.kokoro/functions/gcs.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/gcs" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/helloworld.cfg b/.kokoro/functions/helloworld.cfg new file mode 100644 index 0000000000..bb7659b39d --- /dev/null +++ b/.kokoro/functions/helloworld.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/helloworld" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/http.cfg b/.kokoro/functions/http.cfg new file mode 100644 index 0000000000..82c466e62e --- /dev/null +++ b/.kokoro/functions/http.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/http" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/imagemagick.cfg b/.kokoro/functions/imagemagick.cfg new file mode 100644 index 0000000000..9ce7dd7f94 --- /dev/null +++ b/.kokoro/functions/imagemagick.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/imagemagick" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/log.cfg b/.kokoro/functions/log.cfg new file mode 100644 index 0000000000..c0273eba61 --- /dev/null +++ b/.kokoro/functions/log.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/log" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/ocr-app.cfg b/.kokoro/functions/ocr-app.cfg new file mode 100644 index 0000000000..2000daeb57 --- /dev/null +++ b/.kokoro/functions/ocr-app.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/ocr/app" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/pubsub.cfg b/.kokoro/functions/pubsub.cfg new file mode 100644 index 0000000000..8bf07dbf40 --- /dev/null +++ b/.kokoro/functions/pubsub.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/pubsub" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/sendgrid.cfg b/.kokoro/functions/sendgrid.cfg new file mode 100644 index 0000000000..83c4ae4d3c --- /dev/null +++ b/.kokoro/functions/sendgrid.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/sendgrid" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/slack.cfg b/.kokoro/functions/slack.cfg new file mode 100644 index 0000000000..7425aac9ba --- /dev/null +++ b/.kokoro/functions/slack.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/slack" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/spanner.cfg b/.kokoro/functions/spanner.cfg new file mode 100644 index 0000000000..7e10b33a0e --- /dev/null +++ b/.kokoro/functions/spanner.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/spanner" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/tips.cfg b/.kokoro/functions/tips.cfg new file mode 100644 index 0000000000..5fa31b27d1 --- /dev/null +++ b/.kokoro/functions/tips.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/tips" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/functions/uuid.cfg b/.kokoro/functions/uuid.cfg new file mode 100644 index 0000000000..0cb1c62c61 --- /dev/null +++ b/.kokoro/functions/uuid.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "functions/uuid" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/iot-http_example.cfg b/.kokoro/iot-http_example.cfg new file mode 100644 index 0000000000..b3e190b29f --- /dev/null +++ b/.kokoro/iot-http_example.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "iot/http_example" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/iot-manager.cfg b/.kokoro/iot-manager.cfg index 805c80eb7d..6f3f7cbdd5 100644 --- a/.kokoro/iot-manager.cfg +++ b/.kokoro/iot-manager.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "iot/manager" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "iot/manager" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/iot-mqtt_example.cfg b/.kokoro/iot-mqtt_example.cfg new file mode 100644 index 0000000000..164cca4509 --- /dev/null +++ b/.kokoro/iot-mqtt_example.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "iot/mqtt_example" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/iot-scripts.cfg b/.kokoro/iot-scripts.cfg new file mode 100644 index 0000000000..21347f8103 --- /dev/null +++ b/.kokoro/iot-scripts.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "iot/scripts" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/kms.cfg b/.kokoro/kms.cfg index 0ad6657964..e0c7a6dae1 100644 --- a/.kokoro/kms.cfg +++ b/.kokoro/kms.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "kms" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "kms" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/language-slackbot.cfg b/.kokoro/language-slackbot.cfg index 642dbacadc..257e80a1b8 100644 --- a/.kokoro/language-slackbot.cfg +++ b/.kokoro/language-slackbot.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "language/slackbot" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "language/slackbot" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/memorystore-redis.cfg b/.kokoro/memorystore-redis.cfg new file mode 100644 index 0000000000..17a23a7a9c --- /dev/null +++ b/.kokoro/memorystore-redis.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "memorystore/redis" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/storage-transfer.cfg b/.kokoro/storage-transfer.cfg index 93f890be38..dd7ee9b6e7 100644 --- a/.kokoro/storage-transfer.cfg +++ b/.kokoro/storage-transfer.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "storage/transfer" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "storage-transfer" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" } diff --git a/.kokoro/trace.cfg b/.kokoro/trace.cfg index 08cd489462..3ffa03ab1b 100644 --- a/.kokoro/trace.cfg +++ b/.kokoro/trace.cfg @@ -1,13 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "trace" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "trace" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" }