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 e672e7d commit cf80d47
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions images/csi-ceph/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf80d47

Please sign in to comment.