7 Commits

Author SHA1 Message Date
Dmitry Tantsur
07d27a573e CLI: add --verbose and --extra-args
The --extra-args argument allows passing arbitrary arguments to DIB.

Change-Id: I26be362263c08ea5cfe3bd265372ff5ab406d85c
2019-10-23 16:10:04 +02:00
Dmitry Tantsur
f6bf7b97d5 DIB: add --branch argument to override IPA branch
Change-Id: I6954342e4c2d3936cdea415838849c31c84b77ac
2019-10-18 12:49:57 +02:00
Dmitry Tantsur
3be5066aa9 Allow changing DIB_RELEASE and add a job with CentOS 8
Change-Id: Ia0e3897ba414827fb81ba7ca7367e86899ea455a
2019-10-16 15:10:02 +02:00
Dmitry Tantsur
eaaa1118ad DIB: default to installing pip and virtualenv from packages
This reduces the size of the image slightly. We don't need latest
versions since we update pip in our venv anyway.

Change-Id: I7729b8c286c641a7b70a775ffe73f9f1c9dbff2d
2019-10-09 07:50:20 +00:00
Dmitry Tantsur
e3e43601d2 Correct the relative path calculation
I'm not sure what I was thinking, but the code is clearly wrong now.

Change-Id: Icf17b8e9181dbb387fd65ae141d43749309fd0b4
2019-08-28 13:32:35 +02:00
Dmitry Tantsur
84f673d30a Accounts for Ubuntu paths on pip installation
On Ubuntu pip installs everything to /usr/local by default, including
putting DIB element to /usr/local/share, where we cannot find it.
This changes add support for it and additionally improves error message.

Change-Id: I52e0abd7e69668f15ca7a02ad238a96b98eeaaf3
2019-08-26 18:02:12 +02:00
Dmitry Tantsur
c56bffbefe Make ironic-python-agent-builder packaging-friendly
* Install dib files to /usr/share (tinyipa TBD later)
* Add an executable that can be installed into /usr/bin

Since we now have python code, make pep8 operational.

Change-Id: I9235885485833c4011e42da6db01e150821bd8da
2019-08-12 15:28:34 +02:00