HDDS-10340. Skip ci on dashboard updates#6203
Conversation
There was a problem hiding this comment.
Thanks @kerneltime for working on this.
Filtering checks based on paths is performed by dev-support/ci/selective_ci_checks.sh. Please add it to the pattern here:
ozone/dev-support/ci/selective_ci_checks.sh
Lines 233 to 237 in c1efa33
and here:
ozone/dev-support/ci/selective_ci_checks.sh
Lines 481 to 497 in c1efa33
We also have a unit test for this script. Please add a test case similar to the following, using the hash of a commit that only changed dashboard files (e.g. 039dea9):
ozone/dev-support/ci/selective_ci_checks.bats
Lines 400 to 410 in c1efa33
You can then test it locally by running:
hadoop-ozone/dev-support/checks/bats.sh
|
Thanks will do! |
Change-Id: Iad966750ea821605bba21aafe4b9b423b977749c
a27238d to
91c624b
Compare
What changes were proposed in this pull request?
Currently there are no test for dashboard changes but the PRs still run the entire CI workflow.
Skip the CI if only the dashboards have been updated.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10340
How was this patch tested?
Pushed this change and a dashboard change to https://github.com/kerneltime/ozone/commits/HDDS-10339-skip-ci/