Commit ebd3e30
committed
fix(e2e): rename the tool-bin var to avoid a foundation var collision
A remote Taskfile include's root var clobbers a same-named var in the
consumer Taskfile. Compute and the test-infra foundation both defined
LOCALBIN, so compute's {{.ROOT_DIR}}/bin was overridden by the foundation's
REPO_DIR-based definition; REPO_DIR is undefined in the compute scope, so the
value rendered as a literal "%!s(<nil>)/bin" — chainsaw would have installed
to a bogus directory and e2e:test could not have found it. Rename the var to
E2E_BIN, which does not collide. KARMADA_API_NODEPORT also shares a name with
a foundation var, but it is passed through the include by design and resolves
to the same value (override included), so it is unaffected.1 parent e694a75 commit ebd3e30
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
169 | 173 | | |
170 | 174 | | |
171 | 175 | | |
172 | | - | |
| 176 | + | |
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
179 | | - | |
| 183 | + | |
180 | 184 | | |
181 | 185 | | |
182 | 186 | | |
| |||
0 commit comments