From 2458a3c8dd57503cae467650b4af395f3cda681c Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Fri, 1 Dec 2023 13:58:14 +0100 Subject: [PATCH] Attempt to make video capture of build sessions --- .github/workflows/build.yml | 8 ++++++++ bullseye.json | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cf2e7b..f2c7081 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,9 +25,17 @@ jobs: - name: Build Artifact run: | packer build bullseye.json + ls -la env: PACKER_LOG: 1 + - name: Upload video artifact + uses: actions/upload-artifact@v2 + with: + name: video + path: | + **/*.webm + - name: Upload appliance artifact uses: actions/upload-artifact@v2 with: diff --git a/bullseye.json b/bullseye.json index 432620a..b490632 100644 --- a/bullseye.json +++ b/bullseye.json @@ -54,7 +54,9 @@ "vboxmanage": [ ["modifyvm", "{{.Name}}", "--memory", "2048"], ["modifyvm", "{{.Name}}", "--cpus", "1"], - ["modifyvm", "{{.Name}}", "--description", "{{user `description`}}"] + ["modifyvm", "{{.Name}}", "--description", "{{user `description`}}"], + ["modifyvm", "{{.Name}}", "--videocapfile", "capture.webm"], + ["modifyvm", "{{.Name}}", "--videocap", "on"] ] }