Skip to content

Conversation

ferozsalam
Copy link
Contributor

The Push Chart CI workflow uses the default branch when running print-chart-version.sh. Other workflows checkout the PR branch for the same script. The print-chart-version.sh script uses the VERSION file at the repo root to determine the tags of the Helm charts that are pushed, which means that we were seeing inconsistencies between the chart tag that was being pushed and the chart tags that other workflows were looking for when PRs are opened against version branches.

This change to the Push Chart CI workflow copies the VERSION file from the PR branch into the location that print-chart-version.sh expects, so that all workflows are now getting the VERSION from the same file.

The Push Chart CI workflow uses the default branch when running
print-chart-version.sh. Other workflows checkout the PR branch for the same script.
The print-chart-version.sh script uses the VERSION file at the repo root to
determine the tags of the Helm charts that are pushed, which means that we
were seeing inconsistencies between the chart tag that was being pushed and the
chart tags that other workflows were looking for.

This change to the Push Chart CI workflow copies the VERSION file from the PR
branch into the location that print-chart-version.sh expects, so that all
workflows are now getting the VERSION from the same file.

Signed-off-by: Feroz Salam <feroz.salam@isovalent.com>
@ferozsalam ferozsalam added the release-note/ci This PR makes changes to the CI. label Nov 13, 2024
@ferozsalam ferozsalam requested a review from aanm November 13, 2024 10:46
@ferozsalam ferozsalam requested review from a team as code owners November 13, 2024 10:46
@ferozsalam ferozsalam requested a review from brlbil November 13, 2024 10:46
@ferozsalam
Copy link
Contributor Author

/test

@aanm aanm added this pull request to the merge queue Nov 13, 2024
Merged via the queue into main with commit 1c4b659 Nov 13, 2024
74 checks passed
@aanm aanm deleted the pr/feroz/use-pr-branch-version branch November 13, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants