mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(dogfood): add ability to synchronize with startup script via done file (#12058)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user