CI: Fail the rebuild command if buildcache push failed#40045
CI: Fail the rebuild command if buildcache push failed#40045haampie merged 11 commits intospack:developfrom
Conversation
5786437 to
335c5d1
Compare
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fix==> Running style checks on spack
selected: isort, black, flake8, mypy
==> Modified files
lib/spack/spack/binary_distribution.py
lib/spack/spack/cmd/buildcache.py
lib/spack/spack/cmd/ci.py
lib/spack/spack/test/bindist.py
==> Running isort checks
isort checks were clean
==> Running black checks
All done! ✨ 🍰 ✨
4 files left unchanged.
black checks were clean
==> Running flake8 checks
lib/spack/spack/test/bindist.py:473: [E722] do not use bare 'except'
lib/spack/spack/test/bindist.py:482: [E722] do not use bare 'except'
lib/spack/spack/test/bindist.py:501: [E722] do not use bare 'except'
lib/spack/spack/test/bindist.py:511: [E722] do not use bare 'except'
flake8 found errors
==> Running mypy checks
Success: no issues found in 586 source files
mypy checks were clean
I wasn't able to make any further changes, but please see the message above for remaining issues you can fix locally! |
5b01243 to
48dd932
Compare
|
Push failure results in pipeline failure berkeley-db Successful push and usage of packages diffutils |
|
There are a lot of basic issues with this PR. Can you improve it? |
|
@haampie are you okay with these changes? I would like to get this in sooner than later. |
978f3c4 to
4e097d7
Compare
da00fb8 to
fda4eba
Compare
|
@haampie I took another pass on this with fresh eyes. I think because all of these APIs are internal the I added new exceptions, |
8761e87 to
1a2b090
Compare
|
The two code paths mentioned by @haampie should be tested now. Letting the coverage run to verify and will clean up the commit history after. |
|
lgtm, but please remove the unused bits |
660b331 to
1fd0c6b
Compare
9fb6d3e to
54b6a1e
Compare
54b6a1e to
2cf3c6b
Compare
|
removed debug, rebased to fix merge conflict |
Make jobs fail when binaries fail to push.