diff --git a/packages/google-devtools-cloudbuild/.jsdoc.js b/packages/google-devtools-cloudbuild/.jsdoc.js index baff25d20b8..773c8c4fcc8 100644 --- a/packages/google-devtools-cloudbuild/.jsdoc.js +++ b/packages/google-devtools-cloudbuild/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2021 Google LLC', + copyright: 'Copyright 2022 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/cloudbuild', diff --git a/packages/google-devtools-cloudbuild/linkinator.config.json b/packages/google-devtools-cloudbuild/linkinator.config.json index 0121dfa684f..befd23c8633 100644 --- a/packages/google-devtools-cloudbuild/linkinator.config.json +++ b/packages/google-devtools-cloudbuild/linkinator.config.json @@ -3,8 +3,14 @@ "skip": [ "https://codecov.io/gh/googleapis/", "www.googleapis.com", - "img.shields.io" + "img.shields.io", + "https://console.cloud.google.com/cloudshell", + "https://support.google.com" ], "silent": true, - "concurrency": 5 + "concurrency": 5, + "retry": true, + "retryErrors": true, + "retryErrorsCount": 5, + "retryErrorsJitter": 3000 } diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.approve_build.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.approve_build.js index a139b8310d6..d0d1702ed82 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.approve_build.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.approve_build.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.cancel_build.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.cancel_build.js index bfdd1325295..4243e996036 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.cancel_build.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.cancel_build.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, id) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_build.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_build.js index 8800bb5a589..1b179d0effc 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_build.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_build.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, build) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_build_trigger.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_build_trigger.js index da9973765dd..64ba91e13bb 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_build_trigger.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_build_trigger.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, trigger) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_worker_pool.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_worker_pool.js index 5b5613cd6cf..1d5d686f61a 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_worker_pool.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.create_worker_pool.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, workerPool, workerPoolId) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.delete_build_trigger.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.delete_build_trigger.js index 9c6dafd26e5..afec85a7780 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.delete_build_trigger.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.delete_build_trigger.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, triggerId) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.delete_worker_pool.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.delete_worker_pool.js index 830b650b748..41383b42568 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.delete_worker_pool.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.delete_worker_pool.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_build.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_build.js index 81532a014d7..7ff88fdc561 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_build.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_build.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, id) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_build_trigger.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_build_trigger.js index 327947a8dc9..d9cf94ef8d2 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_build_trigger.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_build_trigger.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, triggerId) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_worker_pool.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_worker_pool.js index 30e79de6213..240cceb4964 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_worker_pool.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.get_worker_pool.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_build_triggers.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_build_triggers.js index 5cb5f6eb972..023df9db8e1 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_build_triggers.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_build_triggers.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId) { @@ -52,7 +53,7 @@ function main(projectId) { // Run request const iterable = await cloudbuildClient.listBuildTriggersAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_builds.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_builds.js index e334dbdd77a..82f7232ef78 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_builds.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_builds.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId) { @@ -61,7 +62,7 @@ function main(projectId) { // Run request const iterable = await cloudbuildClient.listBuildsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_worker_pools.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_worker_pools.js index a917074484b..6630a20e75d 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_worker_pools.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.list_worker_pools.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cloudbuildClient.listWorkerPoolsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.receive_trigger_webhook.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.receive_trigger_webhook.js index 16fc4a55bb5..8106bb0d09f 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.receive_trigger_webhook.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.receive_trigger_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main() { @@ -49,7 +50,8 @@ function main() { async function callReceiveTriggerWebhook() { // Construct request - const request = {}; + const request = { + }; // Run request const response = await cloudbuildClient.receiveTriggerWebhook(request); diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.retry_build.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.retry_build.js index 286cc310679..fa7c60ba8a2 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.retry_build.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.retry_build.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, id) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.run_build_trigger.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.run_build_trigger.js index e4dfbdf4a6c..138e6e13142 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.run_build_trigger.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.run_build_trigger.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, triggerId) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.update_build_trigger.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.update_build_trigger.js index 8d2b93a3a34..4d2b18081c6 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.update_build_trigger.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.update_build_trigger.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(projectId, triggerId, trigger) { diff --git a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.update_worker_pool.js b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.update_worker_pool.js index 03af9226460..a9e6b2c8b42 100644 --- a/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.update_worker_pool.js +++ b/packages/google-devtools-cloudbuild/samples/generated/v1/cloud_build.update_worker_pool.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(workerPool) { diff --git a/packages/google-devtools-cloudbuild/src/v1/cloud_build_client.ts b/packages/google-devtools-cloudbuild/src/v1/cloud_build_client.ts index e7ee66ddf07..aa03a29d5c3 100644 --- a/packages/google-devtools-cloudbuild/src/v1/cloud_build_client.ts +++ b/packages/google-devtools-cloudbuild/src/v1/cloud_build_client.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-devtools-cloudbuild/src/v1/index.ts b/packages/google-devtools-cloudbuild/src/v1/index.ts index abc079495c8..82733a09aef 100644 --- a/packages/google-devtools-cloudbuild/src/v1/index.ts +++ b/packages/google-devtools-cloudbuild/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.js b/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.js index f73fc138dce..e17f4a5c0e8 100644 --- a/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.js +++ b/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.ts b/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.ts index cf9f530e800..62c1bda6603 100644 --- a/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.ts +++ b/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-devtools-cloudbuild/system-test/install.ts b/packages/google-devtools-cloudbuild/system-test/install.ts index d2d61c0396f..6dd1eaadafa 100644 --- a/packages/google-devtools-cloudbuild/system-test/install.ts +++ b/packages/google-devtools-cloudbuild/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-devtools-cloudbuild/test/gapic_cloud_build_v1.ts b/packages/google-devtools-cloudbuild/test/gapic_cloud_build_v1.ts index ec203735de9..9bb9f8578c7 100644 --- a/packages/google-devtools-cloudbuild/test/gapic_cloud_build_v1.ts +++ b/packages/google-devtools-cloudbuild/test/gapic_cloud_build_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.