-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improve release_files_check script #10856
Conversation
Signed-off-by: see-quick <maros.orsak159@gmail.com>
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.
I guess you should again test it to make sure it works.
echo "ERROR: Checksums of $DIRECTORY do not match." | ||
echo " Expected: ${EXPECTED_CHECKSUM}" | ||
echo " Actual: ${CHECKSUM}" | ||
echo "If your changes to $DIRECTORY are related to a new release, please update the checksums. Otherwise, please change only the files in the $PACKAGING_DIR directory. " |
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.
echo "If your changes to $DIRECTORY are related to a new release, please update the checksums. Otherwise, please change only the files in the $PACKAGING_DIR directory. " | |
echo "If your changes to $DIRECTORY are related to a new release, please update the checksums. Otherwise, please change only the files in the $PACKAGING_DIR directory." |
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.
Seems to work
./.azure/scripts/release_files_check.sh
ERROR: Checksums of ./install do not match.
Expected: 4e3bc4774c0d1803e895d42e22d792364b2f14c5 -
Actual: 61a5673f862fb693f43dbda4303879929e6b2b04 -
If your changes to ./install are related to a new release, please update the checksums. Otherwise, please change only the files in the ./packaging/install directory.
ERROR: Checksums of ./examples do not match.
Expected: 2bbd52b17af9b7ef63731b4a0a81165b182d77e6 -
Actual: 9ec480c825d9d58a92293a9995aff1986066071b -
If your changes to ./examples are related to a new release, please update the checksums. Otherwise, please change only the files in the ./packaging/examples directory.
ERROR: Checksums of ./helm-charts do not match.
Expected: 50e2ee0738ebfd558fa2e35c189b3abb5e3a5663 -
Actual: efcada371739e2823cacd18f545216f11673b589 -
If your changes to ./helm-charts are related to a new release, please update the checksums. Otherwise, please change only the files in the ./packaging/helm-charts directory.
make: *** [Makefile:138: release_files_check] Error 3
##[error]Bash exited with code '2'.
Finishing: Check released files
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.
Great, thanks.
Signed-off-by: see-quick <maros.orsak159@gmail.com>
Co-authored-by: Jakub Scholz <www@scholzj.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
Signed-off-by: see-quick <maros.orsak159@gmail.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com> Co-authored-by: Jakub Scholz <www@scholzj.com>
Type of change
Description
This PR update our release_files_check.sh script, which is used to check if someone changes examples, installs or helm charts directories. As we improve the procedure in the KAO repository I also wanted to update here in the operator's repo. For context, here is KAO PR with such changes [1].
[1] - strimzi/kafka-access-operator#66
Checklist