Skip to content

Commit 8cd960f

Browse files
committed
Refresh sudo access for the rollback script
1 parent e38d7dc commit 8cd960f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

dev-local/main

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22

33
set -euo pipefail
44

5+
# NOTE: This is not very clean. Updating the sudo timestamp will introduce
6+
# security vulnerabilities.
7+
# TODO: Run the tests in a container.
8+
9+
# Trigger sudo timer
10+
sudo -v
11+
12+
# Reset sudo timer every 2 min
13+
while true; do sudo -n true; sleep 120; done 2>/dev/null &
14+
515
process-compose -f ./dev-local/process-compose.yaml -p 3030

0 commit comments

Comments
 (0)