Don't use lists for single nodes

Don't expose the nodes as a list when it's one node.

Change-Id: I71e07064b4ab41f375ff74127faf03b5acc19fce
This commit is contained in:
Andreas Jaeger 2017-01-27 20:38:05 +01:00
parent 6b05dca15e
commit aecbca97f2
8 changed files with 21 additions and 42 deletions

View File

@ -53,8 +53,6 @@
name: 'debian-pkg-build'
jobs:
- 'gate-{name}-dpkg-{node}':
node:
- debian-jessie
node: debian-jessie
- '{name}-dpkg-{node}':
node:
- debian-jessie
node: debian-jessie

View File

@ -38,8 +38,7 @@
- job-group:
name: golang-jobs
node:
- ubuntu-xenial
node: ubuntu-xenial
jobs:
- 'gate-{name}-fmt-{node}'
- 'gate-{name}-unit-{node}'

View File

@ -6332,20 +6332,17 @@
pipeline: 'gate'
suffix: ''
- '{pipeline}-grenade-dsvm-manila-{node}{suffix}':
node:
- 'ubuntu-xenial'
node: ubuntu-xenial
pipeline: 'gate'
branch-override: default
suffix: '-nv'
- 'gate-manila-tempest-minimal-dsvm-{driver}-{node}{suffix}':
node:
- 'ubuntu-trusty'
node: ubuntu-trusty
driver:
- 'lvm'
suffix: ''
- 'gate-manila-tempest-minimal-dsvm-{driver}-{node}{suffix}':
node:
- 'ubuntu-xenial'
node: ubuntu-xenial
driver:
- 'dummy'
- 'lvm'
@ -6372,8 +6369,7 @@
test_type: 'api'
suffix: '-nv'
- 'gate-manila-tempest-dsvm-{description}-{node}{suffix}':
node:
- 'ubuntu-trusty'
node: ubuntu-trusty
description: mysql-generic
postgres_enabled: '0'
dhss: '1'
@ -6382,8 +6378,7 @@
test_type: 'api'
suffix: ''
- 'gate-manila-tempest-dsvm-{description}-{node}{suffix}':
node:
- 'ubuntu-xenial'
node: ubuntu-xenial
description: mysql-generic
postgres_enabled: '0'
dhss: '1'
@ -6403,8 +6398,7 @@
test_type: 'api'
suffix: '-nv'
- 'gate-manila-tempest-dsvm-{description}-{node}{suffix}':
node:
- 'ubuntu-xenial'
node: ubuntu-xenial
description: postgres-container
postgres_enabled: '1'
dhss: '1'

View File

@ -386,32 +386,28 @@
- 4.5
- 'latest'
puppet_unit_version: '3.3 3.4 3.6 3.7 3.8 4.0 4.5 latest'
node:
- centos-7
node: centos-7
jobs:
- 'gate-{name}-puppet-unit-{puppet_version}-{node}'
- job-group:
name: 'puppet-beaker-jobs-trusty'
ostype: trusty
node:
- ubuntu-trusty
node: ubuntu-trusty
jobs:
- 'gate-{name}-puppet-beaker-rspec-{node}{suffix}'
- job-group:
name: 'puppet-beaker-jobs-xenial'
ostype: xenial
node:
- ubuntu-xenial
node: ubuntu-xenial
jobs:
- 'gate-{name}-puppet-beaker-rspec-{node}{suffix}'
- job-group:
name: 'puppet-beaker-jobs-centos7'
ostype: centos7
node:
- centos-7
node: centos-7
jobs:
- 'gate-{name}-puppet-beaker-rspec-{node}{suffix}'

View File

@ -786,8 +786,7 @@
- job-group:
name: cross-python-jobs
node:
- ubuntu-xenial
node: ubuntu-xenial
jobs:
- 'gate-cross-{name}-python27-{node}'
@ -815,8 +814,7 @@
- job-group:
name: cross-python-db-jobs
node:
- ubuntu-xenial
node: ubuntu-xenial
jobs:
- 'gate-cross-{name}-python27-db-{node}'

View File

@ -1,7 +1,6 @@
- job-group:
name: snap-jobs
node:
- ubuntu-xenial
node: ubuntu-xenial
jobs:
- 'gate-{name}-tox-with-sudo-{envlist}':
envlist: snap

View File

@ -31,8 +31,7 @@
- job-group:
name: specs-jobs
node:
- ubuntu-xenial
node: ubuntu-xenial
jobs:
- gate-{name}-docs-{node}:
- gate-{name}-python27-{node}:

View File

@ -225,19 +225,15 @@
jobs:
- '{pipeline}-tripleo-quickstart-{scenario}-{node}{suffix}':
suffix: '-nv'
node:
- centos-7
node: centos-7
pipeline: gate
scenario:
- base
scenario: base
- job-group:
name: 'tripleo-quickstart-extras-jobs'
jobs:
- '{pipeline}-tripleo-quickstart-extras-{scenario}-{node}{suffix}':
suffix: '-nv'
node:
- centos-7
node: centos-7
pipeline: gate
scenario:
- base
scenario: base