Skip to content

Commit e76bc15

Browse files
author
David Magton
committed
[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

5 files changed

+134
-14
lines changed

go.work

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ go 1.24.11
22

33
use (
44
./api
5+
./images/agent
56
./images/controller
7+
./images/csi-driver
8+
./images/linstor-drbd-wait
9+
./images/megatest
10+
./images/sds-replicated-volume-controller
11+
./images/webhooks
612
./internal
713
./lib/go/common
814
)

0 commit comments

Comments
 (0)