Skip to content

Commit

Permalink
Fix copying files depending on stages
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Yakubov authored and Alexey Yakubov committed Jan 10, 2025
1 parent f9aecb4 commit aad4991
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion images/sds-local-volume-controller/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ git:
# - api
# - src
stageDependencies:
setup:
#setup:
install:
- "**/*"

mount:
Expand Down
4 changes: 2 additions & 2 deletions images/sds-local-volume-csi/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import:
- image: {{ $.ImageName }}-src-artifact
add: /
to: /
before: setup
before: install #setup

mount:
- fromPath: ~/go-pkg-cache
Expand All @@ -48,7 +48,7 @@ import:
- image: {{ $.ImageName }}-golang-artifact
add: /{{ $.ImageName }}
to: /{{ $.ImageName }}
before: setup
before: install #setup

shell:
beforeInstall:
Expand Down
6 changes: 3 additions & 3 deletions images/sds-local-volume-scheduler-extender/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import:
- image: {{ $.ImageName }}-src-artifact
add: /
to: /
before: setup
before: install #setup

mount:
- fromPath: ~/go-pkg-cache
Expand Down Expand Up @@ -80,7 +80,7 @@ import:
- image: {{ $.ImageName }}-distroless-artifact
add: /relocate
to: /
before: setup
before: install #setup

---
image: {{ $.ImageName }}
Expand All @@ -90,7 +90,7 @@ import:
- image: {{ $.ImageName }}-golang-artifact
add: /{{ $.ImageName }}
to: /{{ $.ImageName }}
before: setup
before: install #setup
- image: {{ $.ImageName }}-binaries-artifact
add: /relocate
to: /
Expand Down
4 changes: 2 additions & 2 deletions images/webhooks/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import:
- image: {{ $.ImageName }}-src-artifact
add: /
to: /
before: setup
before: install #setup

mount:
- fromPath: ~/go-pkg-cache
Expand All @@ -48,7 +48,7 @@ import:
- image: {{ $.ImageName }}-golang-artifact
add: /{{ $.ImageName }}
to: /{{ $.ImageName }}
before: setup
before: install #setup

docker:
ENTRYPOINT: ["/{{ $.ImageName }}"]

0 comments on commit aad4991

Please sign in to comment.