-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
chore(release): use docker image to facilitate update-copyright step #13747
Conversation
scripts/release-lib.sh
Outdated
DIR=$(dirname "$0") | ||
PDIR=$(dirname "$DIR") | ||
|
||
if ! (docker build -t kong/update-copyright ${DIR} && docker run -v ${PDIR}:/workspace --rm kong/update-copyright) |
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.
We may consider publishing the docker image to reduce the build time in the future. But for now I've tried it several times docker always uses the local cached image thus it's not a big deal. @kikito any preferences?
97e87c5
to
90a380e
Compare
…tainer with all necessary dependencies
90a380e
to
73a0a81
Compare
Successfully created cherry-pick PR for |
We don't need cherrypicking this into kong-ee, there's a different process there for copyright handling |
Successfully created backport PR for |
Summary
It was not easy to install and figure out all the dependencies for the update-copyright script. This PR aims to install all the required dependencies into a docker image and use it to execute the update-copyright script.
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdIssue reference
KAG-5297
Fix #[issue number]