@@ -3,41 +3,35 @@ import type { GitProviderConfig } from './types.js';
33/**
44 * Git hosting provider benchmark configurations.
55 *
6- * Each participant points at an HTTPS repo. The `url` field provides a
7- * read-only default (where a public fixture exists); set the matching
8- * `*_GIT_REPO_URL` env var to a writable repo and the matching token env var
9- * to enable the push/pull workflow. Tensorlake is gated by required env vars
10- * because it has no public fixture.
6+ * Every participant requires both a writable `*_GIT_REPO_URL` env var and a
7+ * matching `*_TOKEN` env var. The runner skips providers whose credentials are
8+ * missing, so there is no read-only fallback.
119 */
1210export const providers : GitProviderConfig [ ] = [
1311 {
1412 name : 'github' ,
15- requiredEnvVars : [ ] ,
16- url : 'https://github.com/octocat/Spoon-Knife.git' ,
13+ requiredEnvVars : [ 'GITHUB_GIT_REPO_URL' , 'GITHUB_TOKEN' ] ,
1714 repoUrlEnvVar : 'GITHUB_GIT_REPO_URL' ,
1815 tokenEnvVar : 'GITHUB_TOKEN' ,
1916 tokenUsername : 'token' ,
2017 } ,
2118 {
2219 name : 'gitlab' ,
23- requiredEnvVars : [ ] ,
24- url : 'https://gitlab.com/gitlab-org/gitlab-test.git' ,
20+ requiredEnvVars : [ 'GITLAB_GIT_REPO_URL' , 'GITLAB_TOKEN' ] ,
2521 repoUrlEnvVar : 'GITLAB_GIT_REPO_URL' ,
2622 tokenEnvVar : 'GITLAB_TOKEN' ,
2723 tokenUsername : 'oauth2' ,
2824 } ,
2925 {
3026 name : 'bitbucket' ,
31- requiredEnvVars : [ ] ,
32- url : 'https://bitbucket.org/atlassian/hello-world.git' ,
27+ requiredEnvVars : [ 'BITBUCKET_GIT_REPO_URL' , 'BITBUCKET_TOKEN' ] ,
3328 repoUrlEnvVar : 'BITBUCKET_GIT_REPO_URL' ,
3429 tokenEnvVar : 'BITBUCKET_TOKEN' ,
3530 tokenUsername : 'x-token-auth' ,
3631 } ,
3732 {
3833 name : 'tensorlake' ,
3934 requiredEnvVars : [ 'TENSORLAKE_GIT_REPO_URL' , 'TENSORLAKE_API_KEY' ] ,
40- url : process . env . TENSORLAKE_GIT_REPO_URL ?? '' ,
4135 repoUrlEnvVar : 'TENSORLAKE_GIT_REPO_URL' ,
4236 tokenEnvVar : 'TENSORLAKE_API_KEY' ,
4337 tokenUsername : 't' ,
0 commit comments