Skip to content

Commit d9a0e87

Browse files
committed
Quiet out apt-get calls
Signed-off-by: apostasie <[email protected]>
1 parent 0296acd commit d9a0e87

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/test-canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
3030
run: |
3131
sudo systemctl disable --now snapd.service snapd.socket
32-
sudo apt-get purge -y snapd
32+
sudo apt-get purge -qq snapd
3333
sudo losetup -Dv
3434
sudo losetup -lv
3535
- name: "Register QEMU (tonistiigi/binfmt)"

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
- name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
138138
run: |
139139
sudo systemctl disable --now snapd.service snapd.socket
140-
sudo apt-get purge -y snapd
140+
sudo apt-get purge -qq snapd
141141
sudo losetup -Dv
142142
sudo losetup -lv
143143
- name: "Register QEMU (tonistiigi/binfmt)"
@@ -195,7 +195,7 @@ jobs:
195195
- name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
196196
run: |
197197
sudo systemctl disable --now snapd.service snapd.socket
198-
sudo apt-get purge -y snapd
198+
sudo apt-get purge -qq snapd
199199
sudo losetup -Dv
200200
sudo losetup -lv
201201
- name: "Register QEMU (tonistiigi/binfmt)"
@@ -402,13 +402,13 @@ jobs:
402402
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
403403
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
404404
sudo sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources
405-
sudo apt-get update
406-
sudo apt-get install -y libvirt-daemon libvirt-daemon-system vagrant ovmf
405+
sudo apt-get update -qq
406+
sudo apt-get install -qq libvirt-daemon libvirt-daemon-system vagrant ovmf
407407
# https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1725#issuecomment-1454058646
408408
sudo cp /usr/share/OVMF/OVMF_VARS_4M.fd /var/lib/libvirt/qemu/nvram/
409409
sudo systemctl enable --now libvirtd
410-
sudo apt-get build-dep -y ruby-libvirt
411-
sudo apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev
410+
sudo apt-get build-dep -qq ruby-libvirt
411+
sudo apt-get install -qq --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev
412412
sudo vagrant plugin install vagrant-libvirt
413413
- name: Boot VM
414414
run: |
@@ -436,8 +436,8 @@ jobs:
436436
- name: "Install QEMU"
437437
run: |
438438
set -eux
439-
sudo apt-get update
440-
sudo apt-get -qq install -y --no-install-recommends ovmf qemu-system-x86 qemu-utils
439+
sudo apt-get update -qq
440+
sudo apt-get install -qq --no-install-recommends ovmf qemu-system-x86 qemu-utils
441441
sudo modprobe kvm
442442
# `sudo usermod -aG kvm $(whoami)` does not take an effect on GHA
443443
sudo chown $(whoami) /dev/kvm

0 commit comments

Comments
 (0)