Skip to content

Commit

Permalink
[controller] fixed a replacement in go.mo for the api
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Karpov <[email protected]>
  • Loading branch information
krpsh123 committed Dec 11, 2024
1 parent 8982d84 commit 48f9a69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion images/controller/src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions images/controller/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
- "**/*"
Expand All @@ -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
Expand Down

0 comments on commit 48f9a69

Please sign in to comment.