You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
37
-
{/* Last updated: Manual setup - will be automated via sourcegraph/sourcegraph releases*/}
37
+
{/* Last updated: 2025-07-01T23:25:36Z via sourcegraph/sourcegraph@v6.5.1211*/}
38
38
```json
39
39
{
40
+
// REQUIRED:
40
41
// The AWS access key ID to use when listing and updating repositories from AWS CodeCommit. Must have the AWSCodeCommitReadOnly IAM policy.
41
42
"accessKeyID": null,
42
43
43
44
// A list of repositories to never mirror from AWS CodeCommit.
44
-
//
45
45
// Supports excluding by name ({"name": "git-codecommit.us-west-1.amazonaws.com/repo-name"}) or by ARN ({"id": "arn:aws:codecommit:us-west-1:999999999999:name"}).
46
-
"exclude": null,
47
46
// Other example values:
48
47
// - [
49
48
// {
@@ -61,35 +60,55 @@ AWS CodeCommit connections support the following configuration options, which ar
61
60
// "name": "go-client"
62
61
// }
63
62
// ]
63
+
"exclude": null,
64
64
65
+
// REQUIRED:
65
66
// The Git credentials used for authentication when cloning an AWS CodeCommit repository over HTTPS.
66
-
//
67
67
// See the AWS CodeCommit documentation on Git credentials for CodeCommit: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_ssh-keys.html#git-credentials-code-commit.
68
68
// For detailed instructions on how to create the credentials in IAM, see this page: https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html
69
-
"gitCredentials": null,
69
+
"gitCredentials": {
70
+
"password": null,
71
+
"username": null
72
+
},
73
+
74
+
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
75
+
"gitSSHCipher": null,
76
+
77
+
// SSH keys to use when cloning Git repo.
78
+
"gitSSHCredential": null,
79
+
80
+
// The ID of the SSH key created for your IAM users. It is required when using SSH to clone repositories.
81
+
"gitSSHKeyID": null,
82
+
83
+
// The type of Git URLs to use for cloning and fetching Git repositories.
84
+
// Valid options: "http", "ssh"
85
+
"gitURLType": "http",
70
86
71
87
// Deprecated and ignored field which will be removed entirely in the next release. AWS CodeCommit repositories can no longer be enabled or disabled explicitly. Configure which repositories should not be mirrored via "exclude" instead.
72
88
"initialRepositoryEnablement": false,
73
89
90
+
// The maximum number of repos that will be deleted per sync. A value of 0 or less indicates no maximum.
91
+
"maxDeletions": 0,
92
+
93
+
// REQUIRED:
74
94
// The AWS region in which to access AWS CodeCommit. See the list of supported regions at https://docs.aws.amazon.com/codecommit/latest/userguide/regions.html#regions-git.
// The pattern used to generate a the corresponding Sourcegraph repository name for an AWS CodeCommit repository. In the pattern, the variable "{name}" is replaced with the repository's name.
78
-
//
79
99
// For example, if your Sourcegraph instance is at https://src.example.com, then a repositoryPathPattern of "awsrepos/{name}" would mean that a AWS CodeCommit repository named "myrepo" is available on Sourcegraph at https://src.example.com/awsrepos/myrepo.
80
-
//
81
100
// It is important that the Sourcegraph repository name generated with this pattern be unique to this code host. If different code hosts generate repository names that collide, Sourcegraph's behavior is undefined.
0 commit comments