puppet-openstack-integration/zuul.d/linters.yaml
Takashi Kajinami 867f939bd6 Run unittests and lint tests on CentOS8
This patch introduces a job to run unit tests and lint tests on
CentOS8, as we are migrating from CentOS7 to CentOS8.

Note that we have a job with puppet 5.5 initially, because we still
use puppet 5.5 in rdo train, but puppet 5 will be deprecated in Ussri.

Change-Id: Id643efdbab93f39ce3b168a2d1c451035547ecab
2020-03-03 22:19:36 +09:00

95 lines
2.5 KiB
YAML

- job:
name: puppet-openstack-lint-ubuntu-bionic
parent: puppet-openstack-module-base
run: playbooks/run-lint-tests.yaml
irrelevant-files:
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^requirements.txt$
- ^test-requirements.txt$
- job:
name: puppet-openstack-syntax-4-ubuntu-bionic
parent: puppet-openstack-syntax-base
branches: ^stable/(ocata|pike|queens|rocky|stein)$
vars:
puppet: 4
- job:
name: puppet-openstack-syntax-5-ubuntu-bionic
parent: puppet-openstack-syntax-base
vars:
puppet: 5
- job:
name: puppet-openstack-syntax-6-ubuntu-bionic
parent: puppet-openstack-syntax-base
branches: ^(?!stable/(ocata|pike|queens|rocky|jewel|mimic|luminous)).*$
vars:
puppet: 6
- job:
name: puppet-openstack-libraries-puppet-lint-ubuntu-bionic
parent: puppet-openstack-integration-base
run: playbooks/run-libraries-lint-tests.yaml
pre-run: playbooks/prepare-node-unit.yaml
timeout: 3600
- job:
name: puppet-openstack-libraries-puppet-syntax
parent: puppet-openstack-integration-base
run: playbooks/run-libraries-syntax-tests.yaml
pre-run: playbooks/prepare-node-unit.yaml
timeout: 3600
irrelevant-files:
- ^.*\.md$
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitignore$
- job:
name: puppet-openstack-libraries-puppet-syntax-4-centos-7
parent: puppet-openstack-libraries-puppet-syntax
nodeset: centos-7
branches: ^stable/(ocata|pike|queens|rocky|stein)$
vars:
puppet: 4
- job:
name: puppet-openstack-libraries-puppet-syntax-5-centos-7
parent: puppet-openstack-libraries-puppet-syntax
nodeset: centos-7
vars:
puppet: 5
- job:
name: puppet-openstack-libraries-puppet-syntax-6-ubuntu-bionic
parent: puppet-openstack-libraries-puppet-syntax
branches: ^(?!stable/(ocata|pike|queens|rocky|jewel|mimic|luminous)).*$
vars:
puppet: 6
- job:
name: puppet-openstack-libraries-puppet-syntax-5-centos-8
parent: puppet-openstack-libraries-puppet-syntax
nodeset: centos-8
voting: false
branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
vars:
puppet: 5
- job:
name: puppet-openstack-libraries-puppet-syntax-6-centos-8
parent: puppet-openstack-libraries-puppet-syntax
nodeset: centos-8
voting: false
branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
vars:
puppet: 6