This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent.
Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.
Change-Id: I6ce80cc993cdd4c8d38266f3ff3f8f134f0fc5a9
Bullseye requires installing lshw from backports because the default one
has broken JSON output:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002025
Bookworm requires installing firmware from a different repository.
Change-Id: I1bfecfcaff1547f99fcb48cc54b8f7ff77f0b0d9
The conditions are left in the code in case someone somehow make it
work. We can clean them up later.
Change-Id: I65f6da0e90560c00eb82e8e4366fdaf3bbde8da1
IPA can no longer be installed on them, other projects will follow.
Leave the jobs in place for projects that consume them.
Publish Stream 9 images (we'll need to clean up tarballs.o.o later).
Also force using Python 3.9 for tinyipa.
Change-Id: I350c563c1c4ab60ac10d7c9e4bb0715bfde1b1db
The current stable release for debian is bullseye, this patch switches
dib-based images to that version.
Change-Id: Id607d7697c0aa8464b533047a4e5938648a0e25b
Updates tinyipa build script so it can use one of the multiple
different ISO filesystem generation tools in the ecosystem.
Also updates the dib docs which states IPA requires genisoimage,
which is... not... true.
Change-Id: I505aed2ec98674a0495174219609694042d59070
It's a moving target that keeps breaking. Right now it's broken because
removing openssl-devel causes removal of dkms, which DIB insists on
installing.
Document the supported distributions based on what the CI runs
(yes, it's Ubuntu Bionic and openSUSE 15.1, there is no mistake).
Change-Id: I08263751ca158db5883d95407ad0f3c9807826eb
Oslo.Privsep requries pycparser, which does not support being loaded
into python programs where the source is not available for doc string
references. This is because one of the things that happens with
an optomized python, is the files are "pre-compiled" and doc strings
are removed.
This is unfortunate, but just means the TinyIPA images are slightly
larger, Testing shows this is approximately 5 MB.
Change-Id: I3bdda3a8e595db8e84cd15bf083978c39514b1fa
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver for the release team.
Removed specific doc requirements from test-requirements.txt
Change-Id: Ibeb6253046787a7a0768879067facaaeb0137cdb
Removed additional firmware, largely Wi-Fi and embedded
SoC firmware, from the ramdisk as these devices are unlikely
to be needed in the process of the use of a deployment ramdisk.
Change-Id: Ia63c4d5d6c00c7fa64e7c2d570645b8a16aaf0c3
The Fedora based ramdisk is outright broken with SELinux enforcing.
TripleO actually ships its ramdisks with selinux-permissive, let's
do the same.
Change-Id: Icfec4b8109a0ddefeb0f200c3fd1f1e2de104839
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Idbe930500bc7988d7e1d78cff3f39beae775db89
Consistent interface naming is helpful in collecting introspection
data and final instance system.
Change-Id: I8d434f7f8412734a540b797255abb6391325f434
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
- Update hacking to version 3
Change-Id: I7e9e3993aeb05fb623be531160e418572fa9de54
When using a specific branch of ironic-python-agent for building
ironic images, we need to specefiy also the openstack/requirements
branch:
Change-Id: I259b5644150fe78018e2e0a6a4d719b973ab462f
CentOS 7 uses Python 2. Although it's possible to install Python 3
on it, it not trivial with DIB. We should rather switch to
a distribution where Python 3 is the default version.
As a nice side effect, the CentOS 8 images seem smaller.
The CentOS 7 job definitions are kept around since they're used
on stable/train.
Change-Id: I6b23da21eab19c69f7b070adff76b35e1752bf8d
It's a dependency of the ironic-python-agent-ramdisk element, so
it will be included anyway.
Depends-On: https://review.opendev.org/684304
Change-Id: Id47b8ff78506a15045cf31a5f619649a0b3147ed
This script was removed from IPA with CoreOS support, but it seems
to be quite generic. Recover and document it.
Change-Id: I014ada4509e60541bf12ef2bce9915afd8858d54
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
* 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