Skip to content

check-binary-license.sh doesn't check Pulsar SQL licenses in CI #16783

Closed

Description

@tisonkun

- name: Build core-modules
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: |
mvn -B -T 1C -ntp -Pcore-modules,-main clean install -DskipTests -Dlicense.skip=true -Drat.skip=true
- name: Check binary licenses
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: src/check-binary-license.sh ./distribution/server/target/apache-pulsar-*-bin.tar.gz

When build and check license in CI, we don't build with Pulsar SQL module. Thus, we can miss dependencies bump to Pulsar SQL, as in #16508 (comment) and the first attempt of #16683.

I don't know whether it's required to build with -Pcore-modules,-main, but if we want to check binary licenses correctly, current workflow doesn't achieve the goal.

Activity

  1. added
    type/bug
    on Jul 25, 2022
  2. github-actions commented on Aug 25, 2022

    @github-actions

    The issue had no activity for 30 days, mark with Stale label.

  3. tisonkun commented on Aug 25, 2022

    @tisonkun
    MemberAuthor

    @lhotari thoughts? I'm not sure where we can run the check-binary-license.sh with a Pulsar SQL distro.

  4. lhotari commented on Sep 15, 2022

    @lhotari
    Member

    @lhotari thoughts? I'm not sure where we can run the check-binary-license.sh with a Pulsar SQL distro.

    @tisonkun Please take a look at #15253 . The license check should be done when the docker image is built.

  5. github-actions commented on Oct 16, 2022

    @github-actions

    The issue had no activity for 30 days, mark with Stale label.

  6. added a commit that references this issue on Oct 24, 2022
    27fd9b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Staletype/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions