c2cciutils 1.7.0.dev174__py3-none-any.whl → 1.8.0.dev45__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.
Potentially problematic release.
This version of c2cciutils might be problematic. Click here for more details.
- c2cciutils/__init__.py +15 -230
- c2cciutils/applications-versions.yaml +3 -3
- c2cciutils/applications_definition.py +20 -22
- c2cciutils/configuration.py +83 -554
- c2cciutils/env.py +8 -31
- c2cciutils/lib/docker.py +2 -8
- c2cciutils/lib/oidc.py +188 -0
- c2cciutils/package-lock.json +115 -127
- c2cciutils/package.json +1 -1
- c2cciutils/publish.py +26 -44
- c2cciutils/schema.json +3 -230
- c2cciutils/scripts/__init__.py +1 -3
- c2cciutils/scripts/clean.py +4 -11
- c2cciutils/scripts/docker_logs.py +4 -4
- c2cciutils/scripts/docker_versions_gen.py +0 -1
- c2cciutils/scripts/download_applications.py +0 -2
- c2cciutils/scripts/env.py +2 -6
- c2cciutils/scripts/k8s/__init__.py +1 -3
- c2cciutils/scripts/k8s/wait.py +2 -2
- c2cciutils/scripts/main.py +4 -16
- c2cciutils/scripts/publish.py +45 -31
- c2cciutils/scripts/trigger_image_update.py +3 -8
- c2cciutils/scripts/version.py +5 -4
- {c2cciutils-1.7.0.dev174.dist-info → c2cciutils-1.8.0.dev45.dist-info}/LICENSE +1 -1
- {c2cciutils-1.7.0.dev174.dist-info → c2cciutils-1.8.0.dev45.dist-info}/METADATA +29 -58
- c2cciutils-1.8.0.dev45.dist-info/RECORD +37 -0
- {c2cciutils-1.7.0.dev174.dist-info → c2cciutils-1.8.0.dev45.dist-info}/WHEEL +1 -1
- {c2cciutils-1.7.0.dev174.dist-info → c2cciutils-1.8.0.dev45.dist-info}/entry_points.txt +0 -3
- c2cciutils/audit.py +0 -229
- c2cciutils/pr_checks.py +0 -286
- c2cciutils/scripts/audit.py +0 -41
- c2cciutils/scripts/docker_versions_update.py +0 -85
- c2cciutils/scripts/pr_checks.py +0 -78
- c2cciutils/security.py +0 -59
- c2cciutils-1.7.0.dev174.dist-info/RECORD +0 -42
c2cciutils/configuration.py
CHANGED
|
@@ -1,295 +1,64 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Automatically generated file from a JSON schema.
|
|
3
|
-
"""
|
|
1
|
+
"""Automatically generated file from a JSON schema."""
|
|
4
2
|
|
|
5
3
|
from typing import Any, Literal, TypedDict, Union
|
|
6
4
|
|
|
7
|
-
AUDIT_DEFAULT = {"snyk": True, "outdated_versions": True}
|
|
8
|
-
""" Default value of the field path 'configuration audit' """
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
AUDIT_SNYK_FILES_NO_INSTALL_DEFAULT: list[Any] = []
|
|
12
|
-
""" Default value of the field path 'Audit Snyk config files_no_install' """
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
AUDIT_SNYK_FIX_ARGUMENTS_DEFAULT = ["--all-projects"]
|
|
16
|
-
""" Default value of the field path 'Audit Snyk config fix_arguments' """
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
AUDIT_SNYK_FIX_PULL_REQUEST_ARGUMENTS_DEFAULT = ["--fill", "--label=dependencies"]
|
|
20
|
-
""" Default value of the field path 'Audit Snyk config fix_github_create_pull_request_arguments' """
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
AUDIT_SNYK_MONITOR_ARGUMENTS_DEFAULT = ["--all-projects"]
|
|
24
|
-
""" Default value of the field path 'Audit Snyk config monitor_arguments' """
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
AUDIT_SNYK_PIPENV_SYNC_ARGUMENTS_DEFAULT: list[Any] = []
|
|
28
|
-
""" Default value of the field path 'Audit Snyk config pipenv_sync_arguments' """
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
AUDIT_SNYK_PIP_INSTALL_ARGUMENTS_DEFAULT = ["--user"]
|
|
32
|
-
""" Default value of the field path 'Audit Snyk config pip_install_arguments' """
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
AUDIT_SNYK_TEST_ARGUMENTS_DEFAULT = ["--all-projects", "--fail-on=all", "--severity-threshold=medium"]
|
|
36
|
-
""" Default value of the field path 'Audit Snyk config test_arguments' """
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
class Audit(TypedDict, total=False):
|
|
40
|
-
"""
|
|
41
|
-
Audit.
|
|
42
|
-
|
|
43
|
-
The audit configuration
|
|
44
|
-
|
|
45
|
-
default:
|
|
46
|
-
outdated_versions: true
|
|
47
|
-
snyk: true
|
|
48
|
-
"""
|
|
49
|
-
|
|
50
|
-
outdated_versions: "AuditOutdatedVersions"
|
|
51
|
-
"""
|
|
52
|
-
Audit outdated versions.
|
|
53
|
-
|
|
54
|
-
Audit of outdated version
|
|
55
|
-
"""
|
|
56
|
-
|
|
57
|
-
snyk: "AuditWithSnyk"
|
|
58
|
-
"""
|
|
59
|
-
Audit with Snyk.
|
|
60
|
-
|
|
61
|
-
The audit Snyk configuration
|
|
62
|
-
|
|
63
|
-
Aggregation type: oneOf
|
|
64
|
-
Subtype: "AuditSnykConfig"
|
|
65
|
-
"""
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
AuditOutdatedVersions = bool
|
|
69
|
-
"""
|
|
70
|
-
Audit outdated versions.
|
|
71
|
-
|
|
72
|
-
Audit of outdated version
|
|
73
|
-
"""
|
|
74
5
|
|
|
75
|
-
|
|
76
|
-
class AuditSnykConfig(TypedDict, total=False):
|
|
6
|
+
class Configuration(TypedDict, total=False):
|
|
77
7
|
"""
|
|
78
|
-
|
|
8
|
+
configuration.
|
|
79
9
|
|
|
80
|
-
|
|
10
|
+
C2C CI utils configuration file
|
|
81
11
|
"""
|
|
82
12
|
|
|
83
|
-
|
|
13
|
+
print_versions: "PrintVersions"
|
|
84
14
|
"""
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
The Snyk test arguments
|
|
88
|
-
|
|
89
|
-
default:
|
|
90
|
-
- --all-projects
|
|
91
|
-
- --fail-on=all
|
|
92
|
-
- --severity-threshold=medium
|
|
93
|
-
"""
|
|
94
|
-
|
|
95
|
-
monitor_arguments: list[str]
|
|
96
|
-
"""
|
|
97
|
-
audit snyk monitor arguments.
|
|
98
|
-
|
|
99
|
-
The Snyk monitor arguments
|
|
100
|
-
|
|
101
|
-
default:
|
|
102
|
-
- --all-projects
|
|
103
|
-
"""
|
|
104
|
-
|
|
105
|
-
fix_arguments: list[str]
|
|
106
|
-
"""
|
|
107
|
-
audit snyk fix arguments.
|
|
108
|
-
|
|
109
|
-
The Snyk fix arguments
|
|
110
|
-
|
|
111
|
-
default:
|
|
112
|
-
- --all-projects
|
|
113
|
-
"""
|
|
114
|
-
|
|
115
|
-
fix_github_create_pull_request_arguments: list[str]
|
|
116
|
-
"""
|
|
117
|
-
audit snyk fix pull request arguments.
|
|
118
|
-
|
|
119
|
-
The Snyk fix pull request extra arguments
|
|
120
|
-
|
|
121
|
-
default:
|
|
122
|
-
- --fill
|
|
123
|
-
- --label=dependencies
|
|
124
|
-
"""
|
|
125
|
-
|
|
126
|
-
pip_install_arguments: list[str]
|
|
127
|
-
"""
|
|
128
|
-
audit snyk pip install arguments.
|
|
129
|
-
|
|
130
|
-
The Snyk pip install arguments
|
|
131
|
-
|
|
132
|
-
default:
|
|
133
|
-
- --user
|
|
134
|
-
"""
|
|
135
|
-
|
|
136
|
-
pipenv_sync_arguments: list[str]
|
|
137
|
-
"""
|
|
138
|
-
audit snyk pipenv sync arguments.
|
|
139
|
-
|
|
140
|
-
The Snyk pipenv sync arguments
|
|
15
|
+
Print versions.
|
|
141
16
|
|
|
142
|
-
|
|
143
|
-
[]
|
|
17
|
+
The print versions configuration
|
|
144
18
|
"""
|
|
145
19
|
|
|
146
|
-
|
|
20
|
+
publish: "Publish"
|
|
147
21
|
"""
|
|
148
|
-
|
|
22
|
+
Publish.
|
|
149
23
|
|
|
150
|
-
The
|
|
24
|
+
The publishing configurations
|
|
151
25
|
|
|
152
26
|
default:
|
|
153
|
-
|
|
27
|
+
docker:
|
|
28
|
+
images: <auto-detected>
|
|
29
|
+
helm:
|
|
30
|
+
folders: <auto-detected>
|
|
31
|
+
versions:
|
|
32
|
+
- version_tag
|
|
33
|
+
pypi:
|
|
34
|
+
packages: <auto-detected>
|
|
35
|
+
versions:
|
|
36
|
+
- version_tag
|
|
154
37
|
"""
|
|
155
38
|
|
|
156
|
-
|
|
157
|
-
AuditWithSnyk = Union["AuditSnykConfig", bool]
|
|
158
|
-
"""
|
|
159
|
-
Audit with Snyk.
|
|
160
|
-
|
|
161
|
-
The audit Snyk configuration
|
|
162
|
-
|
|
163
|
-
Aggregation type: oneOf
|
|
164
|
-
Subtype: "AuditSnykConfig"
|
|
165
|
-
"""
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
CODESPELL_ARGUMENTS_DEFAULT = ["--quiet-level=2", "--check-filenames", "--ignore-words-list=ro"]
|
|
169
|
-
""" Default value of the field path 'Codespell arguments' """
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
CODESPELL_DICTIONARIES_DEFAULT = ["clear", "rare", "informal", "code", "names", "en-GB_to_en-US"]
|
|
173
|
-
""" Default value of the field path 'Codespell internal_dictionaries' """
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
CODESPELL_IGNORE_REGULAR_EXPRESSION_DEFAULT = ["(.*/)?poetry\\.lock", "(.*/)?package-lock\\.json"]
|
|
177
|
-
""" Default value of the field path 'Codespell ignore_re' """
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
class Codespell(TypedDict, total=False):
|
|
39
|
+
version: "Version"
|
|
181
40
|
"""
|
|
182
|
-
|
|
41
|
+
Version.
|
|
183
42
|
|
|
184
|
-
The
|
|
43
|
+
The version configurations
|
|
185
44
|
"""
|
|
186
45
|
|
|
187
|
-
|
|
46
|
+
k8s: "K8SConfiguration"
|
|
188
47
|
"""
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
List of argument that will be added to the codespell command
|
|
48
|
+
K8s configuration.
|
|
192
49
|
|
|
193
50
|
default:
|
|
194
|
-
|
|
195
|
-
- rare
|
|
196
|
-
- informal
|
|
197
|
-
- code
|
|
198
|
-
- names
|
|
199
|
-
- en-GB_to_en-US
|
|
200
|
-
"""
|
|
201
|
-
|
|
202
|
-
arguments: list[str]
|
|
51
|
+
{}
|
|
203
52
|
"""
|
|
204
|
-
codespell arguments.
|
|
205
|
-
|
|
206
|
-
List of argument that will be added to the codespell command
|
|
207
53
|
|
|
208
|
-
|
|
209
|
-
- --quiet-level=2
|
|
210
|
-
- --check-filenames
|
|
211
|
-
- --ignore-words-list=ro
|
|
54
|
+
dpkg: "Dpkg"
|
|
212
55
|
"""
|
|
56
|
+
dpkg.
|
|
213
57
|
|
|
214
|
-
|
|
215
|
-
r"""
|
|
216
|
-
codespell ignore regular expression.
|
|
217
|
-
|
|
218
|
-
List of regular expression that should be ignored
|
|
219
|
-
|
|
220
|
-
default:
|
|
221
|
-
- (.*/)?poetry\.lock
|
|
222
|
-
- (.*/)?package-lock\.json
|
|
58
|
+
The configuration use t manage the dpkg packages
|
|
223
59
|
"""
|
|
224
60
|
|
|
225
61
|
|
|
226
|
-
# configuration.
|
|
227
|
-
#
|
|
228
|
-
# C2C CI utils configuration file
|
|
229
|
-
Configuration = TypedDict(
|
|
230
|
-
"Configuration",
|
|
231
|
-
{
|
|
232
|
-
# Print versions.
|
|
233
|
-
#
|
|
234
|
-
# The print versions configuration
|
|
235
|
-
"print_versions": "PrintVersions",
|
|
236
|
-
# Codespell.
|
|
237
|
-
#
|
|
238
|
-
# The codespell check configuration
|
|
239
|
-
"codespell": "Codespell",
|
|
240
|
-
# Audit.
|
|
241
|
-
#
|
|
242
|
-
# The audit configuration
|
|
243
|
-
#
|
|
244
|
-
# default:
|
|
245
|
-
# outdated_versions: true
|
|
246
|
-
# snyk: true
|
|
247
|
-
"audit": "Audit",
|
|
248
|
-
# Pull request checks.
|
|
249
|
-
#
|
|
250
|
-
# The PR check configuration
|
|
251
|
-
#
|
|
252
|
-
# default:
|
|
253
|
-
# add_issue_link: true
|
|
254
|
-
# commits_messages: true
|
|
255
|
-
# commits_spell: true
|
|
256
|
-
# pull_request_labels: true
|
|
257
|
-
# pull_request_spell: true
|
|
258
|
-
"pr-checks": "PullRequestChecks",
|
|
259
|
-
# Publish.
|
|
260
|
-
#
|
|
261
|
-
# The publishing configurations
|
|
262
|
-
#
|
|
263
|
-
# default:
|
|
264
|
-
# docker:
|
|
265
|
-
# images: <auto-detected>
|
|
266
|
-
# helm:
|
|
267
|
-
# folders: <auto-detected>
|
|
268
|
-
# versions:
|
|
269
|
-
# - version_tag
|
|
270
|
-
# pypi:
|
|
271
|
-
# packages: <auto-detected>
|
|
272
|
-
# versions:
|
|
273
|
-
# - version_tag
|
|
274
|
-
"publish": "Publish",
|
|
275
|
-
# Version.
|
|
276
|
-
#
|
|
277
|
-
# The version configurations
|
|
278
|
-
"version": "Version",
|
|
279
|
-
# K8s configuration.
|
|
280
|
-
#
|
|
281
|
-
# default:
|
|
282
|
-
# {}
|
|
283
|
-
"k8s": "K8SConfiguration",
|
|
284
|
-
# dpkg.
|
|
285
|
-
#
|
|
286
|
-
# The configuration use t manage the dpkg packages
|
|
287
|
-
"dpkg": "Dpkg",
|
|
288
|
-
},
|
|
289
|
-
total=False,
|
|
290
|
-
)
|
|
291
|
-
|
|
292
|
-
|
|
293
62
|
DB_CONFIGURATION_DEFAULT: dict[str, Any] = {}
|
|
294
63
|
""" Default value of the field path 'K8s configuration db' """
|
|
295
64
|
|
|
@@ -313,49 +82,49 @@ DOCKER_REPOSITORY_DEFAULT = {
|
|
|
313
82
|
""" Default value of the field path 'Publish Docker config repository' """
|
|
314
83
|
|
|
315
84
|
|
|
316
|
-
# DB configuration.
|
|
317
|
-
#
|
|
318
|
-
# Database configuration
|
|
319
|
-
#
|
|
320
|
-
# default:
|
|
321
|
-
# {}
|
|
85
|
+
# | DB configuration.
|
|
86
|
+
# |
|
|
87
|
+
# | Database configuration
|
|
88
|
+
# |
|
|
89
|
+
# | default:
|
|
90
|
+
# | {}
|
|
322
91
|
DbConfiguration = TypedDict(
|
|
323
92
|
"DbConfiguration",
|
|
324
93
|
{
|
|
325
|
-
# K8S DB chart options.
|
|
326
|
-
#
|
|
327
|
-
# default:
|
|
328
|
-
# auth.postgresPassword: mySuperTestingPassword
|
|
329
|
-
# persistence.enabled: 'false'
|
|
330
|
-
# tls.autoGenerated: 'true'
|
|
331
|
-
# tls.enabled: 'true'
|
|
332
|
-
# volumePermissions.enabled: 'true'
|
|
94
|
+
# | K8S DB chart options.
|
|
95
|
+
# |
|
|
96
|
+
# | default:
|
|
97
|
+
# | auth.postgresPassword: mySuperTestingPassword
|
|
98
|
+
# | persistence.enabled: 'false'
|
|
99
|
+
# | tls.autoGenerated: 'true'
|
|
100
|
+
# | tls.enabled: 'true'
|
|
101
|
+
# | volumePermissions.enabled: 'true'
|
|
333
102
|
"chart-options": dict[str, str],
|
|
334
103
|
},
|
|
335
104
|
total=False,
|
|
336
105
|
)
|
|
337
106
|
|
|
338
107
|
|
|
339
|
-
# dispatch config.
|
|
340
|
-
#
|
|
341
|
-
# Send a dispatch event to an other repository
|
|
342
|
-
#
|
|
343
|
-
# default:
|
|
344
|
-
# {}
|
|
108
|
+
# | dispatch config.
|
|
109
|
+
# |
|
|
110
|
+
# | Send a dispatch event to an other repository
|
|
111
|
+
# |
|
|
112
|
+
# | default:
|
|
113
|
+
# | {}
|
|
345
114
|
DispatchConfig = TypedDict(
|
|
346
115
|
"DispatchConfig",
|
|
347
116
|
{
|
|
348
|
-
# Docker dispatch repository.
|
|
349
|
-
#
|
|
350
|
-
# The repository name to be triggered
|
|
351
|
-
#
|
|
352
|
-
# default: camptocamp/argocd-gs-gmf-apps
|
|
117
|
+
# | Docker dispatch repository.
|
|
118
|
+
# |
|
|
119
|
+
# | The repository name to be triggered
|
|
120
|
+
# |
|
|
121
|
+
# | default: camptocamp/argocd-gs-gmf-apps
|
|
353
122
|
"repository": str,
|
|
354
|
-
# Docker dispatch event type.
|
|
355
|
-
#
|
|
356
|
-
# The event type to be triggered
|
|
357
|
-
#
|
|
358
|
-
# default: image-update
|
|
123
|
+
# | Docker dispatch event type.
|
|
124
|
+
# |
|
|
125
|
+
# | The event type to be triggered
|
|
126
|
+
# |
|
|
127
|
+
# | default: image-update
|
|
359
128
|
"event-type": str,
|
|
360
129
|
},
|
|
361
130
|
total=False,
|
|
@@ -384,22 +153,22 @@ class Dpkg(TypedDict, total=False):
|
|
|
384
153
|
"""
|
|
385
154
|
|
|
386
155
|
|
|
387
|
-
# K3d configuration.
|
|
388
|
-
#
|
|
389
|
-
# default:
|
|
390
|
-
# {}
|
|
156
|
+
# | K3d configuration.
|
|
157
|
+
# |
|
|
158
|
+
# | default:
|
|
159
|
+
# | {}
|
|
391
160
|
K3DConfiguration = TypedDict(
|
|
392
161
|
"K3DConfiguration",
|
|
393
162
|
{
|
|
394
|
-
# K3D install commands.
|
|
395
|
-
#
|
|
396
|
-
# default:
|
|
397
|
-
# - - k3d
|
|
398
|
-
# - cluster
|
|
399
|
-
# - create
|
|
400
|
-
# - test-cluster
|
|
401
|
-
# - --no-lb
|
|
402
|
-
# - --no-rollback
|
|
163
|
+
# | K3D install commands.
|
|
164
|
+
# |
|
|
165
|
+
# | default:
|
|
166
|
+
# | - - k3d
|
|
167
|
+
# | - cluster
|
|
168
|
+
# | - create
|
|
169
|
+
# | - test-cluster
|
|
170
|
+
# | - --no-lb
|
|
171
|
+
# | - --no-rollback
|
|
403
172
|
"install-commands": list[list[str]],
|
|
404
173
|
},
|
|
405
174
|
total=False,
|
|
@@ -456,18 +225,15 @@ K8S_DB_CHART_OPTIONS_DEFAULT = {
|
|
|
456
225
|
|
|
457
226
|
|
|
458
227
|
PRINT_VERSIONS_VERSIONS_DEFAULT = [
|
|
459
|
-
{"name": "c2cciutils", "cmd": ["c2cciutils", "--version"]},
|
|
460
228
|
{"name": "python", "cmd": ["python3", "--version"]},
|
|
461
229
|
{"name": "pip", "cmd": ["python3", "-m", "pip", "--version"]},
|
|
462
|
-
{"name": "twine", "cmd": ["twine", "--version"]},
|
|
463
230
|
{"name": "node", "prefix": "node ", "cmd": ["node", "--version"]},
|
|
464
231
|
{"name": "npm", "prefix": "npm ", "cmd": ["npm", "--version"]},
|
|
465
|
-
{"name": "make", "cmd": ["make", "--version"]
|
|
232
|
+
{"name": "make", "cmd": ["make", "--version"]},
|
|
466
233
|
{"name": "docker", "cmd": ["docker", "--version"]},
|
|
467
|
-
{"name": "docker
|
|
234
|
+
{"name": "docker compose", "cmd": ["docker", "compose", "version"]},
|
|
468
235
|
{"name": "java", "cmd": ["java", "-version"]},
|
|
469
|
-
{"name": "
|
|
470
|
-
{"name": "helm", "cmd": ["helm", "version"]},
|
|
236
|
+
{"name": "helm", "cmd": ["helm", "version"], "prefix": "HELM: "},
|
|
471
237
|
]
|
|
472
238
|
""" Default value of the field path 'Print versions versions' """
|
|
473
239
|
|
|
@@ -528,48 +294,6 @@ PUBLISH_PYPI_DEFAULT: dict[str, Any] = {}
|
|
|
528
294
|
""" Default value of the field path 'publish_pypi' """
|
|
529
295
|
|
|
530
296
|
|
|
531
|
-
PULL_REQUEST_CHECKS_COMMITS_MESSAGES_FIRST_CAPITAL_DEFAULT = True
|
|
532
|
-
""" Default value of the field path 'pull request checks commits messages configuration check_first_capital' """
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
PULL_REQUEST_CHECKS_COMMITS_MESSAGES_FIXUP_DEFAULT = True
|
|
536
|
-
""" Default value of the field path 'pull request checks commits messages configuration check_fixup' """
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
PULL_REQUEST_CHECKS_COMMITS_MESSAGES_MIN_HEAD_LENGTH_DEFAULT = 5
|
|
540
|
-
""" Default value of the field path 'pull request checks commits messages configuration min_head_length' """
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
PULL_REQUEST_CHECKS_COMMITS_MESSAGES_NO_MERGE_COMMITS_DEFAULT = True
|
|
544
|
-
""" Default value of the field path 'pull request checks commits messages configuration check_no_merge_commits' """
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
PULL_REQUEST_CHECKS_COMMITS_MESSAGES_NO_OWN_REVERT_DEFAULT = True
|
|
548
|
-
""" Default value of the field path 'pull request checks commits messages configuration check_no_own_revert' """
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
PULL_REQUEST_CHECKS_COMMITS_MESSAGES_ONLY_HEAD_DEFAULT = True
|
|
552
|
-
""" Default value of the field path 'pull request checks commits spelling configuration only_head' """
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
PULL_REQUEST_CHECKS_COMMITS_MESSAGES_SQUASH_DEFAULT = True
|
|
556
|
-
""" Default value of the field path 'pull request checks commits messages configuration check_squash' """
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
PULL_REQUEST_CHECKS_DEFAULT = {
|
|
560
|
-
"commits_messages": True,
|
|
561
|
-
"commits_spell": True,
|
|
562
|
-
"pull_request_spell": True,
|
|
563
|
-
"pull_request_labels": True,
|
|
564
|
-
"add_issue_link": True,
|
|
565
|
-
}
|
|
566
|
-
""" Default value of the field path 'configuration pr-checks' """
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
PULL_REQUEST_CHECKS_ONLY_HEAD_DEFAULT = True
|
|
570
|
-
""" Default value of the field path 'pull request checks pull request spelling configuration only_head' """
|
|
571
|
-
|
|
572
|
-
|
|
573
297
|
class PrintVersions(TypedDict, total=False):
|
|
574
298
|
"""
|
|
575
299
|
Print versions.
|
|
@@ -582,10 +306,6 @@ class PrintVersions(TypedDict, total=False):
|
|
|
582
306
|
Print versions versions.
|
|
583
307
|
|
|
584
308
|
default:
|
|
585
|
-
- cmd:
|
|
586
|
-
- c2cciutils
|
|
587
|
-
- --version
|
|
588
|
-
name: c2cciutils
|
|
589
309
|
- cmd:
|
|
590
310
|
- python3
|
|
591
311
|
- --version
|
|
@@ -596,10 +316,6 @@ class PrintVersions(TypedDict, total=False):
|
|
|
596
316
|
- pip
|
|
597
317
|
- --version
|
|
598
318
|
name: pip
|
|
599
|
-
- cmd:
|
|
600
|
-
- twine
|
|
601
|
-
- --version
|
|
602
|
-
name: twine
|
|
603
319
|
- cmd:
|
|
604
320
|
- node
|
|
605
321
|
- --version
|
|
@@ -614,27 +330,24 @@ class PrintVersions(TypedDict, total=False):
|
|
|
614
330
|
- make
|
|
615
331
|
- --version
|
|
616
332
|
name: make
|
|
617
|
-
prefix: 'make '
|
|
618
333
|
- cmd:
|
|
619
334
|
- docker
|
|
620
335
|
- --version
|
|
621
336
|
name: docker
|
|
622
337
|
- cmd:
|
|
623
|
-
- docker
|
|
624
|
-
-
|
|
625
|
-
|
|
338
|
+
- docker
|
|
339
|
+
- compose
|
|
340
|
+
- version
|
|
341
|
+
name: docker compose
|
|
626
342
|
- cmd:
|
|
627
343
|
- java
|
|
628
344
|
- -version
|
|
629
345
|
name: java
|
|
630
|
-
- cmd:
|
|
631
|
-
- kubectl
|
|
632
|
-
- version
|
|
633
|
-
name: kubectl
|
|
634
346
|
- cmd:
|
|
635
347
|
- helm
|
|
636
348
|
- version
|
|
637
349
|
name: helm
|
|
350
|
+
prefix: 'HELM: '
|
|
638
351
|
"""
|
|
639
352
|
|
|
640
353
|
|
|
@@ -925,190 +638,6 @@ class PublishPypiPackage(TypedDict, total=False):
|
|
|
925
638
|
""" The command used to do the build """
|
|
926
639
|
|
|
927
640
|
|
|
928
|
-
class PullRequestChecks(TypedDict, total=False):
|
|
929
|
-
"""
|
|
930
|
-
Pull request checks.
|
|
931
|
-
|
|
932
|
-
The PR check configuration
|
|
933
|
-
|
|
934
|
-
default:
|
|
935
|
-
add_issue_link: true
|
|
936
|
-
commits_messages: true
|
|
937
|
-
commits_spell: true
|
|
938
|
-
pull_request_labels: true
|
|
939
|
-
pull_request_spell: true
|
|
940
|
-
"""
|
|
941
|
-
|
|
942
|
-
commits_messages: "PullRequestChecksCommitsMessages"
|
|
943
|
-
"""
|
|
944
|
-
pull request checks commits messages.
|
|
945
|
-
|
|
946
|
-
Check the pull request commits messages
|
|
947
|
-
|
|
948
|
-
Aggregation type: oneOf
|
|
949
|
-
Subtype: "PullRequestChecksCommitsMessagesConfiguration"
|
|
950
|
-
"""
|
|
951
|
-
|
|
952
|
-
commits_spell: "PullRequestChecksCommitsSpelling"
|
|
953
|
-
"""
|
|
954
|
-
pull request checks commits spelling.
|
|
955
|
-
|
|
956
|
-
Aggregation type: oneOf
|
|
957
|
-
Subtype: "PullRequestChecksCommitsSpellingConfiguration"
|
|
958
|
-
"""
|
|
959
|
-
|
|
960
|
-
pull_request_spell: "PullRequestChecksPullRequestSpelling"
|
|
961
|
-
"""
|
|
962
|
-
pull request checks pull request spelling.
|
|
963
|
-
|
|
964
|
-
Aggregation type: oneOf
|
|
965
|
-
Subtype: "PullRequestChecksPullRequestSpellingConfiguration"
|
|
966
|
-
"""
|
|
967
|
-
|
|
968
|
-
pull_request_labels: "PullRequestChecksRequestLabels"
|
|
969
|
-
"""
|
|
970
|
-
pull request checks request labels.
|
|
971
|
-
|
|
972
|
-
According the create changelog configuration
|
|
973
|
-
"""
|
|
974
|
-
|
|
975
|
-
add_issue_link: "PullRequestChecksAddIssueLink"
|
|
976
|
-
""" pull request checks add issue link. """
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
PullRequestChecksAddIssueLink = bool
|
|
980
|
-
""" pull request checks add issue link. """
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
PullRequestChecksCommitsMessages = Union["PullRequestChecksCommitsMessagesConfiguration", bool]
|
|
984
|
-
"""
|
|
985
|
-
pull request checks commits messages.
|
|
986
|
-
|
|
987
|
-
Check the pull request commits messages
|
|
988
|
-
|
|
989
|
-
Aggregation type: oneOf
|
|
990
|
-
Subtype: "PullRequestChecksCommitsMessagesConfiguration"
|
|
991
|
-
"""
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
class PullRequestChecksCommitsMessagesConfiguration(TypedDict, total=False):
|
|
995
|
-
"""
|
|
996
|
-
pull request checks commits messages configuration.
|
|
997
|
-
|
|
998
|
-
The commit message check configuration
|
|
999
|
-
"""
|
|
1000
|
-
|
|
1001
|
-
check_fixup: bool
|
|
1002
|
-
"""
|
|
1003
|
-
pull request checks commits messages fixup.
|
|
1004
|
-
|
|
1005
|
-
Check that we don't have one fixup commit in the pull request
|
|
1006
|
-
|
|
1007
|
-
default: True
|
|
1008
|
-
"""
|
|
1009
|
-
|
|
1010
|
-
check_squash: bool
|
|
1011
|
-
"""
|
|
1012
|
-
pull request checks commits messages squash.
|
|
1013
|
-
|
|
1014
|
-
Check that we don't have one squash commit in the pull request
|
|
1015
|
-
|
|
1016
|
-
default: True
|
|
1017
|
-
"""
|
|
1018
|
-
|
|
1019
|
-
check_first_capital: bool
|
|
1020
|
-
"""
|
|
1021
|
-
pull request checks commits messages first capital.
|
|
1022
|
-
|
|
1023
|
-
Check that the all the commits message starts with a capital letter
|
|
1024
|
-
|
|
1025
|
-
default: True
|
|
1026
|
-
"""
|
|
1027
|
-
|
|
1028
|
-
min_head_length: int
|
|
1029
|
-
"""
|
|
1030
|
-
pull request checks commits messages min head length.
|
|
1031
|
-
|
|
1032
|
-
Check that the commits message head is at least this long, use 0 to disable
|
|
1033
|
-
|
|
1034
|
-
default: 5
|
|
1035
|
-
"""
|
|
1036
|
-
|
|
1037
|
-
check_no_merge_commits: bool
|
|
1038
|
-
"""
|
|
1039
|
-
pull request checks commits messages no merge commits.
|
|
1040
|
-
|
|
1041
|
-
Check that we don't have merge commits in the pull request
|
|
1042
|
-
|
|
1043
|
-
default: True
|
|
1044
|
-
"""
|
|
1045
|
-
|
|
1046
|
-
check_no_own_revert: bool
|
|
1047
|
-
"""
|
|
1048
|
-
pull request checks commits messages no own revert.
|
|
1049
|
-
|
|
1050
|
-
Check that we don't have reverted one of our commits in the pull request
|
|
1051
|
-
|
|
1052
|
-
default: True
|
|
1053
|
-
"""
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
PullRequestChecksCommitsSpelling = Union["PullRequestChecksCommitsSpellingConfiguration", bool]
|
|
1057
|
-
"""
|
|
1058
|
-
pull request checks commits spelling.
|
|
1059
|
-
|
|
1060
|
-
Aggregation type: oneOf
|
|
1061
|
-
Subtype: "PullRequestChecksCommitsSpellingConfiguration"
|
|
1062
|
-
"""
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
class PullRequestChecksCommitsSpellingConfiguration(TypedDict, total=False):
|
|
1066
|
-
"""
|
|
1067
|
-
pull request checks commits spelling configuration.
|
|
1068
|
-
|
|
1069
|
-
Configuration used to check the spelling of the commits
|
|
1070
|
-
"""
|
|
1071
|
-
|
|
1072
|
-
only_head: bool
|
|
1073
|
-
"""
|
|
1074
|
-
pull request checks commits messages only head.
|
|
1075
|
-
|
|
1076
|
-
default: True
|
|
1077
|
-
"""
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
PullRequestChecksPullRequestSpelling = Union["PullRequestChecksPullRequestSpellingConfiguration", bool]
|
|
1081
|
-
"""
|
|
1082
|
-
pull request checks pull request spelling.
|
|
1083
|
-
|
|
1084
|
-
Aggregation type: oneOf
|
|
1085
|
-
Subtype: "PullRequestChecksPullRequestSpellingConfiguration"
|
|
1086
|
-
"""
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
class PullRequestChecksPullRequestSpellingConfiguration(TypedDict, total=False):
|
|
1090
|
-
"""
|
|
1091
|
-
pull request checks pull request spelling configuration.
|
|
1092
|
-
|
|
1093
|
-
Configuration used to check the spelling of the title and body of the pull request
|
|
1094
|
-
"""
|
|
1095
|
-
|
|
1096
|
-
only_head: bool
|
|
1097
|
-
"""
|
|
1098
|
-
pull request checks only head.
|
|
1099
|
-
|
|
1100
|
-
default: True
|
|
1101
|
-
"""
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
PullRequestChecksRequestLabels = bool
|
|
1105
|
-
"""
|
|
1106
|
-
pull request checks request labels.
|
|
1107
|
-
|
|
1108
|
-
According the create changelog configuration
|
|
1109
|
-
"""
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
641
|
class Version(TypedDict, total=False):
|
|
1113
642
|
"""
|
|
1114
643
|
Version.
|
|
@@ -1190,7 +719,7 @@ default:
|
|
|
1190
719
|
|
|
1191
720
|
|
|
1192
721
|
class _PublishDockerConfigSnyk(TypedDict, total=False):
|
|
1193
|
-
"""Checks the published images with Snyk"""
|
|
722
|
+
"""Checks the published images with Snyk."""
|
|
1194
723
|
|
|
1195
724
|
monitor_args: Union["_PublishDockerSnykMonitorArgsOneof0", "_PublishDockerSnykMonitorArgsOneof1"]
|
|
1196
725
|
"""
|
|
@@ -1265,9 +794,9 @@ default:
|
|
|
1265
794
|
_VersionTransformItem = TypedDict(
|
|
1266
795
|
"_VersionTransformItem",
|
|
1267
796
|
{
|
|
1268
|
-
# The from regular expression
|
|
797
|
+
# | The from regular expression
|
|
1269
798
|
"from": str,
|
|
1270
|
-
# The expand regular expression: https://docs.python.org/3/library/re.html#re.Match.expand
|
|
799
|
+
# | The expand regular expression: https://docs.python.org/3/library/re.html#re.Match.expand
|
|
1271
800
|
"to": str,
|
|
1272
801
|
},
|
|
1273
802
|
total=False,
|