ansible-role-container-regi.../zuul.d/layout.yaml
Kevin Carter 1217799b1b
Add molecule testing
This change adds molecule testing using a simple base job and pre|run playbooks.
The test will be executed via a native zuul job and will ensure we're exercising
all of the available code path's as provide by this role.

Two molecule scenarios will be executed whenever any change is made to this role

* default - runs through the typical main code path
* login - tests a secure docker registry ensuring our login capabilities are
          never broken.

Documentation in the readme has been added to show how local testing can be run.

A bindep.txt file has been added to ensure zuul knows how to install our
required base packages.

Closes-Bug: #1835657
Related-Bug: #1833584
Change-Id: I48f74b69c5d29dce4a576fa96e79563a4b484469
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-07-10 18:42:16 -05:00

15 lines
416 B
YAML

- project:
check:
jobs:
- ansible-role-container-registry-centos-7-molecule
- openstack-tox-linters
- tripleo-ci-centos-7-undercloud-containers
gate:
jobs:
- ansible-role-container-registry-centos-7-molecule
- openstack-tox-linters
- tripleo-ci-centos-7-undercloud-containers
post:
jobs:
- publish-openstack-python-branch-tarball