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

ci: check for minor chart upgrades #3651

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

swiatekm
Copy link

Instead of ignoring upgrades to Falco and metrics-server, only check minor upgrades.

@swiatekm swiatekm requested a review from a team as a code owner April 16, 2024 12:31
@swiatekm swiatekm enabled auto-merge (rebase) April 16, 2024 12:37
latest_release = pd_sorted_entries.loc[0].values
if dep["name"] in DEPENDENCIES_ONLY_MINOR_UPGRADES:
major_version, *_ = current_version.split(".")
compatible_entries = pd_entries[pd_entries["version"].str.startswith(major_version)]
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to have unit tests for the tool :D
I have no idea how pd_entries structure looks like 😓

Copy link
Author

Choose a reason for hiding this comment

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

I think we can start by adding comments.

Copy link
Contributor

@sumo-drosiek sumo-drosiek left a comment

Choose a reason for hiding this comment

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

I trust it has been tested 😬

@swiatekm swiatekm merged commit 155ca97 into main Apr 16, 2024
21 checks passed
@swiatekm swiatekm deleted the ci/ignore-major-updates-falco-metrics-server branch April 16, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants