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
59e683cfd7
DIB: add non-voting image building jobs for various distros
...
This way we can track if image building still works on them.
Change-Id: Ib86ce189a892eafdb9646063d45b484b81e16ce0
2019-10-09 07:48:02 +00:00
Zuul
027992e26d
Merge "Clean up the ansible playbooks"
2019-10-01 12:21:33 +00:00
Zuul
de8e8e62ff
Merge "Recover iso-image-create script"
1.0.0
2019-09-27 09:41:19 +00:00
Dmitry Tantsur
6a07f96f2f
Recover iso-image-create script
...
This script was removed from IPA with CoreOS support, but it seems
to be quite generic. Recover and document it.
Change-Id: I014ada4509e60541bf12ef2bce9915afd8858d54
2019-09-27 09:21:53 +00:00
Zuul
73260b5af9
Merge "Use pip install-option to specify ipa install location"
2019-09-26 14:15:20 +00:00
Dmitry Tantsur
396eca61bc
Clean up the ansible playbooks
...
Change-Id: I7514368c591fb7cb445207a96c966275896ba4d5
2019-09-26 11:55:41 +02:00
Zuul
d768c3becd
Merge "Add irrelevant-files to the image check jobs"
2019-09-26 04:14:58 +00:00
Zuul
bf58dab940
Merge "Correct usage of BUILD_AND_INSTALL_TINYIPA"
2019-09-25 22:33:37 +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
1eee1c17a4
Correct usage of BUILD_AND_INSTALL_TINYIPA
...
This variable must be executable, so using True won't work. Since
true is the default in finalise-tinyipa, remove the explicit setting
from the role.
Also remove this variable from build-tinyipa since it's not used there
and update the documentation accordingly.
Change-Id: Ibe744121b863ef1265e5e3ead7ab13fef0855fc6
2019-09-25 15:53:20 +02:00
Dmitry Tantsur
f807d00a3d
Add irrelevant-files to the image check jobs
...
Change-Id: I18b97b727f4ab564e3a65a8fa7da4b0c8c4f6dcd
2019-09-25 14:38:31 +02:00
pengyuesheng
3195471e80
Update the constraints url
...
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
Change-Id: Ibbc7c119d635edb74c59d1999c3ae39b1195e943
2019-09-25 14:57:46 +08:00
Zuul
cd89c02671
Merge "CI: do not create UPLOAD_* directories when uploading images"
2019-09-24 16:28:11 +00:00
Zuul
9e943ab714
Merge "DIB: do not use /tmp for a virtualenv in the source build"
2019-09-24 16:19:39 +00:00
Zuul
70ea14fec5
Merge "Add documentation on building images"
2019-09-24 12:07:41 +00:00
Dmitry Tantsur
c28ee635cc
CI: do not create UPLOAD_* directories when uploading images
...
An innocent missing slash changes rsync semantics. This changes fixes it.
Change-Id: Ib167b541b9c4db7b4ef2cc4b68a6d82f5900c07c
2019-09-24 12:58:07 +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
Zuul
6374a86968
Merge "Correct variables in the POST job image_name -> image_type"
2019-09-23 14:48:40 +00:00
Zuul
9992b1ff3b
Merge "DIB: rename files and paths to match the element name"
2019-09-23 14:48:39 +00:00
Zuul
889f01dfc0
Merge "Remove dib/build.sh"
2019-09-20 17:03:59 +00:00
Zuul
765207a586
Merge "Update tinycore from 8.x to 9.x"
2019-09-20 17:03:58 +00:00
Zuul
43a4b2338d
Merge "CI: run a DIB job and make the inspector job non-voting"
2019-09-20 11:06:17 +00: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
Dmitry Tantsur
5e189fca97
DIB: remove deprecated extension and output image size for convenience
...
Change-Id: Ifbb242e4846a233c685ba3dba6d2ecdae101f4b2
2019-09-19 07:25:53 +00:00
Zuul
ca0652c1c5
Merge "Add file to tinybuild's IPA image"
2019-09-18 23:53:58 +00:00
Dmitry Tantsur
d9bc2b6ccc
Add documentation on building images
...
Mostly copy-pasted with small fixes from ironic-python-agent.
Change-Id: I8333a36f343991a888c6e9276ecae03aaf1941ae
2019-09-18 16:00:24 +02:00
Dmitry Tantsur
a7a8ff69f5
Correct variables in the POST job image_name -> image_type
...
Change-Id: Ica3ccbda25633d450a0e22111829cdc0115cf0f8
2019-09-18 15:48:29 +02:00
Dmitry Tantsur
cc42b38f38
CI: run a DIB job and make the inspector job non-voting
...
Now that we have a DIB job in IPA, let's run it here as well.
Since the inspector jobs are non-voting on both ironic and IPA,
make them non-voting here as well.
Change-Id: I25671ae979da27dbc67750c79ff7ae131b41ba19
2019-09-17 15:30:26 +02:00
Dmitry Tantsur
46d5727990
Correct a typo in zuul.yaml
...
Change-Id: Icad8b0dbaaf9a539ff5fc0772810fd3d9de07794
2019-09-16 12:29:18 +02:00
Zuul
c0c2003e61
Merge "Import ansible version of the image building job"
2019-09-13 13:40:36 +00:00
Zuul
7e1581bc06
Merge "Build pdf doc"
2019-09-09 14:42:50 +00:00
Dmitry Tantsur
a572b59a78
Remove dib/build.sh
...
It was needed before we had the ironic-python-agent-builder helper
script. Now it's redundant.
Change-Id: Iec765d182206e0300a9f8b7e0ee842505d3c3b63
2019-09-05 13:35:12 +02:00
Kaifeng Wang
cea462b0e4
Build pdf doc
...
The is one of community goals that each project could produce a
single PDF file. The pdf should be in the output of openstack-tox-docs
job.
TeX packages are required to build PDF locally, following is recommended:
* inkscape
* texlive-latex-base
* texlive-latex-extra
* texlive-fonts-recommended
More about the goal:
https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html
https://etherpad.openstack.org/p/train-pdf-support-goal
https://etherpad.openstack.org/p/pdf-goal-train-common-problems
Change-Id: Ic036194e33224be9341dbde901c4ba4717ccbbc8
2019-09-05 14:31:51 +08:00
Julia Kreger
83edd836cb
Add file to tinybuild's IPA image
...
We need the ``file`` command to examine the magic numbers in the
metadata of block devices to determine if a bootloader is persent.
Change-Id: I5e73113148e721c6644bbfd626c563e72468d030
2019-09-03 10:28:07 +00:00
Zuul
42862e0276
Merge "tinyipa: update qemu and tgt dependencies"
2019-08-30 17:15:42 +00:00
Zuul
5a5aa4b037
Merge "Correct the relative path calculation"
2019-08-30 10:41:56 +00:00
Zuul
095fd06c1d
Merge "Run a standalone job in the gate"
2019-08-30 10:30:10 +00:00
Dmitry Tantsur
98d6d62c3a
Import ansible version of the image building job
...
This patch starts "ansiblization" of the image building script, while
also cleaning it up. More importantly, it adds check and gate jobs
that verify the same playbooks as used in the post job.
Also correct source-repository for ironic-python-agent to use the
project name, not the old element name.
Change-Id: I9a404b24f95e47c84b22d4739fcf2b5b800886f9
2019-08-29 14:22:49 +02: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
18d161bdc3
DIB: add missing ironic-python-agent-create-rescue-user.sh
...
And remove gitignore rules that prevented it from being added.
Change-Id: If2a52d98ffd94eacc7b2166a4fe553850ba084d0
2019-08-27 09:52:30 +02:00
Zuul
62e378b606
Merge "Accounts for Ubuntu paths on pip installation"
2019-08-27 03:17:54 +00:00
Zuul
e93fe05aa3
Merge "Fix a typo that prevents AUTHORIZE_SSH from working"
2019-08-27 03:14:45 +00:00
Zuul
480c05462e
Merge "Add a full set of IPA jobs to the CI"
2019-08-26 17:01:17 +00:00
Dmitry Tantsur
2d237f7a87
Fix a typo that prevents AUTHORIZE_SSH from working
...
Also remove the long deprecated ENABLE_SSH.
Change-Id: I4256c8e89923c7104cb4191f3381312c1593b535
2019-08-26 18:28:14 +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
Zuul
a1858be876
Merge "DIB: create the directory for rescue password"
2019-08-26 15:38:02 +00:00
Dmitry Tantsur
f2c9fff6f4
DIB: create the directory for rescue password
...
Change-Id: I3eebafdfa5f7337a4c9db2a5a1a92c9598a6d5d5
2019-08-26 14:09:33 +02:00
Julia Kreger
db1fecdee0
Update tinycore from 8.x to 9.x
...
Change-Id: Ic61ef915d86bad39d43e80866913d0d1add0632b
2019-08-25 18:33:18 +02:00
Dmitry Tantsur
e72cf8b727
tinyipa: update qemu and tgt dependencies
...
This is needed in preparation for migration to TinyCore 10.x.
Change-Id: I060fb0ad2c8c9924a5f4179a42be35aba549f66a
2019-08-25 15:27:42 +02:00