Skip to content

Add 3PP license check as part of PR CI#190

Merged
marcdumais-work merged 1 commit intomasterfrom
automated-pr-license-check
Jan 29, 2024
Merged

Add 3PP license check as part of PR CI#190
marcdumais-work merged 1 commit intomasterfrom
automated-pr-license-check

Conversation

@marcdumais-work
Copy link
Contributor

@marcdumais-work marcdumais-work commented Jan 19, 2024

Depends on dash-licenses nodejs-wrapper being released on npm. (ongoing)

However, I went ahead and published a v0.0.1 so we can start using it immediately - the plan is to catch-up with the PR above and a small subsequent one that will create the GitHub release for this version.

For now the CI job it will be only informational, letting the committers know that some 3PPs look suspicious. Any committer can then run the dash-licenses wrapper locally to automatically create the required IP ticket(s) - see commit message for more details.

Closes #189

@marcdumais-work marcdumais-work marked this pull request as draft January 19, 2024 16:04
@marcdumais-work marcdumais-work force-pushed the automated-pr-license-check branch from 8fcc248 to 440b356 Compare January 29, 2024 19:38
@marcdumais-work marcdumais-work changed the title WIP - Add 3PP license check as part of PR CI Add 3PP license check as part of PR CI Jan 29, 2024
@marcdumais-work marcdumais-work marked this pull request as ready for review January 29, 2024 19:41
The license check can be triggered locally:
  yarn license:check

For automatic opening of IP tickets for suspicious depedencies, set an
Eclipse Foundation gitlab token as environment variable "DASH_TOKEN" and
run the alternate pacakge.json script. e.g.:
  export DASH_TOKEN="<your token>"
  yarn license:check:reviewAdd 3PP license check as part of PR CI

Closes #189

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
@marcdumais-work marcdumais-work force-pushed the automated-pr-license-check branch from 440b356 to ab7c060 Compare January 29, 2024 20:07
Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Looks good to me!

@marcdumais-work
Copy link
Contributor Author

Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Perform automated 3PP license check as part of CI for PRs

2 participants