Commit Graph

39 Commits

Author SHA1 Message Date
OpenDev Sysadmins 2a7da67c23 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:50:36 +00:00
Paul Belanger 2a2731be1b Stop testing with ubuntu-xenial
We can move to bionic as there are no issues, also allows us to save CI
resources.

Change-Id: I68e6a7fbf6d68e8721fadbee65222aae384ac8a0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-12-06 21:13:47 -05:00
Paul Belanger d053a353ab
Switch to fedora-latest for testing
This will make upgrading fedora nodes easier for openstack-infra.

Change-Id: Ib45516ae55a3622fa0705fa31868807f399b1b5e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-07-27 10:57:42 -04:00
Paul Belanger 1bf2c07938
Limit linters to current working directory
Change-Id: I96133a07226a9a3ed09d0aa000c371f79b3f3cc1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-26 15:29:42 -04:00
Paul Belanger d1cd312d12
Bump minimal version of ansible to 2.4.0
Currently 2.4.0 is the oldest release of ansible, everything later is
EOL. Update our meta data into include this and the platforms we
currently tests with.

Change-Id: Iea11f4401aa48b87f43da02faab3e47cdee1353e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-19 14:29:10 -04:00
Paul Belanger dd49f78200
Remove tox functional
This is no longer needed.

Change-Id: Ife099b283c0c0ab8e746f3833bbd9b58f54925cc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-19 14:28:28 -04:00
Paul Belanger 85a9f3b5b9
Pass list of packages directly to package task
There is no need to loop over the list of packages, this is actually
slower.

Change-Id: I0efdfbe3ba066ccab4bf3e3ff661bcba088984e1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-14 16:40:33 -04:00
Paul Belanger 8a55c99ca1
Default install method to pip
We want to encourge users to use the released versions of shade, so
flip the switch to pip.  We still support git and will continue to
test against it.

Change-Id: I7c18dc43ff136eeffdeef9e9ce970d7365b165fb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-13 15:53:28 -04:00
Paul Belanger a2c6f0dc9b
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: I518b5e39921bde0aa68a40c30e2390afc0d886db
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-13 15:47:30 -04:00
Paul Belanger d0e17e1265
Default shade_pip_executable to pip3
Moving forward, we'll only support shade under python3. While shade
still supports python2, this role will only support python3.

Users still have the ability to install python2, but will need to do
more work to make that happen.

Change-Id: I2970b76db9dc6badb9e720e5795abcda761fb2d4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-10 21:33:33 -04:00
Paul Belanger afdbdc9eb6
Stop gating on centos-7
We'd like to default to python3 for our role, but centos-7 doesn't
currently support it.  We already test with the latest fedora, which
should give us coverage until centos figures out python3 support.

Change-Id: Id0923e1bdb7eb72694aab5c1c61cc9829f3a4eb9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-10 20:50:23 -04:00
Paul Belanger 32692b4aa4
Add shade_pip_executable variable
Expose shade_pip_executable to allow user to specific version of
pip.

Change-Id: I2d8c5316cd5c891bda5fa3c3dc2de813c8a5e49b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-10 20:50:21 -04:00
Paul Belanger 88550baa13
Remove redundant pip install task
We can clean up our install tasks by using an include.

Change-Id: Ic206d855bc51db07d5f64717e384a98b710efa70
Depends-On: https://review.openstack.org/560232
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-10 20:50:10 -04:00
Paul Belanger 13e2783eac
Start testing with ubuntu-bionic
We have nodes online in openstack-infra, so lets start using them.

Change-Id: I0f2a607622ba87f7e2f4aa7c797f2e4a445aab1b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-06 21:27:35 -05:00
Paul Belanger a2943f1d58
Update shade_git_dest location
Stop using /opt folder to store the location of git checkout. We don't
actually need to be root user to do that.

Change-Id: Ifc530e66ec886d094c5a3b3cd6078270439cd301
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-04 19:47:13 -05:00
James E. Blair c51a3db275 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I9c1d21d04f9242e05ab7a7f836260fb18738349d
2018-02-16 23:23:38 +00:00
Paul Belanger 9fd6d7cd0c
Switch from fedora-26 to fedora-27 testing
Now that we have fedora-27 images online, start testing against that.

Change-Id: Ic1666203afe58d8fc0041e3a8f73e69fef6b6321
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 15:52:17 -05:00
James E. Blair 624373eb32 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: Ie726f3379db1e2fea09a38c04150f4abb1b65fc9
2017-10-29 19:06:17 -07:00
Paul Belanger 6fea31eaaf
Initial commit for zuulv3 support
Change-Id: Icf4a7437bcb31194227d2b48a90e00ef7dae97e7
Depends-On: I7683b6f715a1395aa0cee03b4191c180719cd177
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-10-21 20:09:03 -04:00
Paul Belanger 6ffd2b691f
Create shade_git_update
It is possible, in the case of zuulv3, git repos are already on disk.
As a results, we don't want to update them.

