Commit 7732903
committed
Update build infrastructure for isolated test module
Updates Makefile, Dockerfile, and .gitignore to work with the new
test extension module location.
Makefile changes:
- Added TESTS_EXT_DIR and TESTS_EXT_OUTPUT variables
- tests-ext-build now builds from test/extended/tests-extension/
- tests-ext-update runs from and updates metadata in tests-extension dir
- Binary output: test/extended/tests-extension/openshift-apiserver-tests-ext
Dockerfile changes:
- Updated gzip path: test/extended/tests-extension/openshift-apiserver-tests-ext
- Updated COPY path for .gz file to match new location
.gitignore changes:
- Updated to ignore binary at new path: /test/extended/tests-extension/openshift-apiserver-tests-ext
The build process now:
1. cd into test/extended/tests-extension/ (where the separate go.mod is)
2. Build the binary using the isolated dependencies
3. Output binary stays within the test module directory
4. Docker build references the new paths for gzip and copy operations1 parent d33f57d commit 7732903
3 files changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments