Skip to content

Commit 00f98f8

Browse files
authored
deps: upgrade gcf-based bots to gcf-utils 16.2.1 (#5597)
This allows bots to configure the task-caller service account via environment variables (configured via terraform). It also has the bots rely on env variables for setting the backend type.
1 parent f2457b8 commit 00f98f8

File tree

39 files changed

+105
-131
lines changed

39 files changed

+105
-131
lines changed

packages/auto-label/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/auto-label/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@google-automations/bot-config-utils": "^8.0.0",
3232
"@google-automations/label-utils": "^5.0.0",
3333
"@google-cloud/storage": "^7.12.1",
34-
"gcf-utils": "^16.0.1",
34+
"gcf-utils": "^16.2.1",
3535
"jsonwebtoken": "^9.0.0"
3636
},
3737
"devDependencies": {

packages/auto-label/src/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
import {Probot} from 'probot';
1717
import {GCFBootstrapper} from 'gcf-utils';
1818

19-
const bootstrap = new GCFBootstrapper({
20-
taskTargetEnvironment: 'functions',
21-
});
19+
const bootstrap = new GCFBootstrapper();
2220

2321
// We only need to deploy gcf-utils in the frontend server because
2422
// only thing it does is to enqueue a task for the release-please

packages/blunderbuss/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/blunderbuss/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@google-automations/bot-config-utils": "^8.0.0",
3232
"@google-automations/datastore-lock": "^6.0.0",
3333
"@google-automations/label-utils": "^5.0.0",
34-
"gcf-utils": "^16.0.1",
34+
"gcf-utils": "^16.2.1",
3535
"jsonwebtoken": "^9.0.0"
3636
},
3737
"devDependencies": {

packages/blunderbuss/src/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
import {Probot} from 'probot';
1717
import {GCFBootstrapper} from 'gcf-utils';
1818

19-
const bootstrap = new GCFBootstrapper({
20-
taskTargetEnvironment: 'functions',
21-
});
19+
const bootstrap = new GCFBootstrapper();
2220

2321
// We only need to deploy gcf-utils in the frontend server because
2422
// only thing it does is to enqueue a task for the release-please

packages/conventional-commit-lint/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/conventional-commit-lint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@octokit/graphql": "^5.0.4",
3737
"@octokit/openapi-types": "^14.0.0",
3838
"@octokit/webhooks-types": "^6.3.6",
39-
"gcf-utils": "^16.0.0",
39+
"gcf-utils": "^16.2.1",
4040
"jsonwebtoken": "^9.0.0"
4141
},
4242
"devDependencies": {

packages/conventional-commit-lint/src/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
import {Probot} from 'probot';
1717
import {GCFBootstrapper} from 'gcf-utils';
1818

19-
const bootstrap = new GCFBootstrapper({
20-
taskTargetEnvironment: 'functions',
21-
});
19+
const bootstrap = new GCFBootstrapper();
2220

2321
// We only need to deploy gcf-utils in the frontend server because
2422
// only thing it does is to enqueue a task for the release-please

packages/do-not-merge/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)