-
Notifications
You must be signed in to change notification settings - Fork 56
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
Conversation
8ab4583
to
9656b08
Compare
This change is a raw import of the third party license validation code from https://github.com/awslabs/amazon-ecr-credential-helper/tree/6bae25fb558e48ec1359a54dc58d163b53f9cd0d Signed-off-by: Austin Vazquez <[email protected]>
9656b08
to
7b3f689
Compare
Signed-off-by: Austin Vazquez <[email protected]>
7b3f689
to
d392c73
Compare
@@ -0,0 +1,41 @@ | |||
#!/usr/bin/env bash | |||
|
|||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Superseded by #1328 |
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.