ci: validate distribution zip contains LICENSE and NOTICE#4439
ci: validate distribution zip contains LICENSE and NOTICE#4439hemasrishalini wants to merge 1 commit into
Conversation
ci: validate LICENSE and NOTICE files exist inside distribution archives
aa57ac5 to
a387545
Compare
|
I do not think this validation adds coverage. The LICENSE/NOTICE files are produced by
This task also only validates presence by archive entry name; it does not cover the content/staleness checks requested in #4186. The existing admin/server checks already validate mentioned dependencies. So this change seems redundant. |
|
I investigated the existing validation and packaging flow further. From what I found:
So I understand now that my current archive presence validation overlaps significantly with the existing implementation. If there is still a specific validation scenario from #4186 that is not currently covered, I’d be happy to continue working on that direction. |
|
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Summary
Adds a Gradle validation task that opens distribution archives and
checks that LICENSE and NOTICE files are present inside them.
Changes
validateDistributionLicenseNoticeGradle taskchecklifecycle so CI catches this automaticallyTesting
Ran locally:
./gradlew :polaris-distribution:check
Output: "LICENSE and NOTICE validated successfully in both ZIP and TAR archives."
Closes #4186
Checklist
CHANGELOG.md(if needed)site/content/in-dev/unreleased(if needed)