Skip to content

Commit

Permalink
chore: use latest builds
Browse files Browse the repository at this point in the history
  • Loading branch information
darora committed Nov 27, 2024
1 parent ba5ca87 commit 5a30495
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-kubevirt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM scratch
ADD --chown=107:107 disk/focal.img /disk/focal.qcow2
ADD --chown=107:107 output-cloudimg/packer-cloudimg /disk/focal.qcow2
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# TODO (darora): we can get rid of this once we're actually building nix things on this
UPSTREAM_NIX_GIT_SHA := $(shell git rev-parse origin/release/15.6)
UPSTREAM_NIX_GIT_SHA := $(shell git rev-parse HEAD)
GIT_SHA := $(shell git describe --tags --always --dirty)

init: qemu-arm64-nix.pkr.hcl
Expand All @@ -12,10 +11,7 @@ disk/focal-raw.img: output-cloudimg/packer-cloudimg
mkdir -p disk
sudo qemu-img convert -O raw output-cloudimg/packer-cloudimg disk/focal-raw.img

disk/focal.img: output-cloudimg/packer-cloudimg
sudo qemu-img convert -O qcow2 output-cloudimg/packer-cloudimg disk/focal.img

container-disk-image: disk/focal.img
container-disk-image: output-cloudimg/packer-cloudimg
docker build . -t supabase-postgres-test:$(GIT_SHA) -f ./Dockerfile-kubevirt

host-disk: disk/focal-raw.img
Expand Down

0 comments on commit 5a30495

Please sign in to comment.