-
Notifications
You must be signed in to change notification settings - Fork 19
Allow test failures for build uploads when not on release branch or tags #420
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: main
Are you sure you want to change the base?
Changes from all commits
9c8fd9e
92a6532
04bfe0c
020a601
1497415
6c9d34f
7996b54
1ed1a42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -23,6 +23,10 @@ steps: | |||||
| export BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET | ||||||
| export ALLOW_FAIL="false" | ||||||
|
|
||||||
| # allow test-failures for non-release/tags so that nightly & PR builds | ||||||
| # can be uploaded to s3 even if tests are not passing | ||||||
| # (allowing for usage with juliaup) | ||||||
| export ALLOW_TEST_FAILURES=$(([[ "${BUILDKITE_BRANCH?}" == release-* ]] || [[ "${BUILDKITE_TAG:-}" == v* ]]) && echo "false" || echo "true") | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I haven't actually verified myself that this pattern matching is correct, so ideally someone would just do some quick tests in Bash locally before we merge. Or alternatively, we can have a quick GitHub Actions CI job to check miscellaneous things such as this. E.g. just a quick Bash-based CI job that puts in various values of The latter is probably easier, because we can do it in CI instead of relying on people to manually test things locally.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, can we rename this something else? In Buildkite, "allow fail" (or "soft fail") means something different - it means failures show up as a red warning sign (not a red X), and failures don't block Here, we have a different meaning, so can we make the variable name more unambiguous?
Suggested change
|
||||||
| ##### Launch `upload_*` jobs to store tarballs into S3 once tests are done | ||||||
| ### Linux: | ||||||
| # Regular Linux upload jobs: | ||||||
|
|
@@ -84,6 +88,11 @@ steps: | |||||
| export BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET | ||||||
|
|
||||||
| export ALLOW_FAIL="true" | ||||||
|
|
||||||
| # allow test-failures for non-release/tags so that nightly & PR builds | ||||||
| # can be uploaded to s3 even if tests are not passing | ||||||
| # (allowing for usage with juliaup) | ||||||
| export ALLOW_TEST_FAILURES=$(([[ "${BUILDKITE_BRANCH?}" == release-* ]] || [[ "${BUILDKITE_TAG:-}" == v* ]]) && echo "false" || echo "true") | ||||||
IanButterworth marked this conversation as resolved.
Show resolved
Hide resolved
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above - would be nice to quickly test in CI (in a small GitHub Actions CI job). |
||||||
|
|
||||||
| # Launch Linux allowed-to-fail upload jobs | ||||||
| GROUP="Allow Fail (Upload)" \ | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| Salted__�B�<F���~g�F�����r���!�A�\S 0�(NF��Cb�FaR5�q�9�/�Vn��2�G��Q��!x��ٔ����b�1� | ||
| Salted__��Hi��ey}k#�ab47�9����� \œצ۹m���mdFU����3Ԟ\*\����U.��d*Xѥ"y��� | ||
| �.���s,,K�� |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,8 @@ steps: | |||||
| # Wait for the builder to finish | ||||||
| - "build_${TRIPLET?}" | ||||||
| # Wait for the tester to finish | ||||||
| - "test_${TRIPLET?}" | ||||||
| - step: "test_${TRIPLET?}" | ||||||
| allow_failure: "${ALLOW_TEST_FAILURES?}" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| # Prevent multiple pipelines from uploading to S3 simultaneously | ||||||
| # It is okay for two different triplets to upload simultaneously | ||||||
| concurrency: 1 | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,8 @@ steps: | |||||
| # Wait for the builder to finish | ||||||
| - "build_${TRIPLET?}" | ||||||
| # Wait for the tester to finish | ||||||
| - "test_${TRIPLET?}" | ||||||
| - step: "test_${TRIPLET?}" | ||||||
| allow_failure: "${ALLOW_TEST_FAILURES?}" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| # Prevent multiple pipelines from uploading to S3 simultaneously | ||||||
| # It is okay for two different triplets to upload simultaneously | ||||||
| concurrency: 1 | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,8 @@ steps: | |||||
| # Wait for the builder to finish | ||||||
| - "build_${TRIPLET?}" | ||||||
| # Wait for the tester to finish | ||||||
| - "test_${TRIPLET?}" | ||||||
| - step: "test_${TRIPLET?}" | ||||||
| allow_failure: "${ALLOW_TEST_FAILURES?}" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| # Prevent multiple pipelines from uploading to S3 simultaneously | ||||||
| # It is okay for two different triplets to upload simultaneously | ||||||
| concurrency: 1 | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,8 @@ steps: | |||||
| # Wait for the builder to finish | ||||||
| - "build_${TRIPLET?}" | ||||||
| # Wait for the tester to finish | ||||||
| - "test_${TRIPLET?}" | ||||||
| - step: "test_${TRIPLET?}" | ||||||
| allow_failure: "${ALLOW_TEST_FAILURES?}" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| # Prevent multiple pipelines from uploading to S3 simultaneously | ||||||
| # It is okay for two different triplets to upload simultaneously | ||||||
| concurrency: 1 | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Salted__���T���zF�>`/U���.��m�|Q�sϓ���|��������C ����>z�T/�t�����������U.�� | ||
| Salted__�^���I��8�jz� :T3�ɶT3'c�W���Eny�-����e�:^^��'�464��q�If'����έ�SvY�d-�jˈ�� |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| Salted__�x@������o�C9���5�����* | ||
| f��B�1j:��*1dk����d��!��Uޭ�Q�s�D�&U0�_�����f�^� | ||
| Salted__'��>~��|�%����*ci�(w8vi��kk� | ||
| ��Uv��3Q�4�#��6S��$�|�p�$҃�g)%�,a��r�u!��-�WU |
Uh oh!
There was an error while loading. Please reload this page.