Skip to content

Commit

Permalink
chore: REVERT this for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
darora committed Feb 5, 2025
1 parent 51507c8 commit 9234a92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/qemu-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,11 @@ jobs:
echo "" >> common-nix.vars.pkr.hcl
# TODO (darora): not quite sure why I'm having to uninstall and re-install these deps, but the build fails w/o this
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get remove -y qemu-efi-aarch64 cloud-image-utils qemu-system-arm qemu-utils
sudo apt-get install -y qemu-efi-aarch64 cloud-image-utils qemu-system-arm qemu-utils

- name: Build QEMU artifact
run: |
make init
GIT_SHA=${{github.sha}}
export PACKER_LOG=1
packer build -var "git_sha=${GIT_SHA}" -var-file="common-nix.vars.pkr.hcl" qemu-arm64-nix.pkr.hcl
mkdir output-cloudimg
touch output-cloudimg/packer-cloudimg
- name: Grab release version
id: process_release_version
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.21

ADD ./output-cloudimg/packer-cloudimg /disk/focal.qcow2

RUN apk add --no-cache qemu-system-aarch64 qemu-img openssh-client nftables cloud-utils-localds aavmf
# RUN apk add --no-cache qemu-system-aarch64 qemu-img openssh-client nftables cloud-utils-localds aavmf
# dev stuff
# RUN apk add --no-cache iproute2

Expand Down

0 comments on commit 9234a92

Please sign in to comment.