Commit 31f1ebc
committed
Update architecture checks to be more defensive against server failures
We've had a recent rash of GitHub hiccups that cause bad updates like docker-library/official-images@3b308f8 -- hopefully this change helps make those into `update.sh` job failures instead of bad commits, by checking the HTTP status codes directly and only accepting the answer as authoritative for 200 and 404 explicitly.1 parent c1c6e2e commit 31f1ebc
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
79 | 90 | | |
80 | 91 | | |
81 | 92 | | |
| |||
110 | 121 | | |
111 | 122 | | |
112 | 123 | | |
113 | | - | |
| 124 | + | |
114 | 125 | | |
115 | 126 | | |
116 | 127 | | |
| |||
0 commit comments