Skip to content

Commit

Permalink
add --fail to curl for error reporting
Browse files Browse the repository at this point in the history
Signed-off-by: shubham <[email protected]>
  • Loading branch information
shubham14bajpai committed Jul 30, 2020
1 parent 4610c97 commit a496875
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion build/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ elif [ "${ARCH}" = "aarch64" ]; then
MIGRATE_IMG="${IMAGE_ORG}/migrate-arm64"
fi

curl https://raw.githubusercontent.com/openebs/charts/gh-pages/scripts/release/buildscripts/push > ./build/push
curl --fail https://raw.githubusercontent.com/openebs/charts/gh-pages/scripts/release/buildscripts/push > ./build/push
chmod +x ./build/push

# tag and push all the images
Expand Down
1 change: 0 additions & 1 deletion ci/upgrade/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ kubectl wait --for=condition=available --timeout=600s deployment/cspc-operator -

echo "Create application with cStor volume on CSPC"

kubectl get nodes --show-labels
nodename=$(kubectl get nodes -o jsonpath='{.items[*].metadata.name}')
bdname=$(kubectl -n openebs get blockdevices -o jsonpath='{.items[*].metadata.name}')
sed "s|CSPCBD|$bdname|g" ./ci/upgrade/application.tmp.yaml | sed "s|NODENAME|$nodename|g" > ./ci/upgrade/application.yaml
Expand Down

0 comments on commit a496875

Please sign in to comment.