From cf80d476753eca3ca33c903c2a35564927a65294 Mon Sep 17 00:00:00 2001 From: Denis Romanenko Date: Sun, 15 Sep 2024 23:44:04 +0300 Subject: [PATCH] [ci] added base images versions file --- images/csi-ceph/werf.inc.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/images/csi-ceph/werf.inc.yaml b/images/csi-ceph/werf.inc.yaml index f8b864d..cadff98 100644 --- a/images/csi-ceph/werf.inc.yaml +++ b/images/csi-ceph/werf.inc.yaml @@ -7,21 +7,18 @@ from: {{ $.Images.BASE_ALT_DEV }} final: false git: - - add: /images/{{ $.ImageName }} - to: / + - add: /images/{{ $.ImageName }}/patches + to: /patches stageDependencies: setup: - "**/*" - includePaths: - - patches - shell: install: - export GOPROXY={{ env "GOPROXY" }} - export CGO_ENABLED=1 - git clone --branch v{{ $version }} --depth 1 {{ env "SOURCE_REPO" }}/ceph/ceph-csi.git /src - cd /src - - for patchfile in /patches/*.patch ; do echo -n "Apply ${patchfile} ... "; git apply ${patchfile}; done + - git apply /patches/*.patch --verbose - make cephcsi - cp _output/cephcsi /cephcsi - /binary_replace.sh -i "{{ $binaries }}" -o /relocate