You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a git resource, setting the submodules param to false passes -submodules false to cmd/git-init.
Actual Behavior
GitResource.GetInputTaskModifier does not inspect Submodules at all and does not generate the flag. Submodules are always initialized and fetched.
Steps to Reproduce the Problem
Use a git resource with params including {name: submodules, value: 'false'} in a TaskRun
Feast your eyes upon the generated Pod
Additional Info
#1531 changed git-init to fetch submodules. Making this configurable with a resource param was suggested in code review, but not completely implemented. Test_GitResource_GetDownloadTaskModifier was not updated to test the new param.
I discovered this while working on implementing #1450; I'll have a fix shortly.
The text was updated successfully, but these errors were encountered:
Expected Behavior
When using a
git
resource, setting thesubmodules
param tofalse
passes-submodules false
tocmd/git-init
.Actual Behavior
GitResource.GetInputTaskModifier
does not inspectSubmodules
at all and does not generate the flag. Submodules are always initialized and fetched.Steps to Reproduce the Problem
git
resource withparams
including{name: submodules, value: 'false'}
in a TaskRunAdditional Info
#1531 changed
git-init
to fetch submodules. Making this configurable with a resource param was suggested in code review, but not completely implemented.Test_GitResource_GetDownloadTaskModifier
was not updated to test the new param.I discovered this while working on implementing #1450; I'll have a fix shortly.
The text was updated successfully, but these errors were encountered: