mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-02 10:35:08 -05:00
ci: fix cdbg_deploy error reporting (#3182)
This commit is contained in:
parent
c911eb4e3a
commit
6e2af89c01
9
.github/actions/cdbg_deploy/action.yml
vendored
9
.github/actions/cdbg_deploy/action.yml
vendored
@ -91,6 +91,11 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
echo "::group::cdbg deploy"
|
||||
on_error() {
|
||||
echo "::error::cdbg deploy failed"
|
||||
}
|
||||
trap on_error ERR
|
||||
|
||||
chmod +x $GITHUB_WORKSPACE/build/cdbg
|
||||
cdbg deploy \
|
||||
--bootstrapper "${{ github.workspace }}/build/bootstrapper" \
|
||||
@ -112,8 +117,4 @@ runs:
|
||||
--info logcollect.deployment-type="debugd" \
|
||||
--verbosity=-1 \
|
||||
--force
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "::error::cdbg deploy failed"
|
||||
exit 1
|
||||
fi
|
||||
echo "::endgroup::"
|
||||
|
Loading…
x
Reference in New Issue
Block a user