You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/10/12 10:01:56 UTC
[GH] (rocketmq-dashboard/chore/deploy-legal-gate-switch): Workflow run "CI" failed!
The GitHub Actions job "CI" on rocketmq-dashboard.git/chore/deploy-legal-gate-switch has failed.
Run started by GitHub user lizhimins (triggered by lizhimins).
Head commit for run:
7e1e2090740bb5138a40658cbb33464da767d210 / lizhimins <70...@qq.com>
chore(deploy): let a test-machine deploy opt out of the release license gate
The gate checks that the built JAR embeds every bundled dependency's upstream license text.
It currently fails on 164 artifacts, so neither `mvn package` nor the image build can
complete, which blocks deploying unrelated source changes to a test machine.
Two switches, both defaulting to the current behaviour:
- `ARG LEGAL_GATE=1` around both `check-jar` runs in server/Dockerfile. At 0 the step prints
that the image is not a release artifact instead of failing.
- `MAVEN_ARGS` and `LEGAL_GATE` in deploy/deploy.sh, so deploy/.env (environment specific,
not tracked) can pass `-Dmaven.antrun.skip=true` and `LEGAL_GATE=0`. antrun has exactly one
execution in server/pom.xml, so skipping it is precise.
The two have to be flipped together: the JAR's META-INF/legal materials are produced by the
maven step, so skipping only that one turns "164 jars non-compliant" into "JAR is missing
legal materials" at check-jar.
Report URL: https://github.com/apache/rocketmq-dashboard/actions/runs/38230778718
With regards,
GitHub Actions via GitBox