Juju Charm - Keystone SAML Mellon
Go to file
Trent Lloyd dd01dd71f9 Build separately for focal and jammy
cryptography pinned to the last release without a rust dependency (<4.3)
does not support openssl v3 and thus Jammy, as a result the following
error occurs when deploying on Jammy-Yoga but not Focal-Yoga:
ImportError: /var/lib/juju/agents/unit-keystone-saml-mellon-4/.venv/lib/python3.10/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: undefined symbol: FIPS_mode

Update to the latest version of cryptography to resolve this and
backport various build changes to support this from 1167cc6133 (Add
Kinetic and Zed support):
- Unpin cryptography
- Install the required rust compiler at build time,
- Switch the charm to build binary wheels
- Build separate binary releases for Focal (20.04) and Jammy (22.04).
- Switch to charmcraft_channel 2.0/stable for 22.04 support
- Move interface/layer env vars to charmcraft.yaml
- Pin tox to < 4.0.0
- Re-generate a new build.lock with latest versions

Closes-Bug: #1975491
Change-Id: I4666c4a079ba34f9c3e310c3f4ead3ae8476c007
2024-03-15 02:28:19 +00:00
src Build separately for focal and jammy 2024-03-15 02:28:19 +00:00
unit_tests Use unittest.mock instead of mock 2021-12-15 14:04:23 +00:00
.gitignore Updates to enable jammy and finalise charmcraft builds 2022-04-06 16:44:49 +01:00
.gitreview Updates for stable branch creation 2022-04-15 11:49:11 +01:00
.stestr.conf Add repo bits to prep for gerrit 2019-02-25 15:39:05 +01:00
.travis.yml Add unit tests 2019-03-20 15:03:38 -07:00
.zuul.yaml Updates to enable jammy and finalise charmcraft builds 2022-04-06 16:44:49 +01:00
LICENSE initial functional version 2018-05-08 22:54:55 +03:00
bindep.txt Build separately for focal and jammy 2024-03-15 02:28:19 +00:00
charmcraft.yaml Build separately for focal and jammy 2024-03-15 02:28:19 +00:00
metadata.yaml Migrate charm to charmhub latest/edge track 2022-01-28 16:07:51 -07:00
osci.yaml Build separately for focal and jammy 2024-03-15 02:28:19 +00:00
pip.sh Add xena bundles 2021-10-08 16:21:10 +01:00
rebuild Add xena bundles 2021-10-08 16:21:10 +01:00
rename.sh Update to build using charmcraft 2022-02-01 20:14:02 +00:00
requirements.txt Build separately for focal and jammy 2024-03-15 02:28:19 +00:00
test-requirements.txt Build separately for focal and jammy 2024-03-15 02:28:19 +00:00
tox.ini Build separately for focal and jammy 2024-03-15 02:28:19 +00:00