mirror of https://github.com/coder/coder.git
fix(dogfood): add ability to synchronize with startup script via done file (#12058)
This commit is contained in:
parent
d8a8070986
commit
040ce40ed8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue