Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the parameter EnableGitMirrorsExperiment to BuildkiteAgentEnableGitMirrors #1123

Merged
merged 2 commits into from
Jun 7, 2023

Conversation

triarius
Copy link
Contributor

@triarius triarius commented Jun 6, 2023

And no longer set the experiment in the agent config. Now that the
experiment has been mainlined, this feature is toggled by the non
emptiness of the git-mirrors-path config value. So all we need to do is
ensure that if the new parameter is true, it is set to a non-empty value
(and the path exists and is writable by the agent).

Fixes: #1121

@triarius triarius force-pushed the oss-315-git-mirrors-only-works-as-an-experment branch from 6ada5ca to 0c4f8fe Compare June 6, 2023 12:40
@triarius triarius changed the title Remove the EnableAgentGitMirrorsExperiment parameter and create dirs for git mirrors by default Rename the parameter EnableGitMirrorsExperiment to BuildkiteAgentEnableGitMirrors Jun 6, 2023
@triarius triarius force-pushed the oss-315-git-mirrors-only-works-as-an-experment branch from 0c4f8fe to bfe167a Compare June 6, 2023 12:43
…nableGitMirrors`

And no longer set the experiment in the agent config. Now that the
experiment has been mainlined, this feature is toggled by the non
emptiness of the `git-mirrors-path` config value. So all we need to do is
ensure that if the new parameter is true, it is set to a non-empty value
(and the path exists and is writable by the agent).

Fixes: #1121
@triarius triarius force-pushed the oss-315-git-mirrors-only-works-as-an-experment branch from bfe167a to 028ce2b Compare June 6, 2023 12:44
@triarius triarius force-pushed the oss-315-git-mirrors-only-works-as-an-experment branch 3 times, most recently from 729939d to 7b874c7 Compare June 6, 2023 23:46
@triarius triarius requested a review from a team June 6, 2023 23:49
Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff

@triarius triarius merged commit ed67ced into master Jun 7, 2023
@triarius triarius deleted the oss-315-git-mirrors-only-works-as-an-experment branch June 7, 2023 00:40
@triarius triarius mentioned this pull request Jun 18, 2023
Merged
triarius added a commit that referenced this pull request Jun 21, 2023
This keeps the parameter name, but otherwise is the same as #1123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git-mirrors only works as an experment
2 participants