Skip to content

Commit 040ce40

Browse files
authored
fix(dogfood): add ability to synchronize with startup script via done file (#12058)
1 parent d8a8070 commit 040ce40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dogfood/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ resource "coder_agent" "dev" {
262262
startup_script_timeout = 60
263263
startup_script = <<-EOT
264264
set -eux -o pipefail
265+
266+
# Allow synchronization between scripts.
267+
trap 'touch /tmp/.coder-startup-script.done' EXIT
268+
265269
# Start Docker service
266270
sudo service docker start
267271
# Install playwright dependencies

0 commit comments

Comments
 (0)