Repository navigation
Commit 983c690
committed
ci(e2e): fail the asset download instead of writing the error into the image
`curl -sSL ... -o _out/assets/nocloud-amd64.raw.xz` exits 0 on an HTTP
error and writes the response body into the file, so an expired token or
a 404 lands as a "disk image" and surfaces minutes later as a
decompression error that names nothing useful.
Add --fail. The behaviour is unchanged from the code this composite was
extracted from, but it now serves both the e2e and the upgrade lane, and
the release PR path — the one that downloads a draft-release asset with a
token that can expire — is the path the upgrade lane exists for.
Assisted-By: Claude <[email protected]>
Signed-off-by: Myasnikov Daniil <[email protected]>1 parent 44feb45 commit 983c690
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
0 commit comments