Skip to content

Commit caef698

Browse files
committed
Add some logging for easier debugging in case of problems
Log what URL is used to fetch manifest and make the curl command fail in case of error like 404 response.
1 parent 6939dd8 commit caef698

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.ci/scripts/resolve-dra-manifest.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ strip_version() {
66
}
77

88
fetch_build() {
9-
curl -sS https://artifacts-$1.elastic.co/$2/latest/$3.json \
9+
>&2 echo "Checking for build id: https://artifacts-$1.elastic.co/$2/latest/$3.json"
10+
curl -sSf https://artifacts-$1.elastic.co/$2/latest/$3.json \
1011
| jq -r '.build_id'
1112
}
1213

0 commit comments

Comments
 (0)