Expose the ability for a user to create a symlink to a diskimage-builder
virtualenv, this is usually needed when you start trying to version
different virtualenv installs.
Change-Id: I4bc65ffd38c7e37dc0f8a4de0b688f0a94d43e37
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: I4ccae7bc251a7a9c52ae99dd5cd6ba7299806c80
Depends-On: https://review.openstack.org/623074
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This means we no longer need to rename jobs every 6 months.
Change-Id: Icf44cf0b2f50dc197f9d506cd243f75fac502c88
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that ubuntu-bionic is officially released, we can gate on it.
Change-Id: I351eebe56600ab2725399d9be5e6805068c1b5bf
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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: Ia49d4ff5a121cc521a65f80a3993283b407167c3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There is no need to loop over the list of packages, this is actually
slower.
Change-Id: I24666d652cbb3806b418b7f0fb0839d4bb2614ea
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We want to encourge users to use the released versions of
diskimage-builder, so flip the switch to pip. We still support git and
will continue to test against it.
Change-Id: I460861a31eb186829672895dab33a1e9fd07fd03
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
When installing diskimage-buider from pip (pypi.python.org) there is
no need to install the build dependencies as we download the wheel.
Change-Id: I8a40bee4701bd72482e10ec5faf054ead26cbddb
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: Ida9cec271c83b8d66ab185b693077574a89091a5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
As we are planning on moving to python3 only, we can't actually test
that on centos-7. This is okay for now, since we provide testing on
fedora-27.
Change-Id: I8f2e9fafb6e5cf90efa25ba59d57e8aab00aee02
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
With ubuntu-bionic nodes being online, we can start testing against
them.
Change-Id: Id71f0563844641929c360fbcf4186ccea92d33a4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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: I0e60ffe109e467d55d76fba4d0eb32e3de05c39f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I96e83eec1dec5e4a91107c48b84d73d7fc6ece8e
Fedora-27 is the latest stable version, we should be testing with it
now.
Change-Id: I2c5439de9c2754979a0b03eff3528a786085ba79
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Sadly, we need EPEL for some centos dependencies. Manually install
them to avoid the need of enabling EPEL all the time.
Change-Id: Ib64502338633402de7b267b166cf1da975ff4b17
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that zuulv3 is live, we can switch to native ansible jobs.
Change-Id: Idb7b57149def695c73f3d22e6500507e66e9189d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Allow the user to pick the version of python needed for the
virtualenv.
Change-Id: I2e544f8bdd48cdbdb973dec844a2a9b56c473aae
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Clean up our install tasks by using an include.
Change-Id: I66617254524f21c02b97e5eade6ad14688c6249e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Expose the ability for a user to pass a refspec to our git command.
Change-Id: Ic1ead9197367c2aac36c56079215a1999ea9e8e6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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: I7c7942e24549453b32a6d904a598b7d6ef74bd81
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There might be a time were we only want run the pre task, so rather
then copying the code into another modules, just allow the user to
override the task list that runs.
Change-Id: I84a4fc0a63e115809e0ca29a919b4fbde0960742
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
These are dependencies our role requires. As such, they should be
installed by the user.
Change-Id: I6039ac5e8483084c08fb98adc0ae855af35da0e4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We were missing the yum-utils package for yumdownloader.
Change-Id: If803f126a00bdca81d8e6061a929a8b9d65e751f
Depends-On: I9127bca54331d37b95a1ac9e560dea0dfe4a44f5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Current tests are using localhost, which is fine but may not be real
world.
Change-Id: If6a8fcbe0736b6958005fba84a5c78058d9dd233
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Using the omit template, we can now better control with pip options we
set.
Change-Id: Id675758efbffb7b9a596bab9c0cccb0e1291c82e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Currently all other ansible roles default to git, so we should do that
here too.
Change-Id: Ibee125fddd9c4d9bdfea5fac6cb78059001c64e2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We now dynamically include package based on install_method.
Change-Id: Ie8a7102cc1d38651fa565896e4c51d7065462c35
Signed-off-by: Paul Belanger <pabelanger@redhat.com>