Commit Graph

14 Commits

Author SHA1 Message Date
Paul Belanger 0ed7f22fdd Create diskimage_builder_pip_virtualenv_symlink variable
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>
2020-01-16 11:06:26 -05:00
Paul Belanger 46856cf039
Default install method to pip
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>
2018-04-13 20:26:20 -04:00
Paul Belanger c9584a7e66
Update diskimage_builder_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: I0e60ffe109e467d55d76fba4d0eb32e3de05c39f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-04 20:20:02 -05:00
Paul Belanger 1842d7bed4
Add zuulv3 jobs support
Now that zuulv3 is live, we can switch to native ansible jobs.

Change-Id: Idb7b57149def695c73f3d22e6500507e66e9189d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-11-13 20:55:48 -05:00
Paul Belanger 63c794fddb
Create diskimage_builder_pip_virtualenv_python
Allow the user to pick the version of python needed for the
virtualenv.

Change-Id: I2e544f8bdd48cdbdb973dec844a2a9b56c473aae
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-30 15:01:14 -04:00
Paul Belanger 7651bd86a3 Add support to clone a refspec
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>
2017-01-08 16:55:31 -05:00
Paul Belanger 82f5f124b2
Fix typo with diskimage_builder_git_dest
Change-Id: I87c7a2ceca5a674cb9b6c0df37fbcd887e92a3b9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-09-04 09:39:42 -04:00
Paul Belanger 227e3537c9
Add nodepool_task_manager to expose control of tasks
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>
2016-09-04 09:18:54 -04:00
Paul Belanger 3d595ea489
Add diskimage_builder_pip_virtualenv
Change-Id: I235ecefc85662129e950dd1977d4646b6f985eea
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-31 14:11:35 -04:00
Paul Belanger ab5ae70356 Simplify pip install options
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>
2016-02-19 17:13:15 -05:00
Paul Belanger e6e2da2c33 Default diskimage_builder_install_method to git
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>
2016-02-15 14:03:10 -05:00
Paul Belanger 688ff05230 Expose pip_extra_vars to the user
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-12-01 14:11:14 -05:00
Paul Belanger c28de18349 Add LICENSE headers
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-12-01 11:43:02 -05:00
Paul Belanger 8849eebcbe Initial commit
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-14 20:51:27 -04:00