Rebase to Ubuntu 22.04

Rebase charm to ubuntu 22.04 to resolve build issues on 20.04
and reduce complexity of requirements management.

Change-Id: Iaf8d9fe7fcc94edf8f21c877ad03dd4e7343c22c
This commit is contained in:
James Page 2022-11-05 08:19:59 +01:00
parent 262048c6f1
commit b1a2c20cc7
2 changed files with 5 additions and 22 deletions

View File

@ -4,10 +4,10 @@ type: "charm"
bases: bases:
- build-on: - build-on:
- name: "ubuntu" - name: "ubuntu"
channel: "20.04" channel: "22.04"
run-on: run-on:
- name: "ubuntu" - name: "ubuntu"
channel: "20.04" channel: "22.04"
parts: parts:
update-certificates: update-certificates:
plugin: nil plugin: nil
@ -22,6 +22,5 @@ parts:
- git - git
- libffi-dev - libffi-dev
- libssl-dev - libssl-dev
charm-python-packages: - rustc
- setuptools < 58 - cargo
- cryptography < 3.4

View File

@ -4,27 +4,11 @@
# https://github.com/openstack-charmers/release-tools # https://github.com/openstack-charmers/release-tools
# #
# NOTE: newer versions of cryptography require a Rust compiler to build, cryptography
# see
# * https://github.com/openstack-charmers/zaza/issues/421
# * https://mail.python.org/pipermail/cryptography-dev/2021-January/001003.html
#
cryptography<3.4
jinja2 jinja2
lightkube lightkube
lightkube-models lightkube-models
ops ops
git+https://opendev.org/openstack/charm-ops-sunbeam#egg=ops_sunbeam git+https://opendev.org/openstack/charm-ops-sunbeam#egg=ops_sunbeam
python-keystoneclient # keystone-k8s
# Used for Traefik
# Note: Remove when traefik-k8s-operator v1 library is released
serialized_data_interface
git+https://opendev.org/openstack/charm-ops-interface-tls-certificates#egg=interface_tls_certificates git+https://opendev.org/openstack/charm-ops-interface-tls-certificates#egg=interface_tls_certificates
# Note: Required for cinder-k8s, cinder-ceph-k8s, glance-k8s, nova-k8s
git+https://opendev.org/openstack/charm-ops-interface-ceph-client#egg=interface_ceph_client
# Charmhelpers is only present as interface_ceph_client uses it.
git+https://github.com/juju/charm-helpers.git#egg=charmhelpers