From 20693ef6273dadaa229a4a3025d36701e5009571 Mon Sep 17 00:00:00 2001 From: James Kwon <96548424+hongil0316@users.noreply.github.com> Date: Sun, 29 Dec 2024 13:23:14 -0500 Subject: [PATCH] Modify node-pack-extract cloud_build to fail on error response from the registry --- node-pack-extract/cloudbuild.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-pack-extract/cloudbuild.yaml b/node-pack-extract/cloudbuild.yaml index 9bf1898..90aee63 100644 --- a/node-pack-extract/cloudbuild.yaml +++ b/node-pack-extract/cloudbuild.yaml @@ -34,7 +34,7 @@ steps: - | NODE="$(basename $(dirname $(dirname '$_CUSTOM_NODE_URL')))" VERSION="$(basename $(dirname '$_CUSTOM_NODE_URL'))" - curl -s \ + curl -sf \ -H "Authorization: Bearer $(cat /workspace/token)" \ -H "Content-Type: application/json" \ -X "POST" "-d" "@/workspace/$_CUSTOM_NODE_NAME.json" \