Commit c8c1b25
authored
Fix TypeError in ClusterFuzzLite and CloudBuild tags (#14388)
**Fix TypeError in ClusterFuzzLite**
This PR fixes a TypeError that occurs in ClusterFuzzLite projects when
the PROJECT_SRC_PATH environment variable is not set.
This issue was introduced in #14382, which added the base_os_version
property to check for Ubuntu 24.04 migration. In ClusterFuzzLite
(external projects), base_os_version attempts to read project.yaml using
PROJECT_SRC_PATH, which can be missing in some configurations.
The fix adds a fallback to self.workspace when PROJECT_SRC_PATH is
missing, which is the default behavior for ClusterFuzzLite on GitHub
Actions. A warning is also logged when this fallback occurs.
**Fix CloudBuild tags**:
The CloudBuild for infra/cifuzz was failing because it was trying to use
the ubuntu-24-04 tag for the base image, but only ubuntu-24-04-v1 was
available in GCR.
The fix updates infra/cifuzz/cloudbuild.yaml to create both ubuntu-24-04
and ubuntu-24-04-v1 tags for all images. This ensures compatibility with
existing configurations while supporting the new versioned tags.1 parent b0cacbd commit c8c1b25
2 files changed
+36
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| |||
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| 71 | + | |
| 72 | + | |
65 | 73 | | |
| 74 | + | |
| 75 | + | |
66 | 76 | | |
67 | 77 | | |
68 | 78 | | |
| |||
78 | 88 | | |
79 | 89 | | |
80 | 90 | | |
| 91 | + | |
81 | 92 | | |
| 93 | + | |
82 | 94 | | |
| 95 | + | |
83 | 96 | | |
| 97 | + | |
84 | 98 | | |
| 99 | + | |
85 | 100 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
213 | 219 | | |
214 | 220 | | |
215 | 221 | | |
216 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
217 | 236 | | |
218 | 237 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | 238 | | |
227 | 239 | | |
228 | 240 | | |
| |||
0 commit comments