2acc1f73a3
Change-Id: I38e2a399717afb6855b80448658127b1be14cc7b
354 lines
10 KiB
YAML
354 lines
10 KiB
YAML
- job:
|
|
name: zuul-jobs-test-add-authorized-keys
|
|
description: Test the add-authorized-keys role
|
|
files:
|
|
- roles/add-authorized-keys/.*
|
|
run: test-playbooks/simple-role-test.yaml
|
|
vars:
|
|
role_name: add-authorized-keys
|
|
public_keys:
|
|
- public_key: |
|
|
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQChDsP7zEq1JxPLb0Zqj43LIlVoXONCQ1Ko5i9ih/4xm6p0Jn00kpCoVQMb4X2Zys1vWTgpd+r9C/ZoYPFeWuQ8rPCbw4VsocMdwkz7mCPkMDVyPwERjRgt1sTl9WGgtlm2zq/76bmEpuY6PM+nFtJS7UE4XlfoHFK3pR/hgMFi8CX/ILAdtpU96dW2vmXkUt5yj05GHMXKeSU+B5pUEsERgQknH3JBdc/jvKv9dg5zt0jPM6hu5iwgIbMNHydxg4huFO6gKuP+mCNQctK23VMxVXSOYivx8qxu4uzGnBZna01Gi8mY5An4mIQTdcO3KpppOceoDjfEFIOiOnBVoggH testkey
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles
|
|
description: |
|
|
Tests roles in the 'base' job
|
|
|
|
These roles are tested together in this job because testing them
|
|
relies on using base-minimal, which avoids running these roles.
|
|
However, for the job to fully function, they all need to have
|
|
been run (once) by the end.
|
|
parent: base-minimal
|
|
tags: all-platforms
|
|
abstract: true
|
|
run: test-playbooks/base-roles/base.yaml
|
|
# Testing of fetch-zuul-cloner and use-cached-repos need this repo
|
|
# in required-projects
|
|
required-projects:
|
|
- opendev/base-jobs
|
|
files:
|
|
- ^roles/configure-mirrors/.*
|
|
- ^roles/configure-mirrors/.*
|
|
- ^roles/emit-job-header/.*
|
|
- ^roles/ensure-output-dirs/.*
|
|
- ^roles/fetch-output/.*
|
|
- ^roles/fetch-zuul-cloner/.*
|
|
- ^roles/set-zuul-log-path-fact/.*
|
|
- ^roles/use-cached-repo/.*
|
|
- ^roles/validate-host/.*
|
|
- ^test-playbooks/base-roles/.*
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-centos-7
|
|
description: Tests roles in the 'base' job on centos-7
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: centos-7
|
|
label: centos-7
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-debian-stretch
|
|
description: Tests roles in the 'base' job on debian-stretch
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: debian-stretch
|
|
label: debian-stretch
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-fedora-29
|
|
description: Tests roles in the 'base' job on fedora-29
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: fedora-29
|
|
label: fedora-29
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-gentoo-17-0-systemd
|
|
description: Tests roles in the 'base' job on gentoo-17-0-systemd
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: gentoo-17-0-systemd
|
|
label: gentoo-17-0-systemd
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-opensuse-15
|
|
description: Tests roles in the 'base' job on opensuse-15
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: opensuse-15
|
|
label: opensuse-15
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-opensuse-tumbleweed
|
|
description: Tests roles in the 'base' job on opensuse-tumbleweed
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: opensuse-tumbleweed
|
|
label: opensuse-tumbleweed
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-ubuntu-bionic
|
|
description: Tests roles in the 'base' job on ubuntu-bionic
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: ubuntu-bionic
|
|
label: ubuntu-bionic
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-ubuntu-trusty
|
|
description: Tests roles in the 'base' job on ubuntu-trusty
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: ubuntu-trusty
|
|
label: ubuntu-trusty
|
|
|
|
- job:
|
|
name: zuul-jobs-test-base-roles-ubuntu-xenial
|
|
description: Tests roles in the 'base' job on ubuntu-xenial
|
|
parent: zuul-jobs-test-base-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: ubuntu-xenial
|
|
label: ubuntu-xenial
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles
|
|
description: |
|
|
Tests multinode setup roles
|
|
|
|
These roles are tested together in this job because they
|
|
interact with each other.
|
|
tags: all-platforms-multinode
|
|
abstract: true
|
|
run: test-playbooks/multinode/multinode.yaml
|
|
files:
|
|
- ^roles/multi-node-bridge/.*
|
|
- ^roles/multi-node-firewall/.*
|
|
- ^roles/multi-node-hosts-file/.*
|
|
- ^roles/multi-node-known-hosts/.*
|
|
- ^roles/persistent-firewall/.*
|
|
- ^test-playbooks/multinode/.*
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-centos-7
|
|
description: Tests multinode setup roles on centos-7
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: centos-7
|
|
- name: secondary
|
|
label: centos-7
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-debian-stretch
|
|
description: Tests multinode setup roles on debian-stretch
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: debian-stretch
|
|
- name: secondary
|
|
label: debian-stretch
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-fedora-29
|
|
description: Tests multinode setup roles on fedora-29
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: fedora-29
|
|
- name: secondary
|
|
label: fedora-29
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-gentoo-17-0-systemd
|
|
description: Tests multinode setup roles on gentoo-17-0-systemd
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: gentoo-17-0-systemd
|
|
- name: secondary
|
|
label: gentoo-17-0-systemd
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-opensuse-15
|
|
description: Tests multinode setup roles on opensuse-15
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: opensuse-15
|
|
- name: secondary
|
|
label: opensuse-15
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-opensuse-tumbleweed
|
|
description: Tests multinode setup roles on opensuse-tumbleweed
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: opensuse-tumbleweed
|
|
- name: secondary
|
|
label: opensuse-tumbleweed
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-ubuntu-bionic
|
|
description: Tests multinode setup roles on ubuntu-bionic
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-bionic
|
|
- name: secondary
|
|
label: ubuntu-bionic
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-ubuntu-trusty
|
|
description: Tests multinode setup roles on ubuntu-trusty
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-trusty
|
|
- name: secondary
|
|
label: ubuntu-trusty
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-multinode-roles-ubuntu-xenial
|
|
description: Tests multinode setup roles on ubuntu-xenial
|
|
parent: zuul-jobs-test-multinode-roles
|
|
tags: auto-generated
|
|
nodeset:
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-xenial
|
|
- name: secondary
|
|
label: ubuntu-xenial
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: zuul-jobs-test-upload-git-mirror
|
|
description: Test the upload-git-mirror role
|
|
run: test-playbooks/upload-git-mirror.yaml
|
|
files:
|
|
- ^roles/upload-git-mirror/.*
|
|
- ^test-playbooks/upload-git-mirror.yaml
|
|
|
|
- project:
|
|
check:
|
|
jobs: &id001
|
|
- zuul-jobs-test-add-authorized-keys
|
|
- zuul-jobs-test-base-roles-centos-7
|
|
- zuul-jobs-test-base-roles-debian-stretch
|
|
- zuul-jobs-test-base-roles-fedora-29
|
|
- zuul-jobs-test-base-roles-gentoo-17-0-systemd
|
|
- zuul-jobs-test-base-roles-opensuse-15
|
|
- zuul-jobs-test-base-roles-opensuse-tumbleweed
|
|
- zuul-jobs-test-base-roles-ubuntu-bionic
|
|
- zuul-jobs-test-base-roles-ubuntu-trusty
|
|
- zuul-jobs-test-base-roles-ubuntu-xenial
|
|
- zuul-jobs-test-multinode-roles-centos-7
|
|
- zuul-jobs-test-multinode-roles-debian-stretch
|
|
- zuul-jobs-test-multinode-roles-fedora-29
|
|
- zuul-jobs-test-multinode-roles-gentoo-17-0-systemd
|
|
- zuul-jobs-test-multinode-roles-opensuse-15
|
|
- zuul-jobs-test-multinode-roles-opensuse-tumbleweed
|
|
- zuul-jobs-test-multinode-roles-ubuntu-bionic
|
|
- zuul-jobs-test-multinode-roles-ubuntu-trusty
|
|
- zuul-jobs-test-multinode-roles-ubuntu-xenial
|
|
- zuul-jobs-test-upload-git-mirror
|
|
gate:
|
|
jobs: *id001
|