-
Notifications
You must be signed in to change notification settings - Fork 67
Test release preparation #555
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
base: development
Are you sure you want to change the base?
Test release preparation #555
Conversation
Signed-off-by: Gilles Peskine <[email protected]>
Restore the file deleted at 0679e3a Signed-off-by: Gilles Peskine <[email protected]>
Partial cherry-pick of 879cba1 from Mbed TLS: only the changes in `scripts/bump_version.sh`. This is needed to adapt to the changes in how versions are declared in `**/CMakeLists.txt`. Signed-off-by: Ronald Cron <[email protected]> Signed-off-by: Gilles Peskine <[email protected]>
* There is no X.509 or TLS library. * Doxygen files are generated from a CMake template and no longer hard-code the product version. * None of the generated files exist here, and they wouldn't need updating anyway since they don't get committed. Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Simulate the release of the next minor version, happening today. Work in separate Git directories, to avoid contaminating the source tree where `all.sh` is being run. The release process can make commits, which should definitely not go onto a developer's branch when they run `all.sh` locally. Signed-off-by: Gilles Peskine <[email protected]>
Test that the library from the tar can be built in a minimal environment (CMake, make, C compiler and a few basic shell commands). In particular, this environment does not include Python. (This assumes that CMake won't try to look for Python outside of `$PATH`, which does seem to be the case in practice.) Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
| #### Release preparation | ||
| ################################################################ | ||
|
|
||
| next_product_version () { |
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'm not sure if the auxiliary functions here should move to framework/scripts/all-helpers.sh. They're pretty specific to release preparation.
| EOF | ||
| } | ||
|
|
||
| git_clone_recursively () { |
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 want to tidy up the handling of submodules (both cloning, and the dirty worktree check) before copying this to mbedtls. For crypto with just one submodule, it's ok. But for the multiple submodules of Mbed TLS, I'd like a loop. And if I write that loop I might as well use it here too.
Signed-off-by: Gilles Peskine <[email protected]>
Git command help is provided through man pages, which are not installed in our Docker images, `git archive --help | grep ...` was always failing. Use the Git version number instead. Signed-off-by: Gilles Peskine <[email protected]>
fixup "Test the reproducibility of the release tar" Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Also list the sha and the files at the end of the build rather than midway through, for better visibility. Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Addresses most of Mbed-TLS/mbedtls#3255 . What is left is to arrange for the Groovy code to pick up the release artifacts created by the new
all.shcomponent as Jenkins artifacts.Addresses most of Mbed-TLS/mbedtls-framework#231 by creating
bump_version.shin crypto. We might want to put this functionality intoprepare_release.py, but I'm not fully convinced: there are significant differences between branches with respect to what version bumping does, so I think the code to do that belongs in each branch.Fixes Mbed-TLS/mbedtls#9521 by testing that builds done in different directories result in identical tarballs.
Needs preceding PR:
bump_version.shnot to be incomplete: Fix duplication of product version in CMakeLists.txt #554PR checklist
prepare_release.pyfor 3.6