This was an experiment to see if using molecule was something we wanted
to do. However, a lot of tihs logic is duplicated by zuul.
Change-Id: Ie59edff5825496bb1f34825ae2f916afdf198593
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
With opendev.org now online, we can start using it over openstack.org.
Change-Id: Ia28113926efd70bee28aec7b88edcfdb365e6665
Depends-On: https://review.opendev.org/654017
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
It was a lot of overhead, with little gain, to run molecule lint.
Switch back to just using yamllint.
Change-Id: Ie4e4d5d77dcb864f7b76cd356cab7adf9516d1b3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Molecule is the defacto testing tool for ansible roles. Switch to it to
make it easier for users to test.
Change-Id: I881e895877c9702e62c4415d48b0f33f34f7487b
Depends-On: https://review.openstack.org/593369
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We can switch to using testinfra to help ensure ansible did everything
properly.
Change-Id: I9e21cd16f1149d76308043a97658c93e7f14ac42
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Clean up our README.rst file and use variables right from
defaults/main.yaml. This will ensure they are always up to date.
Change-Id: If2f8bf5b04491f54590f840cbaa98f2d67faf8d0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that zuulv3 is live, we can start having in repo jobs.
Change-Id: I0463d440abac26b4592fce0e26960be33c0a4efc
Depends-On: I7db3518f6dbd9c9315ebb5d4c40c6e18764b4e94
Depends-On: I3bff01ebac17c40988df60e7e4dd6e7fdc88a896
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The reason we didn't catch this is because the jenkins slaves already
have these folders created. In a future patch we should move these
into /var/lib/nodepool
Change-Id: I01349f6bc21002e638ecbd301f4fb6269df37376
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
OpenStack-Infra has requested that lint tests be pipelined into the 'linters'
tox target in order to make more efficient use of nodepool resources.
This patch:
- adds a 'linters' target which executes all required lint tests.
- removes previously seperated tox targets for lint tests.
Change-Id: I8e8ff6f16eb46f9d62159d2ac6c1ff8deeafe3b5
This brings our tox.ini files inline with other OpenStack projects.
Change-Id: I19bf33f54c8aa3e5eddd6823fe6d273acecd27bd
Depends-On: I376e51824c46f9b5eb4a4cff01aaa176632087dd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Force stdin, stdout and stderr to be totally unbuffered. This will
help with our gate jobs being run under Jenkins.
Change-Id: I334b164fa2fbb32f5a5fc56b7bb873a71cb2984c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Here we are using ansible-playbook to validate the syntax of our role.
Change-Id: I751392769774b44b9cf8d6f0cddf60b591c345cd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This is our first of many tests that we'll be gating on.
Change-Id: I79bee90bc989463a115b4e58c8c5226be6fe4f6f
Depends-On: Ia0d691baca3d9ef7386b2748bc6042a546e6d5f6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>