@andrian.yablonskyy/thub-common 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/job-spec.schema.js +7 -1
package/package.json
CHANGED
package/src/job-spec.schema.js
CHANGED
|
@@ -37,7 +37,13 @@ const jobSpecSchema = {
|
|
|
37
37
|
// group (§13.1, `thub run --group <id>`) — a third targeting
|
|
38
38
|
// dimension alongside type/labels. Omitted: any matching resource
|
|
39
39
|
// in any (or no) group is eligible, same as before groups existed.
|
|
40
|
-
group: { type: 'string', minLength: 1 }
|
|
40
|
+
group: { type: 'string', minLength: 1 },
|
|
41
|
+
// Pins the job to one specific Client (`thub run --client <name|id>`):
|
|
42
|
+
// it's queued for that resource alone and waits for it even if other
|
|
43
|
+
// matching resources are idle. Accepts a resource name or id; the
|
|
44
|
+
// Coordinator resolves it to the resource id at submission time, so
|
|
45
|
+
// a later rename of the Client doesn't orphan the queued job.
|
|
46
|
+
client: { type: 'string', minLength: 1 }
|
|
41
47
|
}
|
|
42
48
|
},
|
|
43
49
|
firmware: {
|