Skip to content

Commit 8918438

Browse files
committed
Fix a Git Mirrors bug
1 parent 4ad6ec8 commit 8918438

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/hostmgr/commands/generate/GenerateBuildkiteJobScript.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ struct GenerateBuildkiteJobScript: ParsableCommand {
1717
"BUILDKITE_BUILD_PATH": Paths.buildkiteBuildDirectory.path,
1818
"BUILDKITE_HOOKS_PATH": Paths.buildkiteHooksDirectory.path,
1919
"BUILDKITE_PLUGINS_PATH": Paths.buildkitePluginsDirectory.path,
20-
"BUILDKITE_GIT_MIRRORS_PATH": "/Volumes/My Shared Files/git-mirrors"
20+
"BUILDKITE_GIT_MIRRORS_PATH": "/Volumes/My Shared Files/git-mirrors",
21+
"BUILDKITE_GIT_MIRRORS_SKIP_UPDATE": "true" // The agent can't write to the Git Mirror, so don't try
2122
]
2223
}
2324

0 commit comments

Comments
 (0)