Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Variable names below map to [the agent configuration documentation](https://buil
- `buildkite_agent_bootstrap_script`
- `buildkite_agent_git_clean_flags`
- `buildkite_agent_git_clone_flags`
- `buildkite_agent_git_fetch_flags`
- `buildkite_agent_no_color`
- `buildkite_agent_no_command_eval`
- `buildkite_agent_no_plugins`
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ buildkite_agent_bootstrap_script:
Windows: buildkite-agent bootstrap
buildkite_agent_git_clean_flags: -fxdq
buildkite_agent_git_clone_flags: -v
buildkite_agent_git_fetch_flags: -v --prune
buildkite_agent_no_color: 'false'
buildkite_agent_no_command_eval: 'false'
buildkite_agent_no_plugins: 'false'
Expand Down
3 changes: 3 additions & 0 deletions templates/buildkite-agent.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ plugins-path="{{ buildkite_agent_plugins_dir[ansible_os_family] }}"
# Flags to pass to the `git clone` command
git-clone-flags={{ buildkite_agent_git_clone_flags }}

# Flags to pass to the `git fetch` command
git-fetch-flags={{ buildkite_agent_git_fetch_flags }}

# Flags to pass to the `git clean` command
git-clean-flags={{ buildkite_agent_git_clean_flags }}

Expand Down