-
Notifications
You must be signed in to change notification settings - Fork 151
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
git-clone task: Support fetching tags of submodules #1817
base: main
Are you sure you want to change the base?
git-clone task: Support fetching tags of submodules #1817
Conversation
Add a new `fetchSubmoduleTags` param to the git-clone task to fetch tags from all submodules. Signed-off-by: Andreas Gerstmayr <[email protected]>
tkn bundle push quay.io/<your-namespace>/tekton-catalog/task-git-clone:some-tag -f task/git-clone/0.1/git-clone.yaml Then use |
Oh, and you'll have to go to https://quay.io/\<your-namespace>/tekton-catalog/task-git-clone and make the repository public |
Thank you for the instructions! I tested it successfully. Now we can set Fun fact, I tried to run |
Hmm, interesting. I think cachi2 does more or less an equivalent of |
I think cachi2 simply runs this command in the subfolder. This is the config for the prefetch-dependencies task: When run outside the folder, |
I believe cachi2 runs |
/ok-to-test |
Signed-off-by: Andreas Gerstmayr <[email protected]>
/ok-to-test |
Add a new
fetchSubmoduleTags
param to the git-clone task to fetch tags from all submodules.The change should be straightforward, but I didn't test it so far. Is there a simple way to build a container for this task, push it to a public registry and flip this line: https://github.com/os-observability/konflux-tempo/blob/8090ec116d33d2a2bb1bcdc3967159f18a258b3f/.tekton/multi-arch-build-pipeline.yaml#L42 to test this change?