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

Preserve environment variables in pantsd to allow Docker auth. #18465

Merged

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented Mar 10, 2023

As reported in #18187, the environment variables used by the bollard crate to connect to non-standard Docker setups were being filtered out when pantsd was in use. Users confirmed that disabling pantsd resolved #18187.

This change preserves those environment variables when pantsd starts.

Fixes #18187.

@stuhood stuhood added this to the 2.15.x milestone Mar 10, 2023
@stuhood stuhood requested review from kaos and benjyw March 10, 2023 17:41
@stuhood stuhood added the category:bugfix Bug fixes for released features label Mar 10, 2023
@stuhood stuhood enabled auto-merge (squash) March 10, 2023 17:54
@stuhood stuhood force-pushed the stuhood/preserve-docker-environment-variables branch from 1017569 to 07edff6 Compare March 10, 2023 17:59
@stuhood stuhood merged commit 89f4942 into pantsbuild:main Mar 10, 2023
17 checks passed
@stuhood stuhood deleted the stuhood/preserve-docker-environment-variables branch March 10, 2023 20:05
stuhood added a commit to stuhood/pants that referenced this pull request Mar 10, 2023
…tsbuild#18465)

As reported in pantsbuild#18187, the environment variables used by the `bollard`
crate to connect to non-standard Docker setups were being filtered out
when `pantsd` was in use. Users confirmed that disabling `pantsd`
resolved pantsbuild#18187.

This change preserves those environment variables when `pantsd` starts.

Fixes pantsbuild#18187.
stuhood added a commit to stuhood/pants that referenced this pull request Mar 10, 2023
…tsbuild#18465)

As reported in pantsbuild#18187, the environment variables used by the `bollard`
crate to connect to non-standard Docker setups were being filtered out
when `pantsd` was in use. Users confirmed that disabling `pantsd`
resolved pantsbuild#18187.

This change preserves those environment variables when `pantsd` starts.

Fixes pantsbuild#18187.
stuhood added a commit that referenced this pull request Mar 10, 2023
…rry-pick of #18465) (#18468)

As reported in #18187, the environment variables used by the `bollard`
crate to connect to non-standard Docker setups were being filtered out
when `pantsd` was in use. Users confirmed that disabling `pantsd`
resolved #18187.

This change preserves those environment variables when `pantsd` starts.

Fixes #18187.
stuhood added a commit that referenced this pull request Mar 10, 2023
…rry-pick of #18465) (#18467)

As reported in #18187, the environment variables used by the `bollard`
crate to connect to non-standard Docker setups were being filtered out
when `pantsd` was in use. Users confirmed that disabling `pantsd`
resolved #18187.

This change preserves those environment variables when `pantsd` starts.

Fixes #18187.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOCKER_CONFIG not respected within pants test
2 participants