-
Notifications
You must be signed in to change notification settings - Fork 37.8k
ci: Remove CI_EXEC bloat #27616
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
ci: Remove CI_EXEC bloat #27616
Conversation
[WARN] The commit is obviously broken and will not run the CI system. In the rare case this is hit in a git bisect, just skip the commit. The goal here was to make it trivial to review with the git option: --color-moved=dimmed-zebra It is required to move everything into one file because "exit 0" will otherwise stop working as intended when the containing bash script is no longer executed with "source ...". If there is desire to split up 06_script_b.sh into logical chunks in the future, it will also be easier after the following commit.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
d6a4f7c
to
5cad9e8
Compare
concept ACK |
5cad9e8
to
fa01c3c
Compare
Concept ACK |
bash -c "./configure $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG" || ( (cat config.log) && false) | ||
make "${MAKEJOBS}" && cd src/qt && ANDROID_HOME=${ANDROID_HOME} ANDROID_NDK_HOME=${ANDROID_NDK_HOME} make apk | ||
bash -c "${PRINT_CCACHE_STATISTICS}" | ||
exit 0 |
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.
Moving the exit 0
may also fix a bug where the CI Pod for ARM64 Android APK [jammy]
is left alive even if the test passed.
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.
ACK fa01c3c
5d49d98 ci: Fix "Number of CPUs" output (Hennadii Stepanov) Pull request description: This PR is a follow-up to bitcoin/bitcoin#27616: - on [master](https://api.cirrus-ci.com/v1/task/5809898840129536/logs/ci.log): ``` Number of CPUs \(nproc\): $(nproc) ``` - this [PR](https://api.cirrus-ci.com/v1/task/6495994095861760/logs/ci.log): ``` Number of CPUs (nproc): 32 ``` ACKs for top commit: MarcoFalke: lgtm ACK 5d49d98 Tree-SHA512: d97ee3587dbadb604a381aa9990b58d75441307fc98e7ae674436f8318200c8faef7171348655cdcc3ed360c8ca22eacf063cb430b826a40cb0952a436c511f3
5d49d98 ci: Fix "Number of CPUs" output (Hennadii Stepanov) Pull request description: This PR is a follow-up to bitcoin#27616: - on [master](https://api.cirrus-ci.com/v1/task/5809898840129536/logs/ci.log): ``` Number of CPUs \(nproc\): $(nproc) ``` - this [PR](https://api.cirrus-ci.com/v1/task/6495994095861760/logs/ci.log): ``` Number of CPUs (nproc): 32 ``` ACKs for top commit: MarcoFalke: lgtm ACK 5d49d98 Tree-SHA512: d97ee3587dbadb604a381aa9990b58d75441307fc98e7ae674436f8318200c8faef7171348655cdcc3ed360c8ca22eacf063cb430b826a40cb0952a436c511f3
CI_EXEC
has many issues:bash -c "$*"
, meaning that the full command will be treated as a single string, ignoring tokens.Fix all issues by removing it almost completely.