From 2f50dbec79a7f69ac6024644b409d5dcb9a957b3 Mon Sep 17 00:00:00 2001 From: John Garbutt Date: Wed, 15 Nov 2023 13:11:19 +0000 Subject: [PATCH] Test on latest magnum, now its not broken (#29) --- magnum_capi_helm/driver.py | 5 ++++- requirements.txt | 2 +- tox.ini | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/magnum_capi_helm/driver.py b/magnum_capi_helm/driver.py index 01eecad..a90627b 100644 --- a/magnum_capi_helm/driver.py +++ b/magnum_capi_helm/driver.py @@ -447,7 +447,10 @@ class Driver(driver.Driver): # Cluster API looks for specific named secrets for each of the CAs, # and generates them if they don't exist, so we create them here # with the correct certificates in - for (name, data,) in ca_certificates.get_certificate_string_data( + for ( + name, + data, + ) in ca_certificates.get_certificate_string_data( context, cluster ).items(): self._k8s_client.apply_secret( diff --git a/requirements.txt b/requirements.txt index 42d90d4..8afd11a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ pbr>=2.0 # Apache-2.0 oslo_log oslo_utils -magnum<17.0.0 # test against 2023.1 for now +magnum diff --git a/tox.ini b/tox.ini index 4b8fc7e..e288980 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ setenv = OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 -deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1} +deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = stestr run {posargs}