Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/components/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ firmware:
libvirt: v10.9.0
edk2: stable202411
core:
3p-kubevirt: v1.6.2-v12n.10
3p-kubevirt: feat/network/ct-sync-live-migration
3p-containerized-data-importer: v1.60.3-v12n.15
distribution: 2.8.3
package:
Expand Down
7 changes: 7 additions & 0 deletions images/virt-artifact/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
image: {{ .ModuleNamePrefix }}{{ .ImageName }}-src-artifact
final: false
fromImage: builder/src
fromCacheVersion: "{{ now | date "Mon Jan 2 15:04:05 MST 2006" }}"
secrets:
- id: SOURCE_REPO
value: {{ $.SOURCE_REPO }}
Expand Down Expand Up @@ -44,6 +45,7 @@ packages:
image: {{ .ModuleNamePrefix }}{{ .ImageName }}
final: false
fromImage: {{ eq $.SVACE_ENABLED "false" | ternary "builder/golang-alt-1.24" "builder/golang-alt-svace-1.24" }}
fromCacheVersion: "{{ now | date "Mon Jan 2 15:04:05 MST 2006" }}"
mount:
- fromPath: ~/go-pkg-cache
to: /go/pkg
Expand Down Expand Up @@ -206,3 +208,8 @@ shell:
{{- $_ := set $ "ProjectName" (list $.ImageName "virtctl" | join "/") }}
- |
{{- include "image-build.build" (set $ "BuildCommand" `go build -ldflags="-s -w" -o /kubevirt-binaries/virtctl ./cmd/virtctl/`) | nindent 6 }}

- echo ============== Build virt-launcher-hook ===============
{{- $_ := set $ "ProjectName" (list $.ImageName "virt-launcher-hook" | join "/") }}
- |
{{- include "image-build.build" (set $ "BuildCommand" `go build -ldflags="-s -w" -o /kubevirt-binaries/virt-launcher-hook ./cmd/virt-launcher-hook/`) | nindent 6 }}
2 changes: 2 additions & 0 deletions images/virt-handler/werf.inc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
image: {{ .ModuleNamePrefix }}{{ .ImageName }}
fromImage: {{ .ModuleNamePrefix }}distroless
fromCacheVersion: "{{ now | date "Mon Jan 2 15:04:05 MST 2006" }}"
git:
{{- include "image mount points" . }}
import:
Expand Down Expand Up @@ -81,6 +82,7 @@ packages:
image: {{ .ModuleNamePrefix }}{{ .ImageName }}-bins
final: false
fromImage: {{ .ModuleNamePrefix }}base-alt-p11-binaries
fromCacheVersion: "{{ now | date "Mon Jan 2 15:04:05 MST 2006" }}"
import:
- image: tools/util-linux
add: /
Expand Down
5 changes: 5 additions & 0 deletions images/virt-launcher/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ packages:

image: {{ .ModuleNamePrefix }}{{ .ImageName }}-binaries
final: false
fromCacheVersion: "{{ now | date "Mon Jan 2 15:04:05 MST 2006" }}"
fromImage: {{ .ModuleNamePrefix }}base-alt-p11-binaries
git:
# Add qemu and virtqemud configs
Expand Down Expand Up @@ -200,6 +201,10 @@ import:
- virt-launcher-monitor
- virt-probe
- virt-tail
- image: {{ .ModuleNamePrefix }}virt-artifact
add: /kubevirt-binaries/virt-launcher-hook
to: /relocate/etc/libvirt/hooks/qemu
before: setup
- image: {{ .ModuleNamePrefix }}{{ .ImageName }}-gobuilder
add: /binaries
to: /usr/bin
Expand Down
Loading