Change-Id: I902e287e00c231f36935c1cea212f043e3bca6ef
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-10-21 16:02:26 -04:00
Paul Belanger 6cdba6a985
Create shade_pip_virtualenv_python
This allows the user to choose which version of python to use in the
virtualenv.

Fix testing to use ansible_connection=ssh

Change-Id: Id2505dfd949e72f603f3db692a7dbc59912b1b59
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-30 15:10:54 -04:00
Paul Belanger e5edeea2b7 Add gcc as a build dependency
Change-Id: Iceac6501330243c6f9090c214046d3a425103230
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-12-30 15:49:35 -05:00
Paul Belanger 05d0984398 Move ansible dependencies into bindep.txt
We dont' want our roles managing ansible dependencies, that will be up
to the user.

Change-Id: I86de314b85c881b3abb7001bd34be8187ad7eddd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-12-27 11:56:25 -05:00
Paul Belanger c7d1da40ca Add python development headers as build dependency
Change-Id: I9cf57a961d09edba88ca69b5f420c11be898b939
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-12-26 21:25:57 -05:00
Paul Belanger 58cb62813e Add support for fedora
Change-Id: Ide2f90f326c77fddbe8d49c682c5c03400cade45
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-12-26 20:54:28 -05:00
Paul Belanger a800a513ed Fix deprecated becomes logic
Our previous way of doing becomes with include is no longer supported
by ansible. Switch to the supported way of handling becomes.

Change-Id: Ia213305fd874251b7abc6ee12c7058a7b459b61b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-11-09 09:28:50 -05:00
Paul Belanger 8073a27f75
Add openssl development headers for shade
Also fix bindep to properly install ansible.

Change-Id: I32c2895f7974a32a897347593832a2ff1de9ac2c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-09-29 19:48:39 -04:00
Paul Belanger 53e9afa80e
Run functional tests against 127.0.0.2
Both connection local and 127.0.0.1 have special meaning for ansible,
where will use the local filesystem vs SSH to the loopback adapter.

So, we use 127.0.0.2 to force ansible to make an SSH connection.

Change-Id: I642b1d409cbb683960b83e3582ac9fb53ffc6f81
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-09-05 21:17:58 -04:00
Paul Belanger afd0a7e703
Simplify pip install options
Using the omit template, we can now better control which pip options
we set.

Change-Id: I8ef6c7bad92c5cae0ac00945e6ab94d9322c0097
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-09-03 21:14:24 -04:00
Paul Belanger d93d1b0ff4
Remove epel-release / python-pip from role
These are dependencies our role requires. As such, they should be
installed by the user.

Change-Id: I71275b1de839834e9217534229b6e50aa66934bd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-09-03 20:55:13 -04:00
Jenkins e41e5f8ff8 Merge "Move other-requirements.txt to bindep.txt" 2016-08-22 19:29:28 +00:00
Paul Belanger 4fe9affb27
Fix path issue with roles_path
Change-Id: I560088060bd11cae67a48db00bbbc488ad10cf84
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-12 20:41:23 -04:00
Andreas Jaeger 4eb024a86c Move other-requirements.txt to bindep.txt
The default filename for documenting binary dependencies has been
changed from "other-requirements.txt" to "bindep.txt" with the release
of bindep 2.1.0. While the previous name is still supported, it will
be deprecated.

Move the file around to follow this change.

Note that this change is self-testing, the OpenStack CI infrastructure
will use a "bindep.txt" file to setup nodes for testing.

For more information about bindep, see also:
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
http://docs.openstack.org/infra/bindep/

As well as this announcement:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101590.html

Change-Id: I9b93b0b1cedea1cbf107824a583bd66eee2f1ddd
2016-08-12 20:51:42 +02:00
Paul Belanger 2d455e893b Add other-requirements.txt for bindep
This will allow us to better control the dependencies installed in the
openstack CI gate.

Change-Id: Icc58fb455db9b20ab839e3ec30d75a51ec8fed80
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-28 10:43:44 -04:00
Paul Belanger 095679e918 Fix deprecation warning
Change-Id: I01f08cfde57618629fab24ddabf42466ffe09e8f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-26 19:19:01 -04:00
Paul Belanger 05283eb20a Fix up git clone path
Also add some unit test coverage.

Change-Id: I7de829652e175f670126e318491b6156f0e6aa2d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-16 08:48:26 -05:00
Paul Belanger 95afeb3af9 Fix type with package module
Change-Id: I30443d3f4e20bf4c65c0443d49e5c549d97e0308
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-16 08:46:18 -05:00
Paul Belanger 63a208c086 Initial commit
A lot of this code is based on ansible-role-diskimage-builder.

Change-Id: I8012688ee16635d743d1af9aa7b43f084e5e9237
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-15 14:39:05 -05:00
OpenStack Project Creator e5033f8d54 Added .gitreview 2016-02-15 17:49:14 +00:00