- 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-add-gpgkey description: Test the add-gpgkey role files: - roles/add-gpgkey/.* run: test-playbooks/simple-role-test.yaml vars: role_name: add-gpgkey gpg_key: private: | -----BEGIN PGP PRIVATE KEY BLOCK----- lQHYBF0mYg8BBACi+4ErUz2RUEa3+HqMCvk5yG+wRMInRDkmx68p+lrFDDggR1fT zmjagORW60aBkatjRETrFtTUF8GtHEldmGZ9VLjchHMUY6DkLSef0x6K9BTxENsK LvFtoz5vsyKG5JA64pOQ9DE/I6FAih07f0RFxl842rZObHDDLV4CfIIjtwARAQAB AAP9E7AR9cEuahlVEZrLIujzG48iKXGE3+gWh0q5LCGj9AhP11uxjlJxdBj8fEtw zuy2frKb01IvZMIh5olzi1eCObw2ABNjQGHDWuMoWvs9fmJ6YAswp8IRr5V6fzjh 7JBktrShr4Iyo9HwC07fy+i77PcuPy5t/PPPGEgS5Qi0p4ECAMiQEy5kUaa5Hf+D JV9icn3izt+vmBM+GEjJ5Ir0WxnompsZodwoPn2zpd7i0YmOfsNIcYgeld1PmwRB 2mTf2aECANAIOYsRl5xiDRDNC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6z h3VBCsOk3zF5KH6wOYi2BBgBCgAgFiEE84bReTRnQS0xfff6csLd37iNZRMFAl0m Yg8CGwwACgkQcsLd37iNZRMsZAQAl9/ypIoKVHjc5lWmbnS0cMXtB9y4RnEJFaPb UNj7omjQ3lwAOVcDvSX7ev7aUDVcpnv82LEKBtHiZW6VsHTrG6x76vNHMTdjn0j5 BqpX6IIlSIAYLAIoOUPZM78jcCHd14ED08VBrk9EvxBvdcaWImvwTHA1YRsv4nPe skaW7bI= =vRs2 -----END PGP PRIVATE KEY BLOCK----- - job: name: zuul-jobs-test-add-sshkey description: Test the add-sshkey role files: - roles/add-sshkey/.* run: test-playbooks/simple-role-test.yaml vars: role_name: add-sshkey ssh_key: fqdn: logs.example.org ssh_known_hosts: | logs.example.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDcvLuGLagUAZfc0BThLus8ufSPCrIhDtG0BdXvhblJjvIbkuELD3dRWRZVSYZAdzGZRY3t6vTAcguTrkbQg5ngXfdfF+OKPkaH8DiZwAX/1g/iRXhInkZTGBVqHo9pLAMeNNwviSy2JjpTqdD6fLEkHwW+uw4E2YZhYivctTSbOepMkzAtFV0w5cpyBzjAT/Hax2x5un6es8R0Iw3AAnUmtapn5e5NCrg2rPNpd0nve84wUavvbC2DeGDOZQdnIahwo60Sder5ZE/x6cG39bkSDdgFQArAzrNrH6BHmNGjfFPpnGmfc7P8gQwDPtMf02HvKapqATXpIxdbSGimWLL ssh_private_key: | -----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAoQ7D+8xKtScTy29Gao+NyyJVaFzjQkNSqOYvYof+MZuqdCZ9 NJKQqFUDG+F9mcrNb1k4KXfq/Qv2aGDxXlrkPKzwm8OFbKHDHcJM+5gj5DA1cj8B EY0YLdbE5fVhoLZZts6v++m5hKbmOjzPpxbSUu1BOF5X6BxSt6Uf4YDBYvAl/yCw HbaVPenVtr5l5FLeco9ORhzFynklPgeaVBLBEYEJJx9yQXXP47yr/XYOc7d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hidOWQBNJai01zA0uP4Tx0 fols5An9ZvrmmhSA5HqhLdzJGnNs90z7ibZTCgHCVUW+3pvo2qBhKP3mqJF9viL2 /E6LCLMCgYEAxIngug5qRSUMGXy8Y2Xjbs/Vsao1Z6xbp16c2AXR+jXQRoHdoTYx +HUQ5aBGZc5yxOQpplRVmSxAWTFjsgzvbi0V4XF5EUZydMce2ufkrfSKGUcF8kiW A+tEIZhDiZh2NZoXXAKqV3pH6nOF9kPgRymy7de7BCoQx3rB7YgXpOk= -----END RSA PRIVATE KEY----- - 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/emit-job-header/.* - ^roles/ensure-output-dirs/.* - ^roles/fetch-output/.* - ^roles/fetch-zuul-cloner/.* - ^roles/set-zuul-log-path-fact/.* - ^roles/prepare-workspace-git/.* - ^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-centos-8 description: Tests roles in the 'base' job on centos-8 parent: zuul-jobs-test-base-roles tags: auto-generated nodeset: nodes: - name: centos-8 label: centos-8 - 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-bindep description: Test the bindep role files: - roles/bindep/.* run: test-playbooks/simple-role-test.yaml vars: role_name: bindep - job: name: zuul-jobs-test-clear-firewall description: Test the clear-firewall role files: - roles/clear-firewall/.* run: test-playbooks/simple-role-test.yaml vars: role_name: clear-firewall - job: name: zuul-jobs-test-netconsole description: Test the netconsole setup role files: - ^roles/enable-netconsole/.* run: test-playbooks/simple-role-test.yaml vars: role_name: enable-netconsole netconsole_remote_ip: 192.0.2.1 netconsole_remote_port: 6666 - job: name: zuul-jobs-test-dstat-graph description: Test the dstat-graph roles run: test-playbooks/dstat-graph.yaml files: - ^roles/ensure-dstat-graph/.* - ^roles/run-dstat/.* - ^roles/dstat-graph/.* - ^test-playbooks/dstat-graph.yaml - 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-generate-zuul-manifest description: Test the generate-zuul-manifest role run: test-playbooks/generate-zuul-manifest.yaml files: - ^roles/generate-zuul-manifest/.* - ^test-playbooks/generate-zuul-manifest.yaml - 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-add-gpgkey - zuul-jobs-test-add-sshkey - zuul-jobs-test-base-roles-centos-7 - zuul-jobs-test-base-roles-centos-8 - 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-bindep - zuul-jobs-test-clear-firewall - zuul-jobs-test-netconsole - zuul-jobs-test-dstat-graph - 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-generate-zuul-manifest - zuul-jobs-test-upload-git-mirror gate: jobs: *id001