Skip to content

Commit

Permalink
[ci] added base images versions file
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanenkoDenys committed Sep 15, 2024
1 parent cf80d47 commit 1deda51
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .werf/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ import:
to: /lib/python/dist
after: setup
git:
{{- if (env "EMBEDDED_MODULE") }}
- add: /modules/999-csi-ceph
{{- else }}
- add: /
{{- end }}
to: /
includePaths:
- .helmignore
Expand Down
4 changes: 4 additions & 0 deletions .werf/python-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ image: python-dependencies
from: registry.deckhouse.io/base_images/alpine:3.16.3
fromCacheVersion: 2024-06-28
git:
{{- if (env "EMBEDDED_MODULE") }}
- add: /modules/999-csi-ceph
{{- else }}
- add: /
{{- end }}
to: /
includePaths:
- lib/python
Expand Down
4 changes: 4 additions & 0 deletions images/controller/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ from: {{ $.Images.BASE_GOLANG_22_BULLSEYE }}
final: false

git:
{{- if (env "EMBEDDED_MODULE") }}
- add: /modules/999-csi-ceph/
{{- else }}
- add: /
{{- end }}
to: /
includePaths:
- api
Expand Down
4 changes: 4 additions & 0 deletions images/csi-ceph/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ from: {{ $.Images.BASE_ALT_DEV }}
final: false

git:
{{- if (env "EMBEDDED_MODULE") }}
- add: /modules/999-csi-ceph/images/{{ $.ImageName }}/patches
{{- else }}
- add: /images/{{ $.ImageName }}/patches
{{- end }}
to: /patches
stageDependencies:
setup:
Expand Down
4 changes: 4 additions & 0 deletions images/webhooks/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ from: {{ $.Images.BASE_GOLANG_22_BULLSEYE }}
final: false

git:
{{- if (env "EMBEDDED_MODULE") }}
- add: /modules/999-csi-ceph/images/{{ $.ImageName }}/src
{{- else }}
- add: /images/webhooks/src
{{- end }}
to: /src
stageDependencies:
setup:
Expand Down
2 changes: 1 addition & 1 deletion werf-giterminism.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
giterminismConfigVersion: 1
config:
goTemplateRendering: # The rules for the Go-template functions to be able to pass build context to the release
allowEnvVariables: [ /CI_.+/, MODULES_MODULE_TAG, GOLANG_VERSION, GOPROXY, SOURCE_REPO_TAG, SOURCE_REPO ]
allowEnvVariables: [ /CI_.+/, MODULES_MODULE_TAG, GOLANG_VERSION, GOPROXY, SOURCE_REPO_TAG, SOURCE_REPO, EMBEDDED_MODULE]
stapel:
mount:
allowBuildDir: true
Expand Down

0 comments on commit 1deda51

Please sign in to comment.