c2cciutils 1.8.0.dev49__tar.gz → 1.8.0.dev50__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 c2cciutils might be problematic. Click here for more details.
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/PKG-INFO +1 -1
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/lib/oidc.py +7 -7
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/k8s/wait.py +6 -6
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/pyproject.toml +1 -1
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/LICENSE +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/README.md +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/__init__.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/applications-versions.yaml +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/applications.yaml +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/applications_definition.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/branches.graphql +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/commits.graphql +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/configuration.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/default_branch.graphql +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/env.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/lib/docker.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/package-lock.json +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/package.json +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/publish.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/schema-applications.json +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/schema.json +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/__init__.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/clean.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/docker_logs.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/docker_versions_gen.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/download_applications.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/env.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/k8s/__init__.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/k8s/db.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/k8s/install.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/k8s/logs.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/main.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/pin_pipenv.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/publish.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/trigger_image_update.py +0 -0
- {c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/version.py +0 -0
|
@@ -45,12 +45,12 @@ use them to configure a trusted publisher unless they already match your expecta
|
|
|
45
45
|
|
|
46
46
|
If a claim is not present in the claim set, then it is rendered as `MISSING`.
|
|
47
47
|
|
|
48
|
-
* `sub`: `{claims.get(
|
|
49
|
-
* `repository`: `{claims.get(
|
|
50
|
-
* `repository_owner`: `{claims.get(
|
|
51
|
-
* `repository_owner_id`: `{claims.get(
|
|
52
|
-
* `job_workflow_ref`: `{claims.get(
|
|
53
|
-
* `ref`: `{claims.get(
|
|
48
|
+
* `sub`: `{claims.get("sub", "MISSING")}`
|
|
49
|
+
* `repository`: `{claims.get("repository", "MISSING")}`
|
|
50
|
+
* `repository_owner`: `{claims.get("repository_owner", "MISSING")}`
|
|
51
|
+
* `repository_owner_id`: `{claims.get("repository_owner_id", "MISSING")}`
|
|
52
|
+
* `job_workflow_ref`: `{claims.get("job_workflow_ref", "MISSING")}`
|
|
53
|
+
* `ref`: `{claims.get("ref")}`
|
|
54
54
|
|
|
55
55
|
See https://docs.pypi.org/trusted-publishers/troubleshooting/ for more help.
|
|
56
56
|
"""
|
|
@@ -112,7 +112,7 @@ You can monitor PyPI's status here: https://status.python.org/
|
|
|
112
112
|
# occurred during minting.
|
|
113
113
|
if not mint_token_resp.ok:
|
|
114
114
|
reasons = "\n".join(
|
|
115
|
-
f
|
|
115
|
+
f"* `{error['code']}`: {error['description']}"
|
|
116
116
|
for error in mint_token_payload["errors"] # noqa: W604
|
|
117
117
|
)
|
|
118
118
|
|
|
@@ -11,13 +11,13 @@ from typing import Any
|
|
|
11
11
|
def _check_deployment_status(deployments: Any) -> bool:
|
|
12
12
|
for deployment in deployments["items"]:
|
|
13
13
|
if not deployment["status"]:
|
|
14
|
-
print(f
|
|
14
|
+
print(f"Waiting status for {deployment['metadata']['name']}")
|
|
15
15
|
return False
|
|
16
16
|
|
|
17
17
|
for condition in deployment["status"].get("conditions", []):
|
|
18
18
|
if not condition["status"]:
|
|
19
19
|
print(
|
|
20
|
-
f
|
|
20
|
+
f"::group::Deployment {deployment['metadata']['name']} not ready: {condition['message']}"
|
|
21
21
|
)
|
|
22
22
|
print(json.dumps(condition, indent=4))
|
|
23
23
|
print("::endgroup::")
|
|
@@ -25,7 +25,7 @@ def _check_deployment_status(deployments: Any) -> bool:
|
|
|
25
25
|
|
|
26
26
|
if deployment["status"].get("unavailableReplicas", 0) != 0:
|
|
27
27
|
print(
|
|
28
|
-
f
|
|
28
|
+
f"::group::Deployment {deployment['metadata']['name']} not ready there is {deployment['status'].get('unavailableReplicas', 0)} "
|
|
29
29
|
"unavailable replicas"
|
|
30
30
|
)
|
|
31
31
|
print(json.dumps(deployment["status"], indent=4))
|
|
@@ -54,7 +54,7 @@ def _check_container_status(pod: Any, status: Any, is_init: bool = False) -> boo
|
|
|
54
54
|
status_message = status_message.strip()
|
|
55
55
|
if status_message == "Completed":
|
|
56
56
|
return True
|
|
57
|
-
print(f
|
|
57
|
+
print(f"::group::Container not ready in {pod['metadata']['name']}: {status_message}") # noqa: E713
|
|
58
58
|
if status_message_long != status_message:
|
|
59
59
|
print(status_message_long)
|
|
60
60
|
print(json.dumps(status, indent=4))
|
|
@@ -68,7 +68,7 @@ def _check_pod_status(pods: Any) -> bool:
|
|
|
68
68
|
for condition in pod["status"].get("conditions", []):
|
|
69
69
|
if not condition["status"]:
|
|
70
70
|
print(
|
|
71
|
-
f
|
|
71
|
+
f"::group::Pod not ready in {pod['metadata']['name']}: {condition.get('message', condition['type'])}" # noqa: E713
|
|
72
72
|
)
|
|
73
73
|
print(json.dumps(condition, indent=4))
|
|
74
74
|
print("::endgroup::")
|
|
@@ -82,7 +82,7 @@ def _check_pod_status(pods: Any) -> bool:
|
|
|
82
82
|
return False
|
|
83
83
|
|
|
84
84
|
if pod["status"].get("phase") not in ("Running", "Succeeded"):
|
|
85
|
-
print(f
|
|
85
|
+
print(f"::group::The Pod {pod['metadata']['name']} is not ready: {pod['status'].get('phase')}")
|
|
86
86
|
return False
|
|
87
87
|
|
|
88
88
|
return True
|
|
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
|
{c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/download_applications.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
|
{c2cciutils-1.8.0.dev49 → c2cciutils-1.8.0.dev50}/c2cciutils/scripts/trigger_image_update.py
RENAMED
|
File without changes
|
|
File without changes
|