4 Commits

Author SHA1 Message Date
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
Riccardo Pittau
e97643d636 Use pip install-option to specify ipa install location
Change-Id: I7d054442fa2e1595a8d44fa797f078ecf42e31ce
2019-09-25 16:22:16 +02:00
Dmitry Tantsur
6c6fc65cd6 DIB: do not use /tmp for a virtualenv in the source build
We don't (and shouldn't) copy /tmp to the final image.

Also fix the service file permissions - it is not executable.

Change-Id: I75e09662a63768627f8123a7fe7f5d9ca2d942c5
2019-09-23 17:12:28 +02:00
Dmitry Tantsur
944c8525a3 DIB: rename files and paths to match the element name
Apparently, DIB is sensitive to file names, at least the package-install
feature. Let us make sure we use ironic-python-agent-ramdisk, not ironic-agent.

Change-Id: I929c0652c320734ff82dd257180c4b7bd156c478
2019-09-19 07:47:56 +00:00