Skip to content

Commit

Permalink
chore: bump Vib action to v0.6.2
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <[email protected]>
  • Loading branch information
kbdharun authored and mirkobrombin committed Apr 17, 2024
1 parent 5268948 commit 1f2a26b
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 54 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vib-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: vanilla-os/vib-gh-action@v0.3.3-1
- uses: vanilla-os/vib-gh-action@v0.6.2
with:
recipe: 'recipe.yml'
plugins: 'Vanilla-OS/vib-fsguard:v1.2-1'
plugins: 'Vanilla-OS/vib-fsguard:v1.3-2'

- name: Build the Docker image
run: docker image build -f Containerfile --tag ghcr.io/vanilla-os/vm:main .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vib-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: vanilla-os/vib-gh-action@v0.3.3-1
- uses: vanilla-os/vib-gh-action@v0.6.2
with:
recipe: 'recipe.yml'
plugins: 'Vanilla-OS/vib-fsguard:v1.2-1'
plugins: 'Vanilla-OS/vib-fsguard:v1.3-2'

- name: Build the Docker image
run: docker image build -f Containerfile --tag vanillaos/vm:validation .
Expand Down
103 changes: 53 additions & 50 deletions recipe.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,61 @@
base: ghcr.io/vanilla-os/desktop:main
name: Vanilla Desktop VM
id: vanilla-vm
labels:
maintainer: Vanilla OS Contributors
args:
DEBIAN_FRONTEND: noninteractive
runs:
- echo 'APT::Install-Recommends "1";' > /etc/apt/apt.conf.d/01norecommends
stages:
- id: build
base: ghcr.io/vanilla-os/desktop:main
singlelayer: false
labels:
maintainer: Vanilla OS Contributors
args:
DEBIAN_FRONTEND: noninteractive
runs:
- echo 'APT::Install-Recommends "1";' > /etc/apt/apt.conf.d/01norecommends

modules:
- name: init-setup
type: shell
commands:
- lpkg --unlock
- apt update
modules:
- name: init-setup
type: shell
commands:
- lpkg --unlock
- apt update

- name: vm-tools
type: apt
source:
packages:
- open-vm-tools
- open-vm-tools-desktop
- name: vm-tools
type: apt
source:
packages:
- open-vm-tools
- open-vm-tools-desktop

- name: virtualbox-guest-additions
type: apt
source:
packages:
- virtualbox-guest-utils
- virtualbox-guest-x11
- name: virtualbox-guest-additions
type: apt
source:
packages:
- virtualbox-guest-utils
- virtualbox-guest-x11

- name: qemu
type: apt
source:
packages:
- qemu-guest-agent
- spice-webdavd
- name: qemu
type: apt
source:
packages:
- qemu-guest-agent
- spice-webdavd

- name: cleanup
type: shell
commands:
- apt autoremove -y
- apt clean
- lpkg --lock
- name: cleanup
type: shell
commands:
- apt autoremove -y
- apt clean
- lpkg --lock

- name: fsguard
type: fsguard
FsGuardLocation: "/usr/sbin/FsGuard"
CustomFsGuard: false
GenerateKey: true
FilelistPaths: ["/usr/bin"]
modules:
- name: remove-prev-fsguard
type: shell
commands:
- rm -rf /FsGuard
- rm -f ./minisign.pub ./minisign.key
- chmod +x /usr/sbin/init
- name: fsguard
type: fsguard
FsGuardLocation: "/usr/sbin/FsGuard"
CustomFsGuard: false
GenerateKey: true
FilelistPaths: ["/usr/bin"]
modules:
- name: remove-prev-fsguard
type: shell
commands:
- rm -rf /FsGuard
- rm -f ./minisign.pub ./minisign.key
- chmod +x /usr/sbin/init

0 comments on commit 1f2a26b

Please sign in to comment.