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
Secure binaries release script #9928
Conversation
tools/psa/release.py
Outdated
def build_mbed_spm_platform(target, toolchain): | ||
subprocess.call([ | ||
PYTHON_EXEC, | ||
'-u', |
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.
Is there a reason you chose to call test.py
instead of invoke the python directly? Both are within the same directory after all.
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 I was clear here: I mean you can import the functions that test.py
calls and call them as well.
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.
main() function?
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 was thinking of build_project
and build_tests
and build_library
.
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.
and then i'll need to update this tool everytime the internals change ( true, that's rare to happen but better safe than sorry)
@theotherjimmy i've addressed all the issues please review again |
@orenc17 Sorry for the miscommunication. when I was recommending that you drop the if-expression for python executable, I meant to use |
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.
This is what I was trying to convey. Sorry for the confusion.
This script will find all the PSA targets and compile their secure binaries Including test secure binaries
@theotherjimmy fixed |
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.
Where's documentation for this script? docs PR?
got request to move this to 5.12Rc2 , added tag pending final review. |
@NirSonnenschein where should documentation live for this? How uses it and how? Will it be part of PSA docs? |
@0xc0170 this is a tool, mainly for internal use (e.g. maintainers, PSA development, etc..) but could also be used for silicon partners and potentially as part of the release process. |
If that is case, inline docs should be present |
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.
Inline docs as mentioned above what is this script for and how to use it, LGTM otherwise
@NirSonnenschein @0xc0170 |
CI started |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
Description
This script will find all the PSA targets and compile their secure binaries (Including test secure binaries)
Pull request type
Reviewers
@ARMmbed/mbed-os-tools @ARMmbed/mbed-os-maintainers
Release Notes