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

[22.06 backport] Forward-port patches of 20.10.20 to master #44323

Closed

Conversation

thaJeztah
Copy link
Member

cherry-picks were clean

corhere and others added 5 commits October 19, 2022 00:25
Make the test more debuggable by logging all git command output and
running each table-driven test case as a subtest.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 8816c3c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 41731e7)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Keep It Simple! Set the working directory for git commands by...setting
the git process's working directory. Git commands can be run in the
parent process's working directory by passing the empty string.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 10db4c2)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 34e1f6d)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Prevent git commands we run from reading the user or system
configuration, or cloning submodules from the local filesystem.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 9f5f3ab)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 107212d)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
While it is undesirable for the system or user git config to be used
when the daemon clones a Git repo, it could break workflows if it was
unconditionally applied to docker/cli as well.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit c0d1188)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e09a574)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This is accomplished by storing the distribution source in the content
labels. If the distribution source is not found then we check to the
registry to see if the digest exists in the repo, if it does exist then
the puller will use it.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4b9902b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 750498e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 22.06.0 milestone Oct 18, 2022
@thaJeztah thaJeztah closed this Oct 19, 2022
@thaJeztah thaJeztah deleted the 22.06_backport_forward_port_20.10.20 branch October 19, 2022 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants