Commit Graph

8 Commits

Author SHA1 Message Date
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 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 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
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 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 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 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