Skip to content

Conversation

@joelcapitao
Copy link
Member

Since 5c83258, we need to have a git tree containing more commits than just 1 (the default), because the python script versionary calculates the n value based on the number of commits. This patch increases the number of commits to clone up to 50. We expect not having more than 50 commits since the last manifest lockfile update.

Since 5c83258, we need to have a git tree containing more commits
than just 1 (the default), because the python script versionary
calculates the `n` value based on the number of commits.
This patch increases the number of commits to clone up to 50. We
expect not having more than 50 commits since the last manifest
lockfile update.
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly increases the git clone depth to 50 for Tekton pipelines to support the versionary script. The change is applied across all relevant pipeline configurations. However, this approach introduces significant duplication of the clone-depth parameter and the pipeline bundle SHA across 17 files. This will make future maintenance more difficult. My review includes a suggestion to centralize this configuration using a tool like Kustomize to improve maintainability.

@joelcapitao
Copy link
Member Author

FTR the Konflux log of this PR:

[prepare-build-context : prepare-build-context] + tee /tekton/results/labels
[prepare-build-context : prepare-build-context] [
[prepare-build-context : prepare-build-context]   "version=43.20260114.20.4",
[prepare-build-context : prepare-build-context]   "fedora-coreos.stream=testing-devel"
[prepare-build-context : prepare-build-context] ]

@dustymabe
Copy link
Member

LGTM

@dustymabe dustymabe merged commit 9d87fb7 into coreos:testing-devel Jan 15, 2026
10 checks passed
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.

3 participants