Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3fa438f

Browse files
authored
chore(dogfood): add prebuild coder_workspace_tags (#20308)
## DescriptionAdd a `coder_workspace_tags` data block to the Write Coder on Codertemplate that conditionally includes the tag `is_prebuild=true` when theprovisioner job is a prebuild (workspace_build) job.Related internal [PR](coder/dogfood#201) updatedthe dogfood deployment with a dedicated pool of provisioner daemonsconfigured with this tag.As a result, prebuild-related jobs are now routed exclusively to thispool, preventing them from competing with user-initiated workspace jobs.This has been successfully tested internally in dogfood with template`ssncf-prebuilds-coder`
1 parent275602c commit3fa438f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎dogfood/coder/main.tf‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,13 @@ data "coder_workspace_tags" "tags" {
269269
}
270270
}
271271

272+
data"coder_workspace_tags""prebuild" {
273+
count=data.coder_workspace_owner.me.name=="prebuilds"?1:0
274+
tags={
275+
"is_prebuild"="true"
276+
}
277+
}
278+
272279
data"coder_parameter""ide_choices" {
273280
type="list(string)"
274281
name="Select IDEs"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp