From 45f4a2e9b84fa2a92b8f90f266b38076931ed6f5 Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Thu, 14 Apr 2022 19:27:35 -0700 Subject: [PATCH] chore(quickstart): mention private pool caveats (#317) --- cloudbuild/quickstart.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloudbuild/quickstart.js b/cloudbuild/quickstart.js index a844a633044..b1a3fb2a23d 100644 --- a/cloudbuild/quickstart.js +++ b/cloudbuild/quickstart.js @@ -27,6 +27,10 @@ async function quickstart( // Creates a client const cb = new CloudBuildClient(); + // Note: for Private Pools, you'll have to specify an API endpoint value + // For example: + // const cb = new CloudBuildClient({ apiEndpoint: '-cloudbuild.googleapis.com' }); + // Starts a build against the branch provided. const [resp] = await cb.runBuildTrigger({ projectId,