Skip to content

Commit 2fc8ad6

Browse files
committed
merge main
2 parents b1259c5 + 26ec7af commit 2fc8ad6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+6661
-916
lines changed

.github/workflows/update-roadmap-released.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Update Roadmap Released
22

33
on:
4-
pull_request:
5-
types: [closed]
4+
push:
5+
branches:
6+
- main
67
workflow_dispatch:
78
schedule:
89
- cron: "0 */6 * * *"

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- Fixed issue with GitHub app token tracking and refreshing. [#583](https://github.com/sourcebot-dev/sourcebot/pull/583)
1616
- Fixed "The account is already associated with another user" errors with GitLab oauth provider. [#584](https://github.com/sourcebot-dev/sourcebot/pull/584)
1717
- Fixed error when viewing a generic git connection in `/settings/connections`. [#588](https://github.com/sourcebot-dev/sourcebot/pull/588)
18+
- Fixed issue with an unbounded `Promise.allSettled(...)` when retrieving details from the GitHub API about a large number of repositories (or orgs or users). [#591](https://github.com/sourcebot-dev/sourcebot/pull/591)
19+
- Fixed resource exhaustion (EAGAIN errors) when syncing generic-git-host connections with thousands of repositories. [#593](https://github.com/sourcebot-dev/sourcebot/pull/593)
20+
21+
## Removed
22+
- Removed built-in secret manager. [#592](https://github.com/sourcebot-dev/sourcebot/pull/592)
1823

1924
## Removed
2025
- Removed built-in secret manager. [#592](https://github.com/sourcebot-dev/sourcebot/pull/592)

docs/snippets/schemas/v3/app.schema.mdx

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,26 @@
3333
"properties": {
3434
"env": {
3535
"type": "string",
36-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
36+
"description": "The name of the environment variable that contains the token."
3737
}
3838
},
3939
"required": [
4040
"env"
4141
],
4242
"additionalProperties": false
43+
},
44+
{
45+
"type": "object",
46+
"properties": {
47+
"googleCloudSecret": {
48+
"type": "string",
49+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
50+
}
51+
},
52+
"required": [
53+
"googleCloudSecret"
54+
],
55+
"additionalProperties": false
4356
}
4457
]
4558
}
@@ -82,13 +95,26 @@
8295
"properties": {
8396
"env": {
8497
"type": "string",
85-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
98+
"description": "The name of the environment variable that contains the token."
8699
}
87100
},
88101
"required": [
89102
"env"
90103
],
91104
"additionalProperties": false
105+
},
106+
{
107+
"type": "object",
108+
"properties": {
109+
"googleCloudSecret": {
110+
"type": "string",
111+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
112+
}
113+
},
114+
"required": [
115+
"googleCloudSecret"
116+
],
117+
"additionalProperties": false
92118
}
93119
]
94120
}

docs/snippets/schemas/v3/azuredevops.schema.mdx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,26 @@
1717
"properties": {
1818
"env": {
1919
"type": "string",
20-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
20+
"description": "The name of the environment variable that contains the token."
2121
}
2222
},
2323
"required": [
2424
"env"
2525
],
2626
"additionalProperties": false
27+
},
28+
{
29+
"type": "object",
30+
"properties": {
31+
"googleCloudSecret": {
32+
"type": "string",
33+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
34+
}
35+
},
36+
"required": [
37+
"googleCloudSecret"
38+
],
39+
"additionalProperties": false
2740
}
2841
]
2942
},

docs/snippets/schemas/v3/bitbucket.schema.mdx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,26 @@
2121
"properties": {
2222
"env": {
2323
"type": "string",
24-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
24+
"description": "The name of the environment variable that contains the token."
2525
}
2626
},
2727
"required": [
2828
"env"
2929
],
3030
"additionalProperties": false
31+
},
32+
{
33+
"type": "object",
34+
"properties": {
35+
"googleCloudSecret": {
36+
"type": "string",
37+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
38+
}
39+
},
40+
"required": [
41+
"googleCloudSecret"
42+
],
43+
"additionalProperties": false
3144
}
3245
]
3346
},

docs/snippets/schemas/v3/connection.schema.mdx

