Commit 6a22196
Support Multi-Arch Image in CI (#4348)
* Add KuberayTestArch environment variable for architecture override in tests
This commit introduces a new environment variable KuberayTestArch that allows
overriding the detected architecture in test environments. Previously, the
system only relied on runtime.GOARCH to determine if ARM64 architecture was
being used, but this change enables explicit architecture specification
through the environment variable. This is particularly useful for testing
scenarios where you want to force a specific architecture regardless of the
actual runtime environment, improving test flexibility and consistency
across different platforms.
Signed-off-by: KunWuLuan <kunwuluan@gmail.com>
* update
Signed-off-by: Future-Outlier <eric901201@gmail.com>
---------
Signed-off-by: KunWuLuan <kunwuluan@gmail.com>
Signed-off-by: Future-Outlier <eric901201@gmail.com>
Co-authored-by: Future-Outlier <eric901201@gmail.com>1 parent 81c526d commit 6a22196
1 file changed
+1
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 25 | + | |
37 | 26 | | |
38 | 27 | | |
39 | 28 | | |
| |||
0 commit comments