mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
ci(benchmark): Fix bootstrap script (#10863)
This commit is contained in:
parent
44e5fb9b06
commit
c1d88f3bb3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue