Skip to content

Commit

Permalink
🐝 use single agent for Cloudflare deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Oct 10, 2023
1 parent 6cb2444 commit 3a61e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
7 changes: 1 addition & 6 deletions ops/buildkite/build-code
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,4 @@ build_grapher() {
)
}

(
echo '==> Acquiring lock'
flock -x 200

build_code
) 200>/var/lock/build-code.lock
build_code
9 changes: 1 addition & 8 deletions ops/buildkite/deploy-content
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,4 @@ bake_gdoc_posts() {
)
}

# Don't run this in parallel with code building, wait for it to finish
(
echo '==> Acquiring lock'
# Wait for the lock, but don't acquire it
flock -s 200

deploy_content
) 200>/var/lock/build-code.lock
deploy_content

0 comments on commit 3a61e0f

Please sign in to comment.