BuildKit compresses zstd at about level 11 at most, so the release and
nightly images now go through a composite action: the image is built
into an OCI layout, every layer is recompressed with the zstd CLI at
level 19, and a second build that only names the layout pushes it.
BuildKit keeps the recompressed layers and still attaches provenance
and the SBOM to the pushed digests.
On 2.4.0 this takes the native image from 94.6 to 70.1 MB on amd64 and
from 92.6 to 67.1 MB on arm64, and compat amd64 from 223.2 to 167.7 MB.
Pulling zstd layers needs Docker Engine 23.0 or later, so the
installation requirements move up from 20.10.
A new workflow tests the action on the pull requests that change it:
recompress.py against fixture layouts, then the whole action pushing a
two-platform image to a registry on the runner.
Takes the updates from the Dependabot group in #5335 that do not break
the native image:
- quarkus-bom and quarkus-maven-plugin 3.39.2 to 3.40.1
- jackson-bom 2.22.2 to 2.22.3
- h2 and h2-mvstore 2.4.240 to 2.5.252
- bcprov-jdk18on 1.85.2 and bcpkix-jdk18on 1.85 to 1.86
- neo4j-java-driver 6.2.1 to 6.3.0
- checkstyle 14.1.0 to 14.3.0
- Maven 3.9.16 to 3.10.0 in the wrapper properties
and holds back three, each now ignored in dependabot.yml so the group
stops proposing them:
- proto-google-common-protos stays at 2.49.0. This is what failed the
native build on #5335: from 2.65.0 on the artifact is generated for
protobuf-java 4 and its classes need com.google.protobuf.GeneratedFile,
which the pinned protobuf-java 3.25.9 does not have, so initializing
apicurio's FileDescriptorUtils at image build time ends in a
NoClassDefFoundError.
- httpcore5 and httpcore5-h2 stay at 5.3.6, and httpclient5 at 5.5.1.
Both pins are deliberate and explained in pom.xml: httpcore5 5.4 breaks
every Docker call in the native image, and httpclient5 5.6 needs
org.tukaani:xz at native link time.
The mvnw and mvnw.cmd scripts are left as they are: regenerating them
drops the check from #4751 that refuses the unverifiable .tar.gz fallback
when a distribution checksum is set.
Signed-off-by: Hector Ventura <hectorvent@gmail.com>
src/main/resources/aws/*.json is generated from the botocore version
pinned in tools/aws/requirements.txt, and nothing moved that pin, so a
region, partition or service AWS added later was never flagged. A
monthly Dependabot pip update, allowed for botocore only, now proposes
the bump; its PR runs the Partition Literals workflow, whose
aws-data-check fails when the new release changes the vendored data,
and the comment in dependabot.yml says how to regenerate it.
json-schema-validator 2.x has breaking API changes and 3.x requires
Jackson 3 (tools.jackson.*), incompatible with the Jackson 2
(com.fasterxml.jackson.*) used throughout the project.
Pin to 1.x to prevent Dependabot raising unmergeble bumps.
Ref: #381
* chore(ci): CI hygiene batch (concurrency, timeouts, action pinning, Dependabot)
Rework of #350 with release-related changes removed per maintainer
feedback on #348 (semantic-release intentionally disabled while main
stabilizes).
What's included:
- Concurrency groups on all workflows (cancel superseded runs)
- timeout-minutes on all jobs (prevent stuck builds)
- SHA-pinned third-party actions (supply chain hardening)
- Dependabot config for Maven deps + GitHub Actions
- CODEOWNERS routing CI/release paths to @hectorvent
- SECURITY.md with private vulnerability reporting instructions
What's NOT included (intentionally):
- semver.yml changes (semantic-release on main)
- .releaserc.json changes (main branch addition)
* chore: switch Dependabot schedule from weekly to monthly