azimuth-robotframework 0.2.6__tar.gz → 0.2.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/clusters.py +1 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/kubernetes_apps.py +1 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/kubernetes_clusters.py +1 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/util.py +7 -2
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/zenith.py +2 -2
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/PKG-INFO +1 -1
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/azimuth_robotframework.egg-info/PKG-INFO +1 -1
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/.github/workflows/pypi-publish.yaml +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/.gitignore +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/__init__.py +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/cluster_types.py +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/external_ips.py +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/kubernetes_app_templates.py +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/kubernetes_cluster_templates.py +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/main.py +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/sizes.py +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/LICENSE +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/README.md +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/azimuth_robotframework.egg-info/SOURCES.txt +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/azimuth_robotframework.egg-info/dependency_links.txt +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/azimuth_robotframework.egg-info/not-zip-safe +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/azimuth_robotframework.egg-info/requires.txt +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/azimuth_robotframework.egg-info/top_level.txt +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/pyproject.toml +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/setup.cfg +0 -0
- {azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/setup.py +0 -0
|
@@ -27,7 +27,8 @@ def wait_for_resource_property(
|
|
|
27
27
|
property: str,
|
|
28
28
|
target_value: t.Any,
|
|
29
29
|
working_values: t.Collection[t.Any],
|
|
30
|
-
|
|
30
|
+
error_message_property: str,
|
|
31
|
+
interval: int,
|
|
31
32
|
) -> t.Dict[str, t.Any]:
|
|
32
33
|
"""
|
|
33
34
|
Waits for the specified property on the instance with the given ID to reach a target
|
|
@@ -40,7 +41,11 @@ def wait_for_resource_property(
|
|
|
40
41
|
elif property_value in working_values:
|
|
41
42
|
return False
|
|
42
43
|
else:
|
|
43
|
-
|
|
44
|
+
message = f"unexpected {property} - {property_value}"
|
|
45
|
+
error_message = getattr(instance, error_message_property, None)
|
|
46
|
+
if error_message:
|
|
47
|
+
message = f"{message} - {error_message}"
|
|
48
|
+
raise AssertionError(message)
|
|
44
49
|
return wait_for_resource(resource, id, predicate, interval)
|
|
45
50
|
|
|
46
51
|
|
|
@@ -127,7 +127,7 @@ class ZenithKeywords:
|
|
|
127
127
|
# Use the scheme from the Azimuth base URL
|
|
128
128
|
scheme = self._ctx.client.base_url.scheme
|
|
129
129
|
zenith_url = f"{scheme}://{fqdn}?kc_idp_hint=azimuth"
|
|
130
|
-
# Wait for the Zenith URL to return something other than a 404, 502 or
|
|
130
|
+
# Wait for the Zenith URL to return something other than a 404, 500, 502, 503 or 504
|
|
131
131
|
# These statuses could occur while the Zenith tunnel is establishing
|
|
132
132
|
while True:
|
|
133
133
|
try:
|
|
@@ -139,7 +139,7 @@ class ZenithKeywords:
|
|
|
139
139
|
if response.status_code < 400:
|
|
140
140
|
# Not an error - we can exit!
|
|
141
141
|
break
|
|
142
|
-
elif response.status_code not in [404, 502, 503, 504]:
|
|
142
|
+
elif response.status_code not in [404, 500, 502, 503, 504]:
|
|
143
143
|
# Not an error we expect to see during Zenith service startup - fail
|
|
144
144
|
response.raise_for_status()
|
|
145
145
|
time.sleep(1)
|
{azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/.github/workflows/pypi-publish.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azimuth-robotframework-0.2.6 → azimuth-robotframework-0.2.8}/Azimuth/kubernetes_app_templates.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|