Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <[email protected]>
  • Loading branch information
duckhawk committed Jan 9, 2025
1 parent e306bbe commit 82363a5
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions images/csi-ceph/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ shell:
- chmod +x /binary_replace.sh

---
image: {{ $.ImageName }}-binaries-artifact
fromImage: {{ $.ImageName }}-binary-replace-artifact
image: {{ $.ImageName }}-golang-artifact
from: {{ $.BASE_GOLANG }}
final: false

import:
Expand All @@ -57,15 +57,30 @@ import:
to: /src
before: install

mount:
- fromPath: ~/go-pkg-cache
to: /go/pkg

shell:
install:
- export GO_VERSION={{ env "GOLANG_VERSION" }}
- export GOPROXY={{ env "GOPROXY" }}
- export CGO_ENABLED=1
- apt-get update
- apt-get -y install make
- cd /src/ceph-csi
- make cephcsi
- cp _output/cephcsi /cephcsi

---
{{ $csiBinaries := "/cephcsi" }}

---
image: {{ $.ImageName }}-binaries-artifact
fromImage: {{ $.ImageName }}-binary-replace-artifact
final: false

shell:
install:
- export GOPROXY={{ env "GOPROXY" }}
- export CGO_ENABLED=1
- /binary_replace.sh -i "{{ $binaries }}" -o /relocate

---
Expand Down

0 comments on commit 82363a5

Please sign in to comment.