ci(benchmark): Fix bootstrap script (#10863)

This commit is contained in:
Tomi Turtiainen 2024-09-18 09:58:09 +03:00 committed by GitHub
parent 44e5fb9b06
commit c1d88f3bb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -43,7 +43,6 @@ sudo systemctl disable getty@tty1.service
sudo systemctl disable serial-getty@ttyS0.service
# Snap
sudo systemctl disable snapd.service
sudo apt remove snapd
# Unattended upgrades
sudo systemctl disable unattended-upgrades.service
# Cron

View file

@ -1,7 +1,7 @@
#!/bin/bash
# Install fio
sudo apt-get -y install fio > /dev/null
DEBIAN_FRONTEND=noninteractive sudo apt-get -y install fio > /dev/null
# Run the disk benchmark
fio --name=rand_rw --ioengine=libaio --rw=randrw --rwmixread=70 --bs=4k --numjobs=4 --size=1G --runtime=30 --directory=/n8n --group_reporting
@ -10,4 +10,4 @@ fio --name=rand_rw --ioengine=libaio --rw=randrw --rwmixread=70 --bs=4k --numjob
sudo rm /n8n/rand_rw.*
# Uninstall fio
sudo apt-get -y remove fio
DEBIAN_FRONTEND=noninteractive sudo apt-get -y remove fio > /dev/null