adoroszlai opened a new pull request #1984:
URL: https://github.com/apache/ozone/pull/1984
## What changes were proposed in this pull request?
1. Merge basic CI checks (`author`, `bats`, etc.) into a single check with
matrix build. This reduces code duplication.
2. Add scripts to install check-specific dependencies (eg. `bats` or
`spotbugs`). This reduces complexity of Github-specific code in the workflow
definition, and allows simpler prototyping/testing.
3. Use Github Actions cache instead of building inside `ozone-build`
container. This reduces the effect of outdated dependencies in the image.
4. Prefer check-specific cache because:
* various checks require slightly different dependencies (mostly related
to Maven plugins)
* concurrent checks may have problem sharing cache (noticed with _compile
(8)_ and _compile (11)_ checks)
If check-specific cache is not available, fallback to shared cache at
restore time.
https://issues.apache.org/jira/browse/HDDS-4888
## How was this patch tested?
https://github.com/adoroszlai/hadoop-ozone/actions/runs/614723003
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]