Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add go license check to CI #1249

Closed

Conversation

austinvazquez
Copy link
Contributor

@austinvazquez austinvazquez commented May 23, 2024

Issue #, if available:
The SOCI project intends to follow CNCF best practices, but currently has no mechanism for enforcing license checks of 3rd party dependencies. As a maintainer, it would be helpful to validate in CI that each contribution is following the guidance set forth by Amazon and CNCF with respect to usage of open source in the project.

Description of changes:
This change imports licenses check mechanism from the Amazon ECR credential helper project to validate usage of 3rd party dependencies is in alignment with Amazon and CNCF Open Source License usage best practices.

Testing performed:
Check is successful in CI

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@austinvazquez austinvazquez marked this pull request as ready for review May 23, 2024 19:54
@austinvazquez austinvazquez requested a review from a team as a code owner May 23, 2024 19:54
@austinvazquez austinvazquez force-pushed the add-go-license-check branch 2 times, most recently from 8ab4583 to 9656b08 Compare May 23, 2024 20:04
@austinvazquez austinvazquez force-pushed the add-go-license-check branch from 9656b08 to 7b3f689 Compare May 30, 2024 14:07
Signed-off-by: Austin Vazquez <[email protected]>
@austinvazquez austinvazquez force-pushed the add-go-license-check branch from 7b3f689 to d392c73 Compare May 30, 2024 14:33
@@ -0,0 +1,41 @@
#!/usr/bin/env bash

# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copy link
Contributor

@sondavidb sondavidb May 30, 2024

Choose a reason for hiding this comment

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

Should this be consistent with our other SOCI scripts? i.e. should the copyright be to Soci Snapshotter Authors instead of Amazon?

Otherwise LGTM

Copy link
Contributor

@swagatbora90 swagatbora90 left a comment

Choose a reason for hiding this comment

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

LGTM.

@austinvazquez austinvazquez added the github_actions Pull requests that update GitHub Actions code label Jun 4, 2024
@austinvazquez
Copy link
Contributor Author

Superseded by #1328

@austinvazquez austinvazquez deleted the add-go-license-check branch August 2, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants