Do the things we need to do to get our testing working.
Change-Id: Ia9898a2406c601f45b07714b46a7d44632e229e5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We need to disable windmill jobs, as we are currently wedged on fixing
jobs. Current fixes need to happen our a few projets, so once everythign
is working, we'll bring this back online and merge eveyrthing in at
once.
Docker jobs look to be broken, disable for now and maybe look to migrate
to podman.
Add pytest to test-requirements.txt
Change-Id: Ie7b89f4bf0089e8020a625d4c561089695d529c0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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>
Zuul now supports multiple run playbooks, lets use that over post-run.
Change-Id: Id6d591023ef9b351e08e4260c281d25eec0836cc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This is our first attempt at running nodepool from docker, consider it
experimental. The idea here, is you now have the option of using the
official docker images from https://hub.docker.com/u/zuul for nodepool.
Users themself will be required to manage / configure docker, this role
only installs / configures / starts nodepool.
Change-Id: I2f3aa301e626a7b09ff129a21a188cee06e31f18
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There is no issues running ubuntu-bionic, so stop gating on
ubuntu-xenial to save us CI resources.
Change-Id: I1caedaee17b67d27a7005a827be62a58c9739a49
Depends-On: https://review.openstack.org/623074
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>
While this isn't 100%, it is enough to actually get started using it.
Change-Id: I8e4bad97658f98ca5280eca694dc2d9cb4028ad1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This will make upgrading fedora nodes much easier for openstack-infra.
Change-Id: Ie29aedbc2b86fb546139235954b513c40682ffb5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that ubuntu-bionic is released, we can gate on it.
Change-Id: I0ed8eb74daad2ed8f5d814b488998b47dc7d02ce
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We actually want to ensure users are able to use our roles outside of
openstack-infra. Since those users won't have wheel mirrors, disable
our jobs from using them too.
Change-Id: I0a3c44c81aff497bc1678b68fc7b1374f233901b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Because we pip install released versions of nodepool, there is no need
to require openstack-infra/nodepool on non src jobs.
Change-Id: I846bfdbdc2584c9bd97312accd60148ea1f29d1b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Moving forward, we'll only support nodepool under python3.
Change-Id: If0f9ed013819b68601e28ecfbeffa40a41d19ebc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We want to encourge users to use the released versions of nodepool, so
flip the switch to pip. We still support git and will continue to
test against it.
Change-Id: If45a1392b1caed8d1c181bd463bad30f91eab899
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Because we want users to support both pip / git install methods,
refactor testing to support the testing of that.
Change-Id: Ieef3763172fbfe07a5d0cc4c83c37a6dad30b3cd
Depends-On: https://review.openstack.org/560996
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
With ubuntu-bionic nodes being online, we can start testing against
them.
Change-Id: Ib5cb809b4c56892f59f47683188099f0437eec59
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
It is helpful to have logs to debug failures.
Change-Id: I3d5170713a031dc8ccb4772a7778bec1e63ffa15
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that we switched back to master for all roles, start testing
again.
Change-Id: I768889b92587884cb31e168e91b2236bc09ce6c3
Depends-On: https://review.openstack.org/519539
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We've delete feature/zuulv3 and merge back to master! However, because
centos-7 doesn't support python3 we also have to drop testing it for
now too.
Stop running windmill jobs, so we can land these changes.
Change-Id: I3510c2317e07f9088a4ef9b95a4b43ec96dafb56
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated. Update references
to include the extension.
Change-Id: I1be032cac865477e46e2035846bb2f5a54b82c95
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>