Skip to content

Commit e62c5b2

Browse files
committed
fail if download failed
Signed-off-by: Matt Wrock <matt@mattwrock.com>
1 parent 0b47987 commit e62c5b2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.expeditor/templates/studiorc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ while ! [ -f "/hab/svc/builder-api/files/builder-github-app.pem" ]; do
9191
sleep 10
9292
done
9393

94-
hab pkg install rcpd/testapp -u http://localhost:9636
94+
hab pkg install rcpd/testapp -u http://localhost:9636 --channel unstable --auth bobo || {
95+
echo "ERROR: Failed to install rcpd/testapp package"
96+
exit 1
97+
}
9598
hab pkg uninstall rcpd/testapp
9699
hap pkg delete rcpd/testapp/0.1.0/20200401202136 -u http://localhost:9636 --auth bobo
97100
hab origin delete rcpd -u http://localhost:9636 --auth bobo

0 commit comments

Comments
 (0)