[fix][CI] Check Pulsar SQL / Trino license files - #15253
Conversation
79904d6 to
b981a91
Compare
|
The pr had no activity for 30 days, mark with Stale label. |
|
The pr had no activity for 30 days, mark with Stale label. |
b981a91 to
cd0b096
Compare
|
@tisonkun Please review |
|
@lhotari Please provide a correct documentation label for your PR. |
nicoloboschi
left a comment
There was a problem hiding this comment.
I don't know if you did it on purpose but running this check also in the Build and License check step is a good thing because it can avoid unnecessary steps to be executed in case of failure
tisonkun
left a comment
There was a problem hiding this comment.
Can we remove these lines:
pulsar/.github/workflows/pulsar-ci.yaml
Lines 106 to 107 in cd0b096
since it's duplicated by the new lines. Then we may save some cycles.
@nicoloboschi @tisonkun It's intentionally not handled in "Build and License check". if it would be done there, we'd have to compile the whole distribution and that would mess up the whole "Build and License check" step. |
tisonkun
left a comment
There was a problem hiding this comment.
@lhotari I know that we don't have to compile the whole distribution in the first place. My point is that since we check the whole binary in this new step, we can remove the former step. But the former step can help fail fast, so it's somewhat reasonable to keep as is.
cd0b096 to
6b2d578
Compare
|
@lhotari any progress here? |
This closes apache#16783. This closes apache#15253. Signed-off-by: tison <wander4096@gmail.com>
|
No responses. Try to supersede in #18171. |
Fixes #16783
Motivation
The new "Pulsar CI" workflow doesn't currently check Pulsar SQL (Trino) license files.
The existing "build-and-license-check" builds only the core-modules profile because of performance reasons.
Modifications
Add license check to the step that builds the full apachepulsar/pulsar-test-latest-version:latest docker image.