From 9ef365ac241758575d1afe0eb20e94c1fe5ca4d0 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Wed, 13 Dec 2023 23:35:05 -0700 Subject: [PATCH] Cleanup --- .github/workflows/main.yml | 2 -- scripts/run_build.sh | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e78f2f2..9e69c21 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -79,8 +79,6 @@ jobs: context: rm-docker - name: Build codexctl run: | - df -h /var/lib/docker - docker buildx du docker run --rm -v .:/src rm-docker:qemu-toltec-codexctl - uses: actions/upload-artifact@v3 with: diff --git a/scripts/run_build.sh b/scripts/run_build.sh index 942cccd..37f4a6c 100755 --- a/scripts/run_build.sh +++ b/scripts/run_build.sh @@ -1,14 +1,21 @@ #!/bin/bash set -e -run_vm.sh -serial null -daemonize +run_vm.sh \ + -serial null \ + -daemonize + wait_ssh.sh + rsync -avr \ --exclude ".git" \ --exclude "rm-docker" \ --filter=':- .gitignore' \ /src \ root@localhost:/opt/tmp + ssh root@localhost 'bash -l -c /opt/bin/build.sh' + rsync -avr root@localhost:/opt/tmp/src/dist /src + save_vm.sh