Commit e51ac80
committed
fix: Round 9 - Use direct GCS URL for kubebuilder test tools
The kubebuilder.io URL returns a 302 redirect that curl -sSL is not
following correctly, causing "tar: This does not look like a tar archive"
errors.
Changed to use the direct Google Cloud Storage URL:
https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-VERSION-linux-amd64.tar.gz
This ensures we get the actual tar.gz file instead of a redirect response.
Also restored -z flag since we now know it's definitely gzipped.
Files modified:
- .github/workflows/test.yml (lines 181-184)
- .github/workflows/reusable/build-test.yml (lines 92-94)
Related: #CI-fixes1 parent 1e64ebb commit e51ac80
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | | - | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
| 182 | + | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
0 commit comments