We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2b4d58 commit 4604db0Copy full SHA for 4604db0
dogfood/main.tf
@@ -266,8 +266,12 @@ resource "coder_agent" "dev" {
266
sudo service docker start
267
# Install playwright dependencies
268
# We want to use the playwright version from site/package.json
269
+ # Check if the directory exists At workspace creation as the coder_script runs in parallel so clone might not exist yet.
270
+ while ! [[ -f "${local.repo_dir}/site/package.json" ]]; do
271
+ sleep 1
272
+ done
273
cd "${local.repo_dir}/site" && pnpm install && pnpm playwright:install
-EOT
274
+ EOT
275
}
276
277
resource "docker_volume" "home_volume" {
0 commit comments