fix(dogfood): add ability to synchronize with startup script via done file (#12058)

This commit is contained in:
Mathias Fredriksson 2024-02-07 19:16:18 +02:00 committed by GitHub
parent d8a8070986
commit 040ce40ed8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -262,6 +262,10 @@ resource "coder_agent" "dev" {
startup_script_timeout = 60
startup_script = <<-EOT
set -eux -o pipefail
# Allow synchronization between scripts.
trap 'touch /tmp/.coder-startup-script.done' EXIT
# Start Docker service
sudo service docker start
# Install playwright dependencies