Skip to content

Forward system gitconfig to container#265

Open
deribaucourt wants to merge 2 commits intomasterfrom
forward-system-gitconfig
Open

Forward system gitconfig to container#265
deribaucourt wants to merge 2 commits intomasterfrom
forward-system-gitconfig

Conversation

@deribaucourt
Copy link
Copy Markdown
Member

Some sysadmins pass some global proxy configuration in the system gitconfig, and it can be useful to forward it to the container as well. This commits adds a feature to pass it by default, like the user gitconfig, and a new environment variable CQFD_NO_SYSTEM_GIT_CONFIG to disable it if needed. This follows the same approach as the user gitconfig or ssh forwarding.

Some sysadmins pass some global proxy configuration in the system
gitconfig, and it can be useful to forward it to the container as well.
This commits adds a feature to pass it by default, like the user
gitconfig, and a new environment variable `CQFD_NO_SYSTEM_GIT_CONFIG` to
disable it if needed. This follows the same approach as the user
gitconfig or ssh forwarding.
@deribaucourt deribaucourt force-pushed the forward-system-gitconfig branch from e3ae79e to f4366b2 Compare April 17, 2026 15:55
Copy link
Copy Markdown
Contributor

@florentsfl florentsfl left a comment

Choose a reason for hiding this comment

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

Do you think that we should add some bats tests to test if the files were correctly bind mounted ? It seems like there are no tests even for the user git config

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.

2 participants