5 Commits

Author SHA1 Message Date
Clark Boylan
0a344201a2 Move grafyaml to Bookworm and python 3.11
This updates python testing to py311, adjusts the trove identifiers to
match, and switches the docker file to using python3.11 on Bookworm.

The motivation behind this is once OpenDev has updated all services to
Bookworm and python3.11 the old bullseye images and images for older
python versions can be cleaned up.

Change-Id: I3dde845ba05bfec915e19c44959c187162254204
2023-09-19 11:06:20 -07:00
Clark Boylan
fee8026623 Revert "Migrate grafyaml container images to quay.io"
This reverts commit 5920a711305d5254f954147da8420950828fe295.
This reverts commit 757e2d24c82ee358088486c0d06e47029e016c76.

This is a partial revert as test fixups are left as is.

OpenDev is moving back to docker.io to preserve speculative container
image testing.

Change-Id: I5cf061211df28a596271a033fb4b8bb5916ab998
2023-05-24 13:50:08 -07:00
Clark Boylan
757e2d24c8 Migrate grafyaml container images to quay.io
This migrates the published container images to quay.io. We also update
the source of the python base image to quay.io.

Three tox.ini changes are made. The first is to stop skipping sdists
which skips all installation of the software entirely. This prevents
AUTHORS file generation which breaks the docs build. We also need to
stop using develop installs to ensure AUTHORS files get generated.
Third we replace the setup.py build_sphinx command with sphinx-build as
setup.py commands are deprecated and don't work properly with modern
setuptools.

Depends-On: https://review.opendev.org/c/opendev/system-config/+/881932
Change-Id: Ia738ee9553368464dc498e4e04e1389c6dfbb969
2023-05-08 10:33:18 -07:00
Clark Boylan
ddd1845d00 Update Docker images to python 3.10
This updates the grafyaml docker images to python 3.10. We do this
because 3.10 has been shown to be quicker than 3.8. Also, 3.11 is coming
up soon and moving off of 3.8 will allow us to remove those images
before adding 3.11 which keeps to image build count to a more reasonable
number.

We update the voluptuous version to add python 3.10 support. In
particular collections.Mapping moved to collections.abc.Mapping.

Change-Id: I1514f5e1992cfe5dcdaa06133f5da7379599e57e
2022-10-14 16:36:05 -07:00
James E. Blair
b89ec19088 Build docker images
This builds and publishes docker images to opendevorg/grafyaml
so that users can run this with "docker run ...".

Also, appease the pep8 gods.

Change-Id: Ia30438953e5c73a01ae0cd32afb660442e0e6e39
2021-03-11 14:15:37 -08:00