From 48f9a69c081d4e0cdbff76e266c337dbc67209a4 Mon Sep 17 00:00:00 2001 From: Pavel Karpov Date: Wed, 11 Dec 2024 14:32:39 +0300 Subject: [PATCH] [controller] fixed a replacement in go.mo for the api Signed-off-by: Pavel Karpov --- images/controller/src/go.mod | 2 +- images/controller/werf.inc.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/images/controller/src/go.mod b/images/controller/src/go.mod index a8508b3..c591ae2 100644 --- a/images/controller/src/go.mod +++ b/images/controller/src/go.mod @@ -71,4 +71,4 @@ require ( sigs.k8s.io/yaml v1.4.0 // indirect ) -replace github.com/deckhouse/csi-nfs/api => /src-api +replace github.com/deckhouse/csi-nfs/api => ../../../api diff --git a/images/controller/werf.inc.yaml b/images/controller/werf.inc.yaml index 9674d5a..d567ca7 100644 --- a/images/controller/werf.inc.yaml +++ b/images/controller/werf.inc.yaml @@ -8,12 +8,12 @@ final: false git: - add: /images/controller/src - to: /src + to: /csi-nfs/images/controller/src stageDependencies: setup: - "**/*" - add: /api - to: /src-api + to: /csi-nfs/api stageDependencies: setup: - "**/*" @@ -22,7 +22,7 @@ mount: to: /go/pkg shell: setup: - - cd /src/cmd + - cd /csi-nfs/images/controller/src/cmd - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-s -w" -o controller - mv controller /controller - chmod +x /controller