You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(coderd): add matched provisioner daemons information to more places (#15688)
- Refactors `checkProvisioners` into `db2sdk.MatchedProvisioners`
- Adds a separate RBAC subject just for reading provisioner daemons
- Adds matched provisioners information to additional endpoints relating to
workspace builds and templates
-Updates existing unit tests for above endpoints
-Adds API endpoint for matched provisioners of template dry-run job
-Updates CLI to show warning when creating/starting/stopping/deleting
workspaces for which no provisoners are available
---------
Co-authored-by: Danny Kopping <danny@coder.com>
(cherry picked from commit 2b57dcc)
warnNoMatchedProvisioners=`Your build has been enqueued, but there are no provisioners that accept the required tags. Once a compatible provisioner becomes available, your build will continue. Please contact your administrator.
15
+
Details:
16
+
Provisioner job ID : %s
17
+
Requested tags : %s
18
+
`
19
+
warnNoAvailableProvisioners=`Provisioners that accept the required tags have not responded for longer than expected. This may delay your build. Please contact your administrator if your build does not complete.
20
+
Details:
21
+
Provisioner job ID : %s
22
+
Requested tags : %s
23
+
Most recently seen : %s
24
+
`
25
+
)
26
+
27
+
// WarnMatchedProvisioners warns the user if there are no provisioners that
28
+
// match the requested tags for a given provisioner job.
warnNoMatchedProvisioners=`Your build has been enqueued, but there are no provisioners that accept the required tags. Once a compatible provisioner becomes available, your build will continue. Please contact your administrator.
487
-
Details:
488
-
Provisioner job ID : %s
489
-
Requested tags : %s
490
-
`
491
-
warnNoAvailableProvisioners=`Provisioners that accept the required tags have not responded for longer than expected. This may delay your build. Please contact your administrator if your build does not complete.
492
-
Details:
493
-
Provisioner job ID : %s
494
-
Requested tags : %s
495
-
Most recently seen : %s
496
-
`
497
-
)
498
-
499
-
funcWarnMatchedProvisioners(inv*serpent.Invocation, tv codersdk.TemplateVersion) {
0 commit comments