summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/idle.yaml
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2017-09-20 15:47:13 -0700
committerJames E. Blair <jeblair@redhat.com>2017-09-21 13:41:11 -0700
commit7e3e6883eece73d82c5b2d0f53b041205c1792df (patch)
tree76caafae9ebc95fa6e53fb41a078b5f72048d40b /tests/fixtures/layouts/idle.yaml
parentd8d6456c8eb1b233036ca8715a5d94e1780c7760 (diff)
downloadzuul-7e3e6883eece73d82c5b2d0f53b041205c1792df.tar.gz
Add job.nodeset parameter to supercede job.nodes
We intended to have Nodesets be convenience methods for the 'nodes' attribute of jobs, but be identical. When nodesets grew groups, however, job.nodes did not. Because of the additional structure that nodesets contain (to support groups, and likely vars in the future), we can't simply extend the existing nodes parameter. Add a new parameter, nodeset, which expects either a string or an embedded nodeset definition. We're using the name 'nodeset' here because 'nodes: nodes:' is difficult to understand. Job.nodes will be removed soon. (Re-proposed from I714887625c41bd1220ff05cd7356fbac589389c9) Change-Id: I6c1c1e864704ac659efae9b28b140d9b37cef9d2
Diffstat (limited to 'tests/fixtures/layouts/idle.yaml')
-rw-r--r--tests/fixtures/layouts/idle.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/fixtures/layouts/idle.yaml b/tests/fixtures/layouts/idle.yaml
index ec3140877..4cc07ae69 100644
--- a/tests/fixtures/layouts/idle.yaml
+++ b/tests/fixtures/layouts/idle.yaml
@@ -11,9 +11,10 @@
- job:
name: project-bitrot
- nodes:
- - name: static
- label: ubuntu-xenial
+ nodeset:
+ nodes:
+ - name: static
+ label: ubuntu-xenial
- project:
name: org/project