Skip to content

Commit

Permalink
chore(quickstart): mention private pool caveats (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri authored Apr 15, 2022
1 parent b0c5605 commit 762f13d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/google-devtools-cloudbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,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: '<YOUR_POOL_REGION>-cloudbuild.googleapis.com' });

// Starts a build against the branch provided.
const [resp] = await cb.runBuildTrigger({
projectId,
Expand Down
4 changes: 4 additions & 0 deletions packages/google-devtools-cloudbuild/samples/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<YOUR_POOL_REGION>-cloudbuild.googleapis.com' });

// Starts a build against the branch provided.
const [resp] = await cb.runBuildTrigger({
projectId,
Expand Down

0 comments on commit 762f13d

Please sign in to comment.