Commit Graph

13 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 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
Ian Wienand 878b20898d Drop Python 2 support
This has bit-rotted as libraries have updated to Python 3 only.

Switch to hacking; some minor changes to regex-strings is all that is
required.

Drop py27 markers and move to Python 3 only.  Update requirements.

Depends-On: https://review.opendev.org/737666
Change-Id: Iabf201965129b3284166e1aedcb9f1c9d6109077
2020-06-24 11:52:23 +10:00
melissaml 0c1dccc15b Removed older version of python3.4
Change-Id: I14773f94276b015c655cffe4d3ff0addf4e53714
Closes-Bug:  #1801855
2019-01-06 14:35:50 +08:00
Paul Belanger 4fc2eb8bac Enable wheel univeral support
Change-Id: I52d5d4c7fee558c6ecded755f7503bdfdfe570cb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-03 16:11:40 -05:00
Paul Belanger 4f5cf68273 Remove unused oslo_config settings
Seems we missed some code when we dropped oslo_config support.

Change-Id: Ica5dca22ff38842641f5dafb1ef82cef5fe06a70
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-10-21 13:22:56 -04:00
Paul Belanger 09dd3f906e Update pypi metadata to reference -infra
Most of this was existing cookiecutter defaults used for OpenStack
projects. Additionally, we are adding the alpha tag since we are still
early in the release process.  Over the next few releases we'll bump
this up to beta then eventually stable.

Also, http://docs.openstack.org/infra/system-config/grafyaml.html
currently does not exist. I will be adding a follow-up patch for
system-config.

Change-Id: Idd601c3179cbec87441713f5317d51b0ebe134b1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-10-06 13:18:36 -04:00
Jenkins a61e30d33b Merge "Add docs for grafana-dashboards command" 2015-10-01 14:25:55 +00:00
Paul Belanger 103a882cbf Add caching support
Like we do with JJB, we create a md5sum of the dashboard then cache
it.  This is a simple way to determine if a yaml file has changed.

Change-Id: If7b80b84c5bbcb0d30b0325bae6b8e726bb2f41b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-29 11:34:31 -04:00
Paul Belanger 789bf1f3a2 Add docs for grafana-dashboards command
Also rework index file to include README over a dedicated readme file.

Change-Id: I70108fb627131e7a8bfec6e64cbfc093e65ca48b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-28 15:56:58 -04:00
Paul Belanger eabed49f75 Remove Babel bits
These are currently unsed and left over bits from cookie-cutter.

Change-Id: I99d143898e2ef8e7dbd6e0c470d6afdba89fc1f7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-17 14:15:51 -04:00
Paul Belanger e117767f9b Add grafana-dashboards cli client
This is the first attempt at the CLI client.  Right now, we just support the
update function, which will blindly create a dashboard in grafana with ZERO
validation.  Additionally, we blindly override any existing dashboard that has
been created.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-05-06 13:02:55 -04:00
Paul Belanger f65385a578 Initial Cookiecutter Commit. 2015-05-04 13:14:07 -04:00