c2cciutils 1.8.0.dev48__py3-none-any.whl → 1.8.0.dev50__py3-none-any.whl
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.
- c2cciutils/lib/oidc.py +7 -7
- c2cciutils/package-lock.json +35 -35
- c2cciutils/scripts/k8s/wait.py +6 -6
- {c2cciutils-1.8.0.dev48.dist-info → c2cciutils-1.8.0.dev50.dist-info}/METADATA +1 -1
- {c2cciutils-1.8.0.dev48.dist-info → c2cciutils-1.8.0.dev50.dist-info}/RECORD +8 -8
- {c2cciutils-1.8.0.dev48.dist-info → c2cciutils-1.8.0.dev50.dist-info}/LICENSE +0 -0
- {c2cciutils-1.8.0.dev48.dist-info → c2cciutils-1.8.0.dev50.dist-info}/WHEEL +0 -0
- {c2cciutils-1.8.0.dev48.dist-info → c2cciutils-1.8.0.dev50.dist-info}/entry_points.txt +0 -0
c2cciutils/lib/oidc.py
CHANGED
|
@@ -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
|
|
c2cciutils/package-lock.json
CHANGED
|
@@ -12,41 +12,41 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"node_modules/@sentry-internal/tracing": {
|
|
15
|
-
"version": "7.120.
|
|
16
|
-
"resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.120.
|
|
17
|
-
"integrity": "sha512-
|
|
15
|
+
"version": "7.120.3",
|
|
16
|
+
"resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.120.3.tgz",
|
|
17
|
+
"integrity": "sha512-Ausx+Jw1pAMbIBHStoQ6ZqDZR60PsCByvHdw/jdH9AqPrNE9xlBSf9EwcycvmrzwyKspSLaB52grlje2cRIUMg==",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@sentry/core": "7.120.
|
|
21
|
-
"@sentry/types": "7.120.
|
|
22
|
-
"@sentry/utils": "7.120.
|
|
20
|
+
"@sentry/core": "7.120.3",
|
|
21
|
+
"@sentry/types": "7.120.3",
|
|
22
|
+
"@sentry/utils": "7.120.3"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=8"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@sentry/core": {
|
|
29
|
-
"version": "7.120.
|
|
30
|
-
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.120.
|
|
31
|
-
"integrity": "sha512-
|
|
29
|
+
"version": "7.120.3",
|
|
30
|
+
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.120.3.tgz",
|
|
31
|
+
"integrity": "sha512-vyy11fCGpkGK3qI5DSXOjgIboBZTriw0YDx/0KyX5CjIjDDNgp5AGgpgFkfZyiYiaU2Ww3iFuKo4wHmBusz1uA==",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@sentry/types": "7.120.
|
|
35
|
-
"@sentry/utils": "7.120.
|
|
34
|
+
"@sentry/types": "7.120.3",
|
|
35
|
+
"@sentry/utils": "7.120.3"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=8"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"node_modules/@sentry/integrations": {
|
|
42
|
-
"version": "7.120.
|
|
43
|
-
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.120.
|
|
44
|
-
"integrity": "sha512-
|
|
42
|
+
"version": "7.120.3",
|
|
43
|
+
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.120.3.tgz",
|
|
44
|
+
"integrity": "sha512-6i/lYp0BubHPDTg91/uxHvNui427df9r17SsIEXa2eKDwQ9gW2qRx5IWgvnxs2GV/GfSbwcx4swUB3RfEWrXrQ==",
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@sentry/core": "7.120.
|
|
48
|
-
"@sentry/types": "7.120.
|
|
49
|
-
"@sentry/utils": "7.120.
|
|
47
|
+
"@sentry/core": "7.120.3",
|
|
48
|
+
"@sentry/types": "7.120.3",
|
|
49
|
+
"@sentry/utils": "7.120.3",
|
|
50
50
|
"localforage": "^1.8.1"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
@@ -54,37 +54,37 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"node_modules/@sentry/node": {
|
|
57
|
-
"version": "7.120.
|
|
58
|
-
"resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.120.
|
|
59
|
-
"integrity": "sha512-
|
|
57
|
+
"version": "7.120.3",
|
|
58
|
+
"resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.120.3.tgz",
|
|
59
|
+
"integrity": "sha512-t+QtekZedEfiZjbkRAk1QWJPnJlFBH/ti96tQhEq7wmlk3VszDXraZvLWZA0P2vXyglKzbWRGkT31aD3/kX+5Q==",
|
|
60
60
|
"license": "MIT",
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@sentry-internal/tracing": "7.120.
|
|
63
|
-
"@sentry/core": "7.120.
|
|
64
|
-
"@sentry/integrations": "7.120.
|
|
65
|
-
"@sentry/types": "7.120.
|
|
66
|
-
"@sentry/utils": "7.120.
|
|
62
|
+
"@sentry-internal/tracing": "7.120.3",
|
|
63
|
+
"@sentry/core": "7.120.3",
|
|
64
|
+
"@sentry/integrations": "7.120.3",
|
|
65
|
+
"@sentry/types": "7.120.3",
|
|
66
|
+
"@sentry/utils": "7.120.3"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=8"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"node_modules/@sentry/types": {
|
|
73
|
-
"version": "7.120.
|
|
74
|
-
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.120.
|
|
75
|
-
"integrity": "sha512-
|
|
73
|
+
"version": "7.120.3",
|
|
74
|
+
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.120.3.tgz",
|
|
75
|
+
"integrity": "sha512-C4z+3kGWNFJ303FC+FxAd4KkHvxpNFYAFN8iMIgBwJdpIl25KZ8Q/VdGn0MLLUEHNLvjob0+wvwlcRBBNLXOow==",
|
|
76
76
|
"license": "MIT",
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=8"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"node_modules/@sentry/utils": {
|
|
82
|
-
"version": "7.120.
|
|
83
|
-
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.120.
|
|
84
|
-
"integrity": "sha512-
|
|
82
|
+
"version": "7.120.3",
|
|
83
|
+
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.120.3.tgz",
|
|
84
|
+
"integrity": "sha512-UDAOQJtJDxZHQ5Nm1olycBIsz2wdGX8SdzyGVHmD8EOQYAeDZQyIlQYohDe9nazdIOQLZCIc3fU0G9gqVLkaGQ==",
|
|
85
85
|
"license": "MIT",
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@sentry/types": "7.120.
|
|
87
|
+
"@sentry/types": "7.120.3"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
90
90
|
"node": ">=8"
|
|
@@ -299,9 +299,9 @@
|
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
301
|
"node_modules/semver": {
|
|
302
|
-
"version": "7.
|
|
303
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.
|
|
304
|
-
"integrity": "sha512-
|
|
302
|
+
"version": "7.7.0",
|
|
303
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz",
|
|
304
|
+
"integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==",
|
|
305
305
|
"license": "ISC",
|
|
306
306
|
"bin": {
|
|
307
307
|
"semver": "bin/semver.js"
|
c2cciutils/scripts/k8s/wait.py
CHANGED
|
@@ -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
|
|
@@ -8,8 +8,8 @@ c2cciutils/configuration.py,sha256=LwJw-l9zB3zy7LtjjrWHFATIuxdRVMJZ-mLbTbFiug8,1
|
|
|
8
8
|
c2cciutils/default_branch.graphql,sha256=CaP3rRsNiyg_7RvqbMk0tOJr0aqWd8cOeSV-ZKgvKY4,131
|
|
9
9
|
c2cciutils/env.py,sha256=daNqFY-6-X7PGuPz5OaN634KqYtsawj9Dj-Zt-bxctw,3338
|
|
10
10
|
c2cciutils/lib/docker.py,sha256=ULklJgc-8sfy1vI8p_cbYYEq_u73BKNIGorMxzEKA2I,5663
|
|
11
|
-
c2cciutils/lib/oidc.py,sha256=
|
|
12
|
-
c2cciutils/package-lock.json,sha256=
|
|
11
|
+
c2cciutils/lib/oidc.py,sha256=M03Avmwy45u3xzP8uhyTXJ8mY5BEonsXKeO-S1DC_JI,6297
|
|
12
|
+
c2cciutils/package-lock.json,sha256=lFCuvKM1p63hGIzj53UkTvjb3LR9tz95L5NuPAt1SSc,13406
|
|
13
13
|
c2cciutils/package.json,sha256=M-ah0GP5yl-tipGXquiCD9m6wBPqUwonCrmHLG9JwT4,134
|
|
14
14
|
c2cciutils/publish.py,sha256=Pc8BdEMZiqDiNIP3tlysNf1nxc-0ZM0lnymfKcqapg8,17158
|
|
15
15
|
c2cciutils/schema-applications.json,sha256=Tus-s9NB7uwKhTrQwhWQM4_oJygF_yHUqShtZhN1IxE,1551
|
|
@@ -24,14 +24,14 @@ c2cciutils/scripts/k8s/__init__.py,sha256=m8_lELJYRmzbAW7aGZL_T3tNwuFi1t8ot8F271
|
|
|
24
24
|
c2cciutils/scripts/k8s/db.py,sha256=GK1tzzyCqrCyIJzcBdIXjyNJUXrBPFNa-9fdtwxyrlU,3268
|
|
25
25
|
c2cciutils/scripts/k8s/install.py,sha256=OIQ8KHA3Pst2pjO2E-J5FYNaBHW-i-fqCXlAUcG1tw0,933
|
|
26
26
|
c2cciutils/scripts/k8s/logs.py,sha256=-xJYu8BBUmSmMrPEwiTBKZjJBRyIlMp1depCB04_NWs,2655
|
|
27
|
-
c2cciutils/scripts/k8s/wait.py,sha256=
|
|
27
|
+
c2cciutils/scripts/k8s/wait.py,sha256=zgPToNMN42qRTAq3RyzCApOqxOPJmmVUsIqbEuXCdiE,5689
|
|
28
28
|
c2cciutils/scripts/main.py,sha256=DfljDzEGCWwP7FZG0RRZaXD6PmOVaXMJjnNBQ0-rAWM,785
|
|
29
29
|
c2cciutils/scripts/pin_pipenv.py,sha256=jBTwlolcEL0MUyq6VYzO-adkcL1gqN7B3kBb3UjTo2k,2150
|
|
30
30
|
c2cciutils/scripts/publish.py,sha256=wzXSBn_60DzMJVdO8i2NjjO6Vwg6L6efH_T6ZR6LRsU,20513
|
|
31
31
|
c2cciutils/scripts/trigger_image_update.py,sha256=kEQHs71ymRNFh5VpKt0UMJILxcRPFZupl24iJ2EA3Bs,2772
|
|
32
32
|
c2cciutils/scripts/version.py,sha256=Srk22CQudxT8JixS-ZBsxeJvWryYVzN_NiWpcJvgrWI,8931
|
|
33
|
-
c2cciutils-1.8.0.
|
|
34
|
-
c2cciutils-1.8.0.
|
|
35
|
-
c2cciutils-1.8.0.
|
|
36
|
-
c2cciutils-1.8.0.
|
|
37
|
-
c2cciutils-1.8.0.
|
|
33
|
+
c2cciutils-1.8.0.dev50.dist-info/LICENSE,sha256=K_e76Y2cY12AHvtanvNmIEJ0nWsNh_WFMDK020TxMcY,1307
|
|
34
|
+
c2cciutils-1.8.0.dev50.dist-info/METADATA,sha256=drs8RJduwexOXXYXJXI3ylTauHL42r1x-zQ7jsyjW0c,17852
|
|
35
|
+
c2cciutils-1.8.0.dev50.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
36
|
+
c2cciutils-1.8.0.dev50.dist-info/entry_points.txt,sha256=54llpn1q67tS78NbLwA8rwSDWnEQ6aE3FaqMN0ctNN8,918
|
|
37
|
+
c2cciutils-1.8.0.dev50.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|