Skip to content

ci: Skip running some expensive steps (like cluster creation) if there are no changed charts - #126

Merged
rm3l merged 3 commits into
redhat-developer:mainfrom
rm3l:ci__skip_ct_and_expensive_steps_if_no_chart_changed
Apr 3, 2025
Merged

ci: Skip running some expensive steps (like cluster creation) if there are no changed charts#126
rm3l merged 3 commits into
redhat-developer:mainfrom
rm3l:ci__skip_ct_and_expensive_steps_if_no_chart_changed

Conversation

@rm3l

@rm3l rm3l commented Apr 3, 2025

Copy link
Copy Markdown
Member

Description of the change

If no chart has changed, it doesn't make sense to create a cluster then install OLM, so that ct lint and ct install would report that nothing has changed.
This PR speeds things up in such case by skipping these useless (but expensive) steps.

Existing or Associated Issue(s)

Additional Information

Checklist

  • Chart version bumped in Chart.yaml according to semver.
  • Variables are documented in the values.yaml and added to the README.md. The pre-commit utility can be used to generate the necessary content. Use pre-commit run -a to apply changes.
  • JSON Schema template updated and re-generated the raw schema via pre-commit hook.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

@sonarqubecloud

sonarqubecloud Bot commented Apr 3, 2025

Copy link
Copy Markdown

@rm3l
rm3l marked this pull request as ready for review April 3, 2025 10:44
@openshift-ci
openshift-ci Bot requested review from gazarenkov and nickboldt April 3, 2025 10:44
@rm3l
rm3l merged commit 4b8672b into redhat-developer:main Apr 3, 2025
@rm3l
rm3l deleted the ci__skip_ct_and_expensive_steps_if_no_chart_changed branch April 3, 2025 10:46
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.

1 participant