Update Go to 1.15 in Releases + Check Licenses CI #1665
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This introduces a new CI Check that runs the
create-licenses.sh
script and saves the results for 7 days in a GitHub Artifact for reference. These artifacts can be viewed while available by browsing the GitHub Action job (Example available for next week: https://github.com/runewake2/kpt/actions/runs/709503762). This allows the resulting licenses file to be manually validated if needed. Currently a job failure should not produce an artifact. More info about how artifact uploads work is here.Additionally Kpt's GitHub Actions and Docker Images used during Cloud Build have been brought into alignment on Go Version. They should all use Go version 1.15 now.
The
create-licenses.sh
script has been updated to support 1.15.The new CI check is included to help verify these changes and so licensing issues are detected during the PR's that would introduce them.