Move single-use wheel-builder nodeset into job
There's no need to define the nodeset separate from the job.
name: wheel-mirror
max: 1
-- nodeset:
- name: wheel-mirror-builders
+- job:
+ name: build-wheel-mirror
+ pre-run: playbooks/wheel/pre
+ run: playbooks/wheel/build
+ post-run: playbooks/wheel/release
+ nodeset:
# NOTE: The python2 and python3 suffix are important, they select the
# version of python to build in each job. (we pull the last character of
- # the inventory_hostname
+ # the inventory_hostname)
+ # TODO(mordred): Replace the suffix with host_vars once we have them.
nodes:
- name: wheel-mirror-ubuntu-xenial-python2
label: ubuntu-xenial
label: ubuntu-xenial
- name: wheel-mirror-ubuntu-trusty-python3
label: ubuntu-trusty
-
-- job:
- name: build-wheel-mirror
- pre-run: playbooks/wheel/pre
- run: playbooks/wheel/build
- post-run: playbooks/wheel/release
- nodeset: wheel-mirror-builders
# 2.5 hours
timeout: 9000
allowed-projects:
