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

fix missing RELEASE_TAG value for index update commits #398

Merged

Conversation

komish
Copy link
Contributor

@komish komish commented Nov 6, 2024

Index update commit messages no longer have the chart's release information (i.e. org-chartname-version). This is because there is data not being transferred across jobs in the certification workflow.

The RELEASE_TAG environment variable is used in this script, but has no value assigned to it. It's being set in a previous job, so we can easily pass along this variable to this script.

This was referenced Nov 6, 2024
This was referenced Nov 6, 2024
Copy link
Contributor

@mgoerens mgoerens left a comment

Choose a reason for hiding this comment

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

/lgtm

@mgoerens
Copy link
Contributor

mgoerens commented Nov 7, 2024

How did this come to not working ? What changed ?

@komish
Copy link
Contributor Author

komish commented Nov 7, 2024

@mgoerens the value was previously calculated in-script, vs. being passed in as an environment variable. When the shell script was introduced (replacing the python script that preceded it), the environment variable wasn't added to the task, but empty vars by default are not an error in Bash, so it was quietly "failing".

@komish komish merged commit 649982f into openshift-helm-charts:main Nov 7, 2024
6 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.

2 participants