adoroszlai opened a new pull request, #3620:
URL: https://github.com/apache/ozone/pull/3620
## What changes were proposed in this pull request?
Avoid triggering all tests:
* for workflows except `post-commit.yml`: they are not exercised by any
jobs in the `post-commit.yml` (`build-branch`) workflow, so running those jobs
is useless
* for `pr_title_check.*`: these are covered by specific checks (_rat_ for
license, and _bats_ for bash unit tests)
https://issues.apache.org/jira/browse/HDDS-7044
## How was this patch tested?
Added test case in `selective_ci_checks.bats`. Also checked output for the
commit for HDDS-7043 locally:
```
$ bash dev-support/ci/selective_ci_checks.sh 96009ab20
...
All 2 changed files are known to be handled by specific checks.
needs-basic-checks=true
basic-checks=["rat","bats"]
needs-build=false
needs-compile=false
needs-compose-tests=false
needs-dependency-check=false
needs-integration-tests=false
needs-kubernetes-tests=false
```
and for a commit that only changed the misc. workflows:
```
$ bash dev-support/ci/selective_ci_checks.sh 1493541d7
...
All 2 changed files are known to be handled by specific checks.
needs-basic-checks=true
basic-checks=["rat"]
needs-build=false
needs-compile=false
needs-compose-tests=false
needs-dependency-check=false
needs-integration-tests=false
needs-kubernetes-tests=false
```
Regular CI:
https://github.com/adoroszlai/hadoop-ozone/runs/7486998639
https://github.com/adoroszlai/hadoop-ozone/runs/7487000326
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]