Lines changed: 70 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,26 @@
2121
"properties": {
2222
"env": {
2323
"type": "string",
24-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
24+
"description": "The name of the environment variable that contains the token."
2525
}
2626
},
2727
"required": [
2828
"env"
2929
],
3030
"additionalProperties": false
31+
},
32+
{
33+
"type": "object",
34+
"properties": {
35+
"googleCloudSecret": {
36+
"type": "string",
37+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
38+
}
39+
},
40+
"required": [
41+
"googleCloudSecret"
42+
],
43+
"additionalProperties": false
3144
}
3245
]
3346
},
@@ -216,13 +229,26 @@
216229
"properties": {
217230
"env": {
218231
"type": "string",
219-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
232+
"description": "The name of the environment variable that contains the token."
220233
}
221234
},
222235
"required": [
223236
"env"
224237
],
225238
"additionalProperties": false
239+
},
240+
{
241+
"type": "object",
242+
"properties": {
243+
"googleCloudSecret": {
244+
"type": "string",
245+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
246+
}
247+
},
248+
"required": [
249+
"googleCloudSecret"
250+
],
251+
"additionalProperties": false
226252
}
227253
]
228254
},
@@ -405,13 +431,26 @@
405431
"properties": {
406432
"env": {
407433
"type": "string",
408-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
434+
"description": "The name of the environment variable that contains the token."
409435
}
410436
},
411437
"required": [
412438
"env"
413439
],
414440
"additionalProperties": false
441+
},
442+
{
443+
"type": "object",
444+
"properties": {
445+
"googleCloudSecret": {
446+
"type": "string",
447+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
448+
}
449+
},
450+
"required": [
451+
"googleCloudSecret"
452+
],
453+
"additionalProperties": false
415454
}
416455
]
417456
},
@@ -659,13 +698,26 @@
659698
"properties": {
660699
"env": {
661700
"type": "string",
662-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
701+
"description": "The name of the environment variable that contains the token."
663702
}
664703
},
665704
"required": [
666705
"env"
667706
],
668707
"additionalProperties": false
708+
},
709+
{
710+
"type": "object",
711+
"properties": {
712+
"googleCloudSecret": {
713+
"type": "string",
714+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
715+
}
716+
},
717+
"required": [
718+
"googleCloudSecret"
719+
],
720+
"additionalProperties": false
669721
}
670722
]
671723
},
@@ -814,13 +866,26 @@
814866
"properties": {
815867
"env": {
816868
"type": "string",
817-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
869+
"description": "The name of the environment variable that contains the token."
818870
}
819871
},
820872
"required": [
821873
"env"
822874
],
823875
"additionalProperties": false
876+
},
877+
{
878+
"type": "object",
879+
"properties": {
880+
"googleCloudSecret": {
881+
"type": "string",
882+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
883+
}
884+
},
885+
"required": [
886+
"googleCloudSecret"
887+
],
888+
"additionalProperties": false
824889
}
825890
]
826891
},

docs/snippets/schemas/v3/gitea.schema.mdx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,26 @@
1717
"properties": {
1818
"env": {
1919
"type": "string",
20-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
20+
"description": "The name of the environment variable that contains the token."
2121
}
2222
},
2323
"required": [
2424
"env"
2525
],
2626
"additionalProperties": false
27+
},
28+
{
29+
"type": "object",
30+
"properties": {
31+
"googleCloudSecret": {
32+
"type": "string",
33+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
34+
}
35+
},
36+
"required": [
37+
"googleCloudSecret"
38+
],
39+
"additionalProperties": false
2740
}
2841
]
2942
},

docs/snippets/schemas/v3/github.schema.mdx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,26 @@
1717
"properties": {
1818
"env": {
1919
"type": "string",
20-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
20+
"description": "The name of the environment variable that contains the token."
2121
}
2222
},
2323
"required": [
2424
"env"
2525
],
2626
"additionalProperties": false
27+
},
28+
{
29+
"type": "object",
30+
"properties": {
31+
"googleCloudSecret": {
32+
"type": "string",
33+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
34+
}
35+
},
36+
"required": [
37+
"googleCloudSecret"
38+
],
39+
"additionalProperties": false
2740
}
2841
]
2942
},

docs/snippets/schemas/v3/gitlab.schema.mdx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,26 @@
1717
"properties": {
1818
"env": {
1919
"type": "string",
20-
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
20+
"description": "The name of the environment variable that contains the token."
2121
}
2222
},
2323
"required": [
2424
"env"
2525
],
2626
"additionalProperties": false
27+
},
28+
{
29+
"type": "object",
30+
"properties": {
31+
"googleCloudSecret": {
32+
"type": "string",
33+
"description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets"
34+
}
35+
},
36+
"required": [
37+
"googleCloudSecret"
38+
],
39+
"additionalProperties": false
2740
}
2841
]
2942
},

0 commit comments

Comments
 (0)