Skip to content

Commit

Permalink
chore: Bump cloud-hypervisor to v30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carezkh committed Mar 2, 2023
1 parent 4f6ab5e commit 1317b3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build/virt-prerunner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ RUN set -eux; \
mkdir /var/lib/cloud-hypervisor; \
case "$(uname -m)" in \
'x86_64') \
curl -sLo /usr/bin/cloud-hypervisor https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/v28.0/cloud-hypervisor-static; \
curl -sLo /usr/bin/ch-remote https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/v28.0/ch-remote-static; \
curl -sLo /usr/bin/cloud-hypervisor https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/v30.0/cloud-hypervisor-static; \
curl -sLo /usr/bin/ch-remote https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/v30.0/ch-remote-static; \
curl -sLo /var/lib/cloud-hypervisor/hypervisor-fw https://github.com/cloud-hypervisor/rust-hypervisor-firmware/releases/download/0.4.0/hypervisor-fw; \
;; \
'aarch64') \
curl -sLo /usr/bin/cloud-hypervisor https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/v28.0/cloud-hypervisor-static-aarch64; \
curl -sLo /usr/bin/ch-remote https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/v28.0/ch-remote-static-aarch64; \
curl -sLo /usr/bin/cloud-hypervisor https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/v30.0/cloud-hypervisor-static-aarch64; \
curl -sLo /usr/bin/ch-remote https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/v30.0/ch-remote-static-aarch64; \
curl -sLo /var/lib/cloud-hypervisor/CLOUDHV_EFI.fd https://github.com/smartxworks/cloud-hypervisor-edk2-builder/releases/download/20220706/CLOUDHV_EFI.fd; \
;; \
*) echo >&2 "error: unsupported architecture '$(uname -m)'"; exit 1 ;; \
Expand Down
3 changes: 1 addition & 2 deletions cmd/cloud-hypervisor-client-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import (
var clientTemplate string

func main() {
// TODO: Use stable release includes patch https://github.com/cloud-hypervisor/cloud-hypervisor/commit/3dd01443d51b7d669ca770ae78fd2a01e9d103b7
resp, err := http.Get("https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/3dd01443d51b7d669ca770ae78fd2a01e9d103b7/vmm/src/api/openapi/cloud-hypervisor.yaml")
resp, err := http.Get("https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/v30.0/vmm/src/api/openapi/cloud-hypervisor.yaml")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 1317b3e

Please sign in to comment.