Browse Source

fix: [myc-update] bail out when charm apply fails.

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
rc1
Valentin Lab 3 years ago
parent
commit
7a2405a2ab
  1. 2
      bin/myc-update

2
bin/myc-update

@ -46,7 +46,7 @@ cd /opt/apps/0k-charms
git pull -r
EOF
charm --debug apply docker-host
charm --debug apply docker-host || exit 1
## there seem to be an error now within compose when trying to download let's encrypt image.
Wrap -d "Updating some docker images" <<EOF || exit 1

Loading…
Cancel
Save