locust-cloud 1.26.4.dev9__tar.gz → 1.26.4.dev11__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.
Potentially problematic release.
This version of locust-cloud might be problematic. Click here for more details.
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/PKG-INFO +1 -1
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/alb-teardown.py +15 -10
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.github/workflows/daily-alb-teardown.yml +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.github/workflows/daily-check.yml +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.github/workflows/tests.yml +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.gitignore +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.pre-commit-config.yaml +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.vscode/extensions.json +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.vscode/launch.json +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.vscode/settings.json +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/LICENSE +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/README.md +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/__init__.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/apisession.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/args.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/common.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/docs/.gitignore +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/docs/1-first-run.rst +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/docs/2-examples.rst +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/docs/locust-cloud.rst +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/import_finder.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/input_events.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/web_login.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locust_cloud/websocket.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/locustfile.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/pyproject.toml +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/testdata/autodetected.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/testdata/extra-files/extra.txt +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/testdata/extra-package/example/__init__.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/testdata/extra-package/setup.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/testdata/requirements.txt +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/tests/args_test.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/tests/browser_tests.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/tests/cloud_test.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/tests/import_finder_test.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/tests/web_login_test.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/tests/websocket_test.py +0 -0
- {locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/uv.lock +0 -0
|
@@ -102,16 +102,21 @@ for ns in namespaces:
|
|
|
102
102
|
|
|
103
103
|
print(f"Checking namespace: {namespace}")
|
|
104
104
|
try:
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
105
|
+
ingresses = networking_api.list_namespaced_ingress(namespace=namespace).items
|
|
106
|
+
if not ingresses:
|
|
107
|
+
print(f"No Ingresses found in {namespace}")
|
|
108
|
+
continue
|
|
109
|
+
|
|
110
|
+
for ingress in ingresses:
|
|
111
|
+
name = ingress.metadata.name
|
|
112
|
+
creation_time = ingress.metadata.creation_timestamp
|
|
113
|
+
age_seconds = int((current_time - creation_time).total_seconds())
|
|
114
|
+
|
|
115
|
+
if age_seconds > 3600:
|
|
116
|
+
print(f"Deleting Ingress in namespace: {namespace} name: {name} (age: {age_seconds} seconds)")
|
|
117
|
+
networking_api.delete_namespaced_ingress(name=name, namespace=namespace)
|
|
118
|
+
else:
|
|
119
|
+
print(f"Skipping Ingress in {namespace} (created within the last hour)")
|
|
115
120
|
except client.exceptions.ApiException as e:
|
|
116
121
|
if e.status == 404:
|
|
117
122
|
print(f"Ingress not found in {namespace}")
|
{locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/.github/workflows/daily-alb-teardown.yml
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
|
|
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
|
{locust_cloud-1.26.4.dev9 → locust_cloud-1.26.4.dev11}/testdata/extra-package/example/__init__.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
|