Commit e76bc15
David Magton
[ci] Add all image modules to go.work and fix internal dependency
Image modules were not listed in go.work, causing CI test failures with
"directory prefix . does not contain modules listed in go.work" error.
Additionally, images/controller was missing the internal module
dependency required for internal/reconciliation/flow import.
Changes:
- Add all images/*/go.mod modules to go.work use() directive
- Update hack/run-tests.sh case pattern to stay in sync with go.work
- Add replace directive and require for internal module in
images/controller/go.mod
- Add internal to includePaths in images/controller/werf.inc.yaml so
the directory is available during container build
Signed-off-by: David Magton <david.magton@flant.com>1 parent 77d3b5e commit e76bc15
File tree
5 files changed
+134
-14
lines changed- hack
- images/controller
5 files changed
+134
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| |||
0 commit comments