Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Re-generate library using /synth.py #171

Merged
merged 2 commits into from
Sep 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/npm-install-retry.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let spawn = require('child_process').spawn;
//USE: ./index.js <ms npm can be idle> <number of attempts> [... NPM ARGS]
//

let timeout = process.argv[2] || 60000;
let timeout = process.argv[2] || process.env.NPM_INSTALL_TIMEOUT || 60000;
let attempts = process.argv[3] || 3;
let args = process.argv.slice(4);
if (args.length === 0) {
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Thanks for stopping by to let us know something could be better!
Please run down the following list and make sure you've tried the usual "quick
fixes":

- Search the issues already opened: https://github.com/dialogflow/dialogflow-nodejs-client-v2/issues
- Search the issues already opened: https://github.com/googleapis/nodejs-dialogflow/issues
- Search the issues on our "catch-all" repository: https://github.com/GoogleCloudPlatform/google-cloud-node
- Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js

Expand Down
4 changes: 2 additions & 2 deletions .kokoro/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

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

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -20,5 +20,5 @@ env_vars: {
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/test.sh"
value: "github/nodejs-dialogflow/.kokoro/test.sh"
}
4 changes: 2 additions & 2 deletions .kokoro/continuous/node10/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

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

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -20,5 +20,5 @@ env_vars: {
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/test.sh"
value: "github/nodejs-dialogflow/.kokoro/test.sh"
}
4 changes: 2 additions & 2 deletions .kokoro/continuous/node6/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

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

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -20,5 +20,5 @@ env_vars: {
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/test.sh"
value: "github/nodejs-dialogflow/.kokoro/test.sh"
}
4 changes: 2 additions & 2 deletions .kokoro/continuous/node8/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

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

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -20,5 +20,5 @@ env_vars: {
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/test.sh"
value: "github/nodejs-dialogflow/.kokoro/test.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/continuous/node8/docs.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/docs.sh"
value: "github/nodejs-dialogflow/.kokoro/docs.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/continuous/node8/lint.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/lint.sh"
value: "github/nodejs-dialogflow/.kokoro/lint.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/continuous/node8/samples-test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/samples-test.sh"
value: "github/nodejs-dialogflow/.kokoro/samples-test.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/continuous/node8/system-test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/system-test.sh"
value: "github/nodejs-dialogflow/.kokoro/system-test.sh"
}
4 changes: 2 additions & 2 deletions .kokoro/presubmit/node10/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

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

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -20,5 +20,5 @@ env_vars: {
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/test.sh"
value: "github/nodejs-dialogflow/.kokoro/test.sh"
}
4 changes: 2 additions & 2 deletions .kokoro/presubmit/node6/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

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

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -20,5 +20,5 @@ env_vars: {
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/test.sh"
value: "github/nodejs-dialogflow/.kokoro/test.sh"
}
4 changes: 2 additions & 2 deletions .kokoro/presubmit/node8/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

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

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -20,5 +20,5 @@ env_vars: {
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/test.sh"
value: "github/nodejs-dialogflow/.kokoro/test.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/presubmit/node8/docs.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/docs.sh"
value: "github/nodejs-dialogflow/.kokoro/docs.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/presubmit/node8/lint.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/lint.sh"
value: "github/nodejs-dialogflow/.kokoro/lint.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/presubmit/node8/samples-test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/samples-test.sh"
value: "github/nodejs-dialogflow/.kokoro/samples-test.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/presubmit/node8/system-test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/dialogflow-nodejs-client-v2/.kokoro/system-test.sh"
value: "github/nodejs-dialogflow/.kokoro/system-test.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/presubmit/windows/test.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Use the test file directly
build_file: "dialogflow-nodejs-client-v2/.kokoro/test.bat"
build_file: "nodejs-dialogflow/.kokoro/test.bat"
5 changes: 5 additions & 0 deletions .kokoro/samples-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ export GCLOUD_PROJECT=long-door-651

cd $(dirname $0)/..

# Run a pre-test hook, if a pre-samples-test.sh is in the project
if [ -f .kokoro/pre-samples-test.sh ]; then
. .kokoro/pre-samples-test.sh
fi

npm install

# Install and link samples
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"engines": {
"node": ">=6.0.0"
},
"repository": "dialogflow/dialogflow-nodejs-client-v2",
"repository": "googleapis/nodejs-dialogflow",
"main": "src/index.js",
"files": [
"protos",
Expand Down