Commit Graph

29 Commits

Author SHA1 Message Date
Paul Belanger 7b0af5bbfc Clean up bitrot
Do the things we need to do to get our testing working.

Change-Id: Ia9898a2406c601f45b07714b46a7d44632e229e5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2021-06-22 08:50:57 -04:00
Paul Belanger b56cd32994 Re-enable windmill-jobs
Depends-On: https://review.opendev.org/724372
Change-Id: I43e854a43c6ed9b111f775b9208f33ee78129936
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-04-29 12:23:21 -04:00
Paul Belanger 93a28202bc Disable windmill / docker jobs
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>
2020-04-29 11:06:40 -04:00
Paul Belanger 97ee6c828b Drop molecule support
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>
2019-09-09 17:43:42 -04:00
OpenDev Sysadmins b6bf41a4da OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:52:08 +00:00
Paul Belanger b363f10c1e Move testinfra validate to run phase
Zuul now supports multiple run playbooks, lets use that over post-run.

Change-Id: Id6d591023ef9b351e08e4260c281d25eec0836cc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-02-16 19:48:48 -05:00
Paul Belanger 34bd22ca8b Add experimental installation from docker
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>
2019-02-07 16:15:03 -05:00
Paul Belanger e961f43cc3 Stop gating on ubuntu-xenial
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>
2018-12-05 16:47:51 -05:00
Paul Belanger 4666971ac5 Switch to molecule for testing
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>
2018-08-19 11:32:19 -04:00
Paul Belanger efc9d57e2c Switch to testinfra for role validation
We can switch to using testinfra to help ensure ansible did everything
properly.

Change-Id: I9e21cd16f1149d76308043a97658c93e7f14ac42
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-08-16 20:26:51 -04:00
Zuul 88c57bff4c Merge "Use new log collection process" 2018-08-15 02:17:51 +00:00
Paul Belanger 81b000901c Use new log collection process
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>
2018-08-14 21:35:02 -04:00
Paul Belanger 5a49a8829e
Switch to fedora-latest for testing
This will make upgrading fedora nodes much easier for openstack-infra.

Change-Id: Ie29aedbc2b86fb546139235954b513c40682ffb5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-07-27 10:56:17 -04:00
Paul Belanger c3e15feb5a
Start gating on ubuntu-bionic
Now that ubuntu-bionic is released, we can gate on it.

Change-Id: I0ed8eb74daad2ed8f5d814b488998b47dc7d02ce
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-26 12:46:55 -04:00
Paul Belanger 08f40aa7bd
Stop using pre-compiled wheels
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>
2018-04-13 15:00:42 -04:00
Paul Belanger 38affb57d6
Only require-projects openstack-infra/nodepool for src jobs
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>
2018-04-12 21:04:54 -04:00
Paul Belanger 407d827893
Default nodepool_pip_executable to pip3
Moving forward, we'll only support nodepool under python3.

Change-Id: If0f9ed013819b68601e28ecfbeffa40a41d19ebc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-12 20:08:25 -04:00
Paul Belanger 3d96a9ae01
Default install method to pip
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>
2018-04-12 18:37:18 -04:00
Paul Belanger 5efd428d9e
Refactor jobs to support pip / git installation testing
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>
2018-04-12 17:55:15 -04:00
Paul Belanger 8636c62f6f
Add windmill-jobs-bionic jobs
Change-Id: I3333a5eb0b91a8b7ac2b93efaadaed99a50de8e5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-06 21:16:38 -05:00
Paul Belanger dfbd0fad32
Add testing for ubuntu-bionic
With ubuntu-bionic nodes being online, we can start testing against
them.

Change-Id: Ib5cb809b4c56892f59f47683188099f0437eec59
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-06 11:52:06 -05:00
Paul Belanger 1f086359a9
Remove feature/zuulv3 override-branch
This is no longer needed.

Change-Id: Ifb03c880622c2f6b96729c565998478203b895a8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-13 11:30:56 -05:00
Zuul e8b754ae13 Merge "Collect logs from testing" 2018-02-12 00:03:09 +00:00
Paul Belanger 19929aa259
Collect logs from testing
It is helpful to have logs to debug failures.

Change-Id: I3d5170713a031dc8ccb4772a7778bec1e63ffa15
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-11 15:17:30 -05:00
Paul Belanger c676f99309
Switch from fedora-26 to fedora-27 testing
Now that we have fedora-27 images online, start testing against that.

It also seems that pip3 will use /usr/local so we can remove override
from systemd for fedora.

  https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe

Change-Id: Ic47121b0d13936795980c433ee52cc1c6e11b2cd
Depends-On: https://review.openstack.org/543013/
Depends-On: https://review.openstack.org/543019/
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-09 19:41:04 -05:00
Paul Belanger d8faf2ffc3
Restore windmill jobs
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>
2018-02-04 18:02:46 -05:00
Paul Belanger 8dc3280328
Switch back to master
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>
2018-02-04 13:24:23 -05:00
James E. Blair 6757bae61f Zuul: add file extension to playbook path
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
2017-10-29 00:57:59 -07:00
Paul Belanger 22befecd1f
Initial support for zuulv3
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>
2017-10-20 09:52:32 -04:00