c2cciutils 1.7.0.dev208__tar.gz → 1.7.0.dev209__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.
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/PKG-INFO +1 -1
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/package-lock.json +77 -61
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/pyproject.toml +1 -1
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/setup.py +1 -1
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/LICENSE +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/README.md +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/__init__.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/applications-versions.yaml +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/applications.yaml +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/applications_definition.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/audit.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/branches.graphql +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/commits.graphql +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/configuration.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/default_branch.graphql +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/env.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/lib/docker.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/package.json +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/pr_checks.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/publish.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/schema-applications.json +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/schema.json +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/__init__.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/audit.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/clean.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/docker_logs.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/docker_versions_gen.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/docker_versions_update.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/download_applications.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/env.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/k8s/__init__.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/k8s/db.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/k8s/install.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/k8s/logs.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/k8s/wait.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/main.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/pin_pipenv.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/pr_checks.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/publish.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/trigger_image_update.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/version.py +0 -0
- {c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/security.py +0 -0
|
@@ -12,38 +12,41 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"node_modules/@sentry-internal/tracing": {
|
|
15
|
-
"version": "7.
|
|
16
|
-
"resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.
|
|
17
|
-
"integrity": "sha512-
|
|
15
|
+
"version": "7.116.0",
|
|
16
|
+
"resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.116.0.tgz",
|
|
17
|
+
"integrity": "sha512-y5ppEmoOlfr77c/HqsEXR72092qmGYS4QE5gSz5UZFn9CiinEwGfEorcg2xIrrCuU7Ry/ZU2VLz9q3xd04drRA==",
|
|
18
|
+
"license": "MIT",
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@sentry/core": "7.
|
|
20
|
-
"@sentry/types": "7.
|
|
21
|
-
"@sentry/utils": "7.
|
|
20
|
+
"@sentry/core": "7.116.0",
|
|
21
|
+
"@sentry/types": "7.116.0",
|
|
22
|
+
"@sentry/utils": "7.116.0"
|
|
22
23
|
},
|
|
23
24
|
"engines": {
|
|
24
25
|
"node": ">=8"
|
|
25
26
|
}
|
|
26
27
|
},
|
|
27
28
|
"node_modules/@sentry/core": {
|
|
28
|
-
"version": "7.
|
|
29
|
-
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.
|
|
30
|
-
"integrity": "sha512-
|
|
29
|
+
"version": "7.116.0",
|
|
30
|
+
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.116.0.tgz",
|
|
31
|
+
"integrity": "sha512-J6Wmjjx+o7RwST0weTU1KaKUAlzbc8MGkJV1rcHM9xjNTWTva+nrcCM3vFBagnk2Gm/zhwv3h0PvWEqVyp3U1Q==",
|
|
32
|
+
"license": "MIT",
|
|
31
33
|
"dependencies": {
|
|
32
|
-
"@sentry/types": "7.
|
|
33
|
-
"@sentry/utils": "7.
|
|
34
|
+
"@sentry/types": "7.116.0",
|
|
35
|
+
"@sentry/utils": "7.116.0"
|
|
34
36
|
},
|
|
35
37
|
"engines": {
|
|
36
38
|
"node": ">=8"
|
|
37
39
|
}
|
|
38
40
|
},
|
|
39
41
|
"node_modules/@sentry/integrations": {
|
|
40
|
-
"version": "7.
|
|
41
|
-
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.
|
|
42
|
-
"integrity": "sha512-
|
|
42
|
+
"version": "7.116.0",
|
|
43
|
+
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.116.0.tgz",
|
|
44
|
+
"integrity": "sha512-UZb60gaF+7veh1Yv79RiGvgGYOnU6xA97H+hI6tKgc1uT20YpItO4X56Vhp0lvyEyUGFZzBRRH1jpMDPNGPkqw==",
|
|
45
|
+
"license": "MIT",
|
|
43
46
|
"dependencies": {
|
|
44
|
-
"@sentry/core": "7.
|
|
45
|
-
"@sentry/types": "7.
|
|
46
|
-
"@sentry/utils": "7.
|
|
47
|
+
"@sentry/core": "7.116.0",
|
|
48
|
+
"@sentry/types": "7.116.0",
|
|
49
|
+
"@sentry/utils": "7.116.0",
|
|
47
50
|
"localforage": "^1.8.1"
|
|
48
51
|
},
|
|
49
52
|
"engines": {
|
|
@@ -51,34 +54,37 @@
|
|
|
51
54
|
}
|
|
52
55
|
},
|
|
53
56
|
"node_modules/@sentry/node": {
|
|
54
|
-
"version": "7.
|
|
55
|
-
"resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.
|
|
56
|
-
"integrity": "sha512-
|
|
57
|
+
"version": "7.116.0",
|
|
58
|
+
"resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.116.0.tgz",
|
|
59
|
+
"integrity": "sha512-HB/4TrJWbnu6swNzkid+MlwzLwY/D/klGt3R0aatgrgWPo2jJm6bSl4LUT39Cr2eg5I1gsREQtXE2mAlC6gm8w==",
|
|
60
|
+
"license": "MIT",
|
|
57
61
|
"dependencies": {
|
|
58
|
-
"@sentry-internal/tracing": "7.
|
|
59
|
-
"@sentry/core": "7.
|
|
60
|
-
"@sentry/integrations": "7.
|
|
61
|
-
"@sentry/types": "7.
|
|
62
|
-
"@sentry/utils": "7.
|
|
62
|
+
"@sentry-internal/tracing": "7.116.0",
|
|
63
|
+
"@sentry/core": "7.116.0",
|
|
64
|
+
"@sentry/integrations": "7.116.0",
|
|
65
|
+
"@sentry/types": "7.116.0",
|
|
66
|
+
"@sentry/utils": "7.116.0"
|
|
63
67
|
},
|
|
64
68
|
"engines": {
|
|
65
69
|
"node": ">=8"
|
|
66
70
|
}
|
|
67
71
|
},
|
|
68
72
|
"node_modules/@sentry/types": {
|
|
69
|
-
"version": "7.
|
|
70
|
-
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.
|
|
71
|
-
"integrity": "sha512-
|
|
73
|
+
"version": "7.116.0",
|
|
74
|
+
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.116.0.tgz",
|
|
75
|
+
"integrity": "sha512-QCCvG5QuQrwgKzV11lolNQPP2k67Q6HHD9vllZ/C4dkxkjoIym8Gy+1OgAN3wjsR0f/kG9o5iZyglgNpUVRapQ==",
|
|
76
|
+
"license": "MIT",
|
|
72
77
|
"engines": {
|
|
73
78
|
"node": ">=8"
|
|
74
79
|
}
|
|
75
80
|
},
|
|
76
81
|
"node_modules/@sentry/utils": {
|
|
77
|
-
"version": "7.
|
|
78
|
-
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.
|
|
79
|
-
"integrity": "sha512-
|
|
82
|
+
"version": "7.116.0",
|
|
83
|
+
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.116.0.tgz",
|
|
84
|
+
"integrity": "sha512-Vn9fcvwTq91wJvCd7WTMWozimqMi+dEZ3ie3EICELC2diONcN16ADFdzn65CQQbYwmUzRjN9EjDN2k41pKZWhQ==",
|
|
85
|
+
"license": "MIT",
|
|
80
86
|
"dependencies": {
|
|
81
|
-
"@sentry/types": "7.
|
|
87
|
+
"@sentry/types": "7.116.0"
|
|
82
88
|
},
|
|
83
89
|
"engines": {
|
|
84
90
|
"node": ">=8"
|
|
@@ -87,12 +93,14 @@
|
|
|
87
93
|
"node_modules/boolean": {
|
|
88
94
|
"version": "3.2.0",
|
|
89
95
|
"resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz",
|
|
90
|
-
"integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw=="
|
|
96
|
+
"integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==",
|
|
97
|
+
"license": "MIT"
|
|
91
98
|
},
|
|
92
99
|
"node_modules/define-data-property": {
|
|
93
100
|
"version": "1.1.4",
|
|
94
101
|
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
|
|
95
102
|
"integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
|
|
103
|
+
"license": "MIT",
|
|
96
104
|
"dependencies": {
|
|
97
105
|
"es-define-property": "^1.0.0",
|
|
98
106
|
"es-errors": "^1.3.0",
|
|
@@ -109,6 +117,7 @@
|
|
|
109
117
|
"version": "1.2.1",
|
|
110
118
|
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
|
|
111
119
|
"integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
|
|
120
|
+
"license": "MIT",
|
|
112
121
|
"dependencies": {
|
|
113
122
|
"define-data-property": "^1.0.1",
|
|
114
123
|
"has-property-descriptors": "^1.0.0",
|
|
@@ -124,12 +133,14 @@
|
|
|
124
133
|
"node_modules/detect-node": {
|
|
125
134
|
"version": "2.1.0",
|
|
126
135
|
"resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz",
|
|
127
|
-
"integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g=="
|
|
136
|
+
"integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==",
|
|
137
|
+
"license": "MIT"
|
|
128
138
|
},
|
|
129
139
|
"node_modules/es-define-property": {
|
|
130
140
|
"version": "1.0.0",
|
|
131
141
|
"resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
|
|
132
142
|
"integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
|
|
143
|
+
"license": "MIT",
|
|
133
144
|
"dependencies": {
|
|
134
145
|
"get-intrinsic": "^1.2.4"
|
|
135
146
|
},
|
|
@@ -141,6 +152,7 @@
|
|
|
141
152
|
"version": "1.3.0",
|
|
142
153
|
"resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
|
|
143
154
|
"integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
|
|
155
|
+
"license": "MIT",
|
|
144
156
|
"engines": {
|
|
145
157
|
"node": ">= 0.4"
|
|
146
158
|
}
|
|
@@ -148,12 +160,14 @@
|
|
|
148
160
|
"node_modules/es6-error": {
|
|
149
161
|
"version": "4.1.1",
|
|
150
162
|
"resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",
|
|
151
|
-
"integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg=="
|
|
163
|
+
"integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==",
|
|
164
|
+
"license": "MIT"
|
|
152
165
|
},
|
|
153
166
|
"node_modules/escape-string-regexp": {
|
|
154
167
|
"version": "4.0.0",
|
|
155
168
|
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
|
|
156
169
|
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
|
|
170
|
+
"license": "MIT",
|
|
157
171
|
"engines": {
|
|
158
172
|
"node": ">=10"
|
|
159
173
|
},
|
|
@@ -165,6 +179,7 @@
|
|
|
165
179
|
"version": "1.1.2",
|
|
166
180
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
|
167
181
|
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
|
182
|
+
"license": "MIT",
|
|
168
183
|
"funding": {
|
|
169
184
|
"url": "https://github.com/sponsors/ljharb"
|
|
170
185
|
}
|
|
@@ -173,6 +188,7 @@
|
|
|
173
188
|
"version": "1.2.4",
|
|
174
189
|
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
|
|
175
190
|
"integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
|
|
191
|
+
"license": "MIT",
|
|
176
192
|
"dependencies": {
|
|
177
193
|
"es-errors": "^1.3.0",
|
|
178
194
|
"function-bind": "^1.1.2",
|
|
@@ -191,6 +207,7 @@
|
|
|
191
207
|
"version": "3.0.0",
|
|
192
208
|
"resolved": "https://registry.npmjs.org/global-agent/-/global-agent-3.0.0.tgz",
|
|
193
209
|
"integrity": "sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==",
|
|
210
|
+
"license": "BSD-3-Clause",
|
|
194
211
|
"dependencies": {
|
|
195
212
|
"boolean": "^3.0.1",
|
|
196
213
|
"es6-error": "^4.1.1",
|
|
@@ -207,6 +224,7 @@
|
|
|
207
224
|
"version": "1.0.4",
|
|
208
225
|
"resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",
|
|
209
226
|
"integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",
|
|
227
|
+
"license": "MIT",
|
|
210
228
|
"dependencies": {
|
|
211
229
|
"define-properties": "^1.2.1",
|
|
212
230
|
"gopd": "^1.0.1"
|
|
@@ -222,6 +240,7 @@
|
|
|
222
240
|
"version": "1.0.1",
|
|
223
241
|
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
|
|
224
242
|
"integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
|
|
243
|
+
"license": "MIT",
|
|
225
244
|
"dependencies": {
|
|
226
245
|
"get-intrinsic": "^1.1.3"
|
|
227
246
|
},
|
|
@@ -233,6 +252,7 @@
|
|
|
233
252
|
"version": "1.0.2",
|
|
234
253
|
"resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
|
|
235
254
|
"integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
|
|
255
|
+
"license": "MIT",
|
|
236
256
|
"dependencies": {
|
|
237
257
|
"es-define-property": "^1.0.0"
|
|
238
258
|
},
|
|
@@ -244,6 +264,7 @@
|
|
|
244
264
|
"version": "1.0.3",
|
|
245
265
|
"resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
|
|
246
266
|
"integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
|
|
267
|
+
"license": "MIT",
|
|
247
268
|
"engines": {
|
|
248
269
|
"node": ">= 0.4"
|
|
249
270
|
},
|
|
@@ -255,6 +276,7 @@
|
|
|
255
276
|
"version": "1.0.3",
|
|
256
277
|
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
|
|
257
278
|
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
|
|
279
|
+
"license": "MIT",
|
|
258
280
|
"engines": {
|
|
259
281
|
"node": ">= 0.4"
|
|
260
282
|
},
|
|
@@ -266,6 +288,7 @@
|
|
|
266
288
|
"version": "2.0.2",
|
|
267
289
|
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
|
268
290
|
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
|
|
291
|
+
"license": "MIT",
|
|
269
292
|
"dependencies": {
|
|
270
293
|
"function-bind": "^1.1.2"
|
|
271
294
|
},
|
|
@@ -276,17 +299,20 @@
|
|
|
276
299
|
"node_modules/immediate": {
|
|
277
300
|
"version": "3.0.6",
|
|
278
301
|
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
|
|
279
|
-
"integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ=="
|
|
302
|
+
"integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==",
|
|
303
|
+
"license": "MIT"
|
|
280
304
|
},
|
|
281
305
|
"node_modules/json-stringify-safe": {
|
|
282
306
|
"version": "5.0.1",
|
|
283
307
|
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
|
|
284
|
-
"integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA=="
|
|
308
|
+
"integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",
|
|
309
|
+
"license": "ISC"
|
|
285
310
|
},
|
|
286
311
|
"node_modules/lie": {
|
|
287
312
|
"version": "3.1.1",
|
|
288
313
|
"resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",
|
|
289
314
|
"integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==",
|
|
315
|
+
"license": "MIT",
|
|
290
316
|
"dependencies": {
|
|
291
317
|
"immediate": "~3.0.5"
|
|
292
318
|
}
|
|
@@ -295,25 +321,16 @@
|
|
|
295
321
|
"version": "1.10.0",
|
|
296
322
|
"resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz",
|
|
297
323
|
"integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==",
|
|
324
|
+
"license": "Apache-2.0",
|
|
298
325
|
"dependencies": {
|
|
299
326
|
"lie": "3.1.1"
|
|
300
327
|
}
|
|
301
328
|
},
|
|
302
|
-
"node_modules/lru-cache": {
|
|
303
|
-
"version": "6.0.0",
|
|
304
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
|
305
|
-
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
|
|
306
|
-
"dependencies": {
|
|
307
|
-
"yallist": "^4.0.0"
|
|
308
|
-
},
|
|
309
|
-
"engines": {
|
|
310
|
-
"node": ">=10"
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
329
|
"node_modules/matcher": {
|
|
314
330
|
"version": "3.0.0",
|
|
315
331
|
"resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",
|
|
316
332
|
"integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==",
|
|
333
|
+
"license": "MIT",
|
|
317
334
|
"dependencies": {
|
|
318
335
|
"escape-string-regexp": "^4.0.0"
|
|
319
336
|
},
|
|
@@ -325,6 +342,7 @@
|
|
|
325
342
|
"version": "1.1.1",
|
|
326
343
|
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
|
|
327
344
|
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
|
|
345
|
+
"license": "MIT",
|
|
328
346
|
"engines": {
|
|
329
347
|
"node": ">= 0.4"
|
|
330
348
|
}
|
|
@@ -333,6 +351,7 @@
|
|
|
333
351
|
"version": "2.15.4",
|
|
334
352
|
"resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz",
|
|
335
353
|
"integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==",
|
|
354
|
+
"license": "BSD-3-Clause",
|
|
336
355
|
"dependencies": {
|
|
337
356
|
"boolean": "^3.0.1",
|
|
338
357
|
"detect-node": "^2.0.4",
|
|
@@ -346,12 +365,10 @@
|
|
|
346
365
|
}
|
|
347
366
|
},
|
|
348
367
|
"node_modules/semver": {
|
|
349
|
-
"version": "7.6.
|
|
350
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.
|
|
351
|
-
"integrity": "sha512-
|
|
352
|
-
"
|
|
353
|
-
"lru-cache": "^6.0.0"
|
|
354
|
-
},
|
|
368
|
+
"version": "7.6.2",
|
|
369
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz",
|
|
370
|
+
"integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==",
|
|
371
|
+
"license": "ISC",
|
|
355
372
|
"bin": {
|
|
356
373
|
"semver": "bin/semver.js"
|
|
357
374
|
},
|
|
@@ -362,12 +379,14 @@
|
|
|
362
379
|
"node_modules/semver-compare": {
|
|
363
380
|
"version": "1.0.0",
|
|
364
381
|
"resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",
|
|
365
|
-
"integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow=="
|
|
382
|
+
"integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==",
|
|
383
|
+
"license": "MIT"
|
|
366
384
|
},
|
|
367
385
|
"node_modules/serialize-error": {
|
|
368
386
|
"version": "7.0.1",
|
|
369
387
|
"resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz",
|
|
370
388
|
"integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==",
|
|
389
|
+
"license": "MIT",
|
|
371
390
|
"dependencies": {
|
|
372
391
|
"type-fest": "^0.13.1"
|
|
373
392
|
},
|
|
@@ -398,23 +417,20 @@
|
|
|
398
417
|
"node_modules/sprintf-js": {
|
|
399
418
|
"version": "1.1.3",
|
|
400
419
|
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",
|
|
401
|
-
"integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA=="
|
|
420
|
+
"integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",
|
|
421
|
+
"license": "BSD-3-Clause"
|
|
402
422
|
},
|
|
403
423
|
"node_modules/type-fest": {
|
|
404
424
|
"version": "0.13.1",
|
|
405
425
|
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",
|
|
406
426
|
"integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==",
|
|
427
|
+
"license": "(MIT OR CC0-1.0)",
|
|
407
428
|
"engines": {
|
|
408
429
|
"node": ">=10"
|
|
409
430
|
},
|
|
410
431
|
"funding": {
|
|
411
432
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
412
433
|
}
|
|
413
|
-
},
|
|
414
|
-
"node_modules/yallist": {
|
|
415
|
-
"version": "4.0.0",
|
|
416
|
-
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
|
417
|
-
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
|
418
434
|
}
|
|
419
435
|
}
|
|
420
436
|
}
|
|
@@ -61,7 +61,7 @@ entry_points = \
|
|
|
61
61
|
|
|
62
62
|
setup_kwargs = {
|
|
63
63
|
'name': 'c2cciutils',
|
|
64
|
-
'version': '1.7.0.
|
|
64
|
+
'version': '1.7.0.dev209',
|
|
65
65
|
'description': 'Common utilities for Camptocamp CI',
|
|
66
66
|
'long_description': '# C2C CI utils\n\n## Publishing\n\nThe main goals of C2C CI utils is to offer the commands to publish the project,\nsee the [documentation](https://github.com/camptocamp/c2cciutils/wiki/Publishing).\n\n## Changelog\n\nWhen we create a tag by default with the `changelog` workflow a release is created on GitHub, a changelog is\ngenerated and added to the release.\n\n## Security\n\nThe security is managed by the `c2cciutils-audit` command with Snyk, it will audit the dependencies of the project on every\nstabilization branches, if possible a pull request is created automatically to update the dependencies.\n\nWhen we publish a Docker image the generated image is monitored by Snyk, this means that Snyk will search\nfor all the dependencies and send the list to the Snyk web site to be monitored.\nWe also do a test of the image and log the result (This will never cause the build to fail).\n\n## Checks\n\nC2C CI utils will no more provide a tool to do a check of the project, this is replaced by `pre-commit`,\na base configuration is provided in the example project.\n\n## Pull request checks\n\nA workflow is provided to run the checks on the pull requests, it will run the `c2cciutils-pr-checks` command.\n\n- Check that the commit message and the pull request title start with a capital letter.\n- Check that there aren\'t any spelling issue in the commit message and in the pull request title.\n- Add a message to the pull request with a link to the JIRA issue if the pull request branch name starts with\n `[a-zA-Z]+-[0-9]+-` or end with `-[a-zA-Z]+-[0-9]+`.\n\n## Dependencies\n\nIn the example project there is a basic Renovate configuration, it will update the dependencies of the project.\nThere is also a workflow to add a review on the Renovate pull requests to make the auto merge working on\nrepository that required a review.\n\n## Backports\n\nA workflow is provided to backport the pull requests on the stabilization branches, it will be triggered by\nadding a label named `backport <destination_branch>` on the pull request.\n\n## Old workflows\n\nGitHub will retain all the old workflows, so we need to delete them, the `delete-old-workflows-run`\nworkflow will delete the workflows older than 500 days.\n\n## Workflows\n\nC2cciutils make easier to have those workflows in a project:\n\n- `audit.yaml`: Audit the stabilization branches of the application against vulnerabilities in the python and node dependency\n- `auto-review.yaml`: Auto review the Renovate pull requests\n- `backport.yaml`: Trigger the backports (work with labels)\n- `clean.yaml`: Clean the Docker images related on a deleted feature branch\n- `main.yaml`: Main workflow especially with the c2cciutils-checks command\n- `changelog.yaml`: Generate the changelog and create the release on GitHub\n- `delete-old-workflows-run.yaml`: Delete the old workflows\n- `pr-checks.yaml`: Run the checks on the pull requests\n\nAll the provided commands used in the workflow:\n\n- `c2cciutils`: some generic tools.\n- `c2cciutils-version`: Create a new version of the project.\n- `c2cciutils-checks`: Run the checks on the code (those checks don\'t need any project dependencies).\n- `c2cciutils-audit`: Do the audit, the main difference with checks is that it can change between runs on the same code.\n- `c2cciutils-publish`: Publish the project.\n- `c2cciutils-clean`: Delete Docker images on Docker Hub after corresponding branch have been deleted.\n\n## Utilities\n\nThe following utilities are provided:\n\n- `c2cciutils`: some generic tools.\n- `c2cciutils-download-applications`: Download the applications with version managed by Renovate, see below.\n- `c2cciutils-docker-logs`: Display the logs of the application in Docker (compose).\n- `c2cciutils-k8s-install`: Install a k3d / k3s cluster, see below.\n- `c2cciutils-k8s-logs`: Display the logs of the application in the k8s cluster, see below.\n- `c2cciutils-k8s-db`: Create a database in the k8s cluster, see below.\n- `c2cciutils-k8s-wait`: Wait that the application started correctly in the cluster, see below.\n- `c2cciutils-docker-versions-gen`: Generate the Docker package versions file (`ci/dpkg-versions.yaml`), see below.\n- `c2cciutils-pin-pipenv`: Display all the dependencies that\'s in the `Pipenv.lock` but not in the `Pipenv` to be able to pin them.\n- `c2cciutils-trigger-image-update`: Trigger the ArgoCD repository about image update on the CI (automatically done in the publishing).\n- `c2cciutils-google-calendar`: Tool to test the Google credentials for calendar API and refresh them if needed. See `c2cciutils-google-calendar -h` for more information.\n\n## New project\n\nThe content of `example-project` can be a good base for a new project.\n\n## New version\n\nRequirements: the right version (>= 1.6) of `c2cciutils` should be installed with the `version` extra.\n\nTo create a new minor version you just should run `c2cciutils-version --version=<version>`.\n\nYou are welcome to run `c2cciutils-version --help` to see what\'s it\'s done.\n\nNote that it didn\'t create a tag, you should do it manually.\n\nTo create a patch version you should just create tag.\n\n## Secrets\n\nIn the CI we need to have the following secrets::\n\n- `HAS_SECRETS` to be set to \'HAS_SECRETS\', to avoid error errors from external\n pull requests, already set globally on Camptocamp organization.\n- `GOPASS_CI_GITHUB_TOKEN` and `CI_GPG_PRIVATE_KEY` required to initialize the gopass password store,\n the secrets exists in the Camptocamp organization but not shared on all project, then you should add\n your project to the shared list.\n\n## Use locally, in the projects that use c2cciutils\n\nInstall it: `python3 -m pip install --user --requirement ci/requirements.txt`\nDry run publish: `GITHUB_REF=... c2cciutils-publish --dry-run ...`\n\n## Configuration\n\nYou can get the current configuration with `c2cciutils --get-config`, the default configuration depends on your project.\nNote that it didn\'t contain the default defined the schema and visible in the [generated documentation](./config.md).\n\nYou can override the configuration with the file `ci/config.yaml`.\n\nAt the base of the configuration you have:\n\n- `version`: Contains some regular expressions to find the versions branches and tags, and to convert them into application versions.\n- `audit`: The audit configuration, see `c2cciutils/audit.py` for more information.\n- `publish`: The publishing configuration, see `c2cciutils/publish.py` for more information.\n\nMany actions can be disabled by setting the corresponding configuration part to `False`.\n\n## SECURITY.md\n\nThe `SECURITY.md` file should contain the security policy of the repository, especially the end of\nsupport dates.\n\nFor compatibility with `c2cciutils` it should contain an array with at least the columns\n`Version` and `Supported Until`. The `Version` column will contain the concerned version.\nThe `Supported Until` will contain the date of end of support `dd/mm/yyyy`.\nIt can also contain the following sentences:\n\n- `Unsupported`: no longer supported => no audit, no rebuild.\n- `Best effort`: the support is ended, it is still rebuilt and audited, but this can be stopped without any notice.\n- `To be defined`: not yet released or the date will be set related of another project release date (like for GeoMapFish).\n\nSee also [GitHub Documentation](https://docs.github.com/en/github/managing-security-vulnerabilities/adding-a-security-policy-to-your-repository)\n\n## IDE\n\nThe IDE should be configured as:\n\n- using `black` and `isort` without any arguments,\n- using the `editorconfig` configuration.\n\n### VScode\n\n- Recommend extensions to work well with c2cciutils:\n - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) And use EditorConfig\n - [shell-format](https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format) With the configuration\n `"shellformat.flag": "-bn"`.\n - [Better TOML](https://marketplace.visualstudio.com/items?itemName=bodil.prettier-toml)\n- Other recommend extensions:\n - [hadolint](https://marketplace.visualstudio.com/items?itemName=exiasr.hadolint)\n - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)\n\nSelect a formatter:\n\n- `CTRL+MAJ+P`\n- Format document With...\n- Configure Default Formatter...\n- Select the formatter\n\n## Publishing\n\n### To pypi\n\nThe config is like this:\n\n```yaml\nversions:\n # List of kinds of versions you want to publish, that can be:\n # rebuild (specified with --type),\n # version_tag, version_branch, feature_branch, feature_tag (for pull request)\n```\n\nIt we have a `setup.py` file, we will be in legacy mode:\nWhen publishing, the version computed from arguments or `GITHUB_REF` is put in environment variable `VERSION`, thus you should use it in `setup.py`, example:\n\n```python\nVERSION = os.environ.get("VERSION", "1.0.0")\n```\n\nAlso we consider that we use `poetry` with [poetry-dynamic-versioning](https://pypi.org/project/poetry-dynamic-versioning/) to manage the version, and [poetry-plugin-tweak-dependencies-version](https://pypi.org/project/poetry-plugin-tweak-dependencies-version/) to manage the dependencies versions.\n\nExample of configuration:\n\n```toml\n[tool.poetry-dynamic-versioning]\nenable = true\nvcs = "git"\npattern = "^(?P<base>\\\\d+(\\\\.\\\\d+)*)"\nformat-jinja = """\n{%- if env.get("VERSION_TYPE") == "version_branch" -%}\n{{serialize_pep440(bump_version(base, 1 if env.get("IS_MASTER") == "TRUE" else 2), dev=distance)}}\n{%- elif distance == 0 -%}\n{{serialize_pep440(base)}}\n{%- else -%}\n{{serialize_pep440(bump_version(base), dev=distance)}}\n{%- endif -%}\n"""\n\n```\n\nNote that we can access to the environment variables `VERSION`,`VERSION_TYPE` and `IS_MASTER`.\n\nThen by default:\n\n- Tag with `1.2.3` => release `1.2.3`\n- Commit on feature branch just do a validation\n- Commit on `master` branch after the tag 1.3.0 => release `1.4.0.dev1`\n- Commit on `1.3` branch after the tag 1.3.0 => release `1.3.1.dev1`\n\nTo make it working in the `Dockerfile` you should have in the `poetry` stage:\n\n```Dockerfile\nENV POETRY_DYNAMIC_VERSIONING_BYPASS=dev\nRUN poetry export --extras=checks --extras=publish --extras=audit --output=requirements.txt \\\n && poetry export --with=dev --output=requirements-dev.txt\n```\n\nAnd in the `run` stage\n\n```Dockerfile\nARG VERSION=dev\nRUN --mount=type=cache,target=/root/.cache \\\n POETRY_DYNAMIC_VERSIONING_BYPASS=${VERSION} python3 -m pip install --disable-pip-version-check --no-deps --editable=.\n```\n\nAnd in the `Makefile`:\n\n```Makefile\nVERSION = $(strip $(shell poetry version --short))\n\n.PHONY: build\nbuild: ## Build the Docker images\n docker build --build-arg=VERSION=$(VERSION) --tag=$(GITHUB_REPOSITORY) .\n```\n\n### To Docker registry\n\nThe config is like this:\n\n```yaml\nlatest: True\nimages:\n - # The base name of the image we want to publish\n name:\nrepository:\n <internal_name>:\n # The fqdn name of the server if not Docker hub\n server:\n # List of kinds of versions you want to publish, that can be: rebuild (specified using --type),\n # version_tag, version_branch, feature_branch, feature_tag (for pull request)\n version:\n # List of tags we want to publish interpreted with `format(version=version)`\n # e.g. if you use `{version}-lite` when you publish the version `1.2.3` the source tag\n # (that should be built by the application build) is `latest-lite`, and it will be published\n # with the tag `1.2.3-lite`.\n tags:\n # If your images are published by different jobs you can separate them in different groups\n # and publish them with `c2cciutils-publish --group=<group>`\n group:\n```\n\nBy default, the last line of the `SECURITY.md` file will be published (`docker`) with the tag\n`latest`. Set `latest` to `False` to disable it.\n\nWith the `c2cciutils-clean` the images on Docker hub for `feature_branch` will be removed on branch removing.\n\n## Download applications\n\nIn case some executables or applications from GitHub releases or any other URLs are required on the CI host\nand are not handled by any dependency manager, we provide a set of tools to install them and manage upgrades\nthrough Renovate.\n\nCreate an application file (e.-g. `applications.yaml`) with:\n\n```yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/master/c2cciutils/schema-applications.json\n\n# Application from GitHub release\n<organization>/<project>:\n get-file-name: <file name present in the release>\n to-file-name: <The file name you want to create in ~/.local/bin>\n finish-command: # The command you want to run after the file is downloaded\n - - chmod # To be executable (usually required)\n - +x\n - <to-file-name>\n - - <to-file-name> # Print the version of the application\n - --version\n# Application from GitHub release in a tar file (or tar.gz)\n<organization>/<project>:\n get-file-name: <file name present in the release>\n type: tar\n tar-file-name: <The file name available in the tar file>\n to-file-name: <The file name you want to create in ~/.local/bin>\n finish-command: [...] # The command you want to run after the file is downloaded\n# Application from an URL\n<application reference name>:\n url-pattern: <The URL used to download the application>\n to-file-name: <The file name you want to create in ~/.local/bin>\n finish-command: [...] # The command you want to run after the file is downloaded\n```\n\nIn the attributes `url-pattern`, `get-file-name` you can use the following variables:\n\n- `{version}`: The version of the application present in the version file.\n- `{version_quote}`: The URL encoded version.\n- `{short_version}`: The version without the `v` prefix.\n\nThe `applications-versions.yaml` file is a map of applications and their versions.\n\nAdd in your Renovate configuration:\n\n```json5\n regexManagers: [\n {\n fileMatch: [\'^applications-versions.yaml$\'],\n matchStrings: [\n \'(?<depName>[^\\\\s]+): (?<currentValue>[^\\\\s]+) # (?<datasource>[^\\\\s]+)\',\n ],\n },\n ],\n```\n\nNow you need to call `c2cciutils-download-applications --applications-file=applications.yaml --versions-file=applications-version.yaml`\nto install required applications on CI host before using them (an already installed application is installed only if needed).\n\n## Use Renovate to trigger a new build instead of the legacy rebuild\n\nRun the command `c2cciutils-docker-versions-gen camptocamp/image[:tag]` to generate a file that is a kind of package lock of the Debian packages in the file `ci/dpkg-versions.yaml`.\n\nAdd in your renovate configuration:\n\n```javascript\n regexManagers: [\n {\n fileMatch: [\'^ci/dpkg-versions.yaml$\'],\n matchStrings: [" *(?<depName>[^\'\\\\s]+): \'?(?<currentValue>[^\'\\\\s/]*[0-9][^\'\\\\s/]*)\'?"],\n datasourceTemplate: \'repology\',\n versioningTemplate: \'loose\',\n },\n ],\n```\n\nWhen a new version of a Debian package will be available:\n\n- Renovate will automatically open a pull request to update the file `ci/dpkg-versions.yaml`.\n- And the continuous integration will build a new fresh Docker image with latest versions of all Debian packages.\n\n## Kubernetes\n\nC2cciutils provide some commands for Kubernetes.\n\nYou can define a workflow like that:\n\n```yaml\n- name: Install k3s/k3d (Kubernetes cluster)\n run: c2cciutils-k8s-install\n\n- name: Create a database to do the tests\n run: c2cciutils-k8s-db --script=<my_script>.sql\n\n- name: Install the application in the Kubernetes cluster\n run: kubectl apply -f <my_application>.yaml\n\n- name: Wait that the application is ready\n run: c2cciutils-k8s-wait\n- name: Print the application status and logs\n run: c2cciutils-k8s-logs\n if: always()\n\n- name: Uninstall the application\n run: kubectl delete -f <my_application>.yaml || true\n\n- name: Cleanup the database\n run: c2cciutils-k8s-db --cleanup\n```\n\n`c2cciutils-k8s-install` can be configured in the `ci/config.yaml` file, in section `k8s/k3d/install-commands`, default is:\n\n```yaml\n- - k3d\n cluster\n create\n test-cluster\n --no-lb\n --no-rollback\n```\n\nSee also: [K3d cluster create documentation](https://k3d.io/v4.4.8/usage/commands/k3d_cluster_create/).\n\n`c2cciutils-k8s-db` can be configured in the `ci/config.yaml` file, in section `k8s/db/chart-options`, default is:\n\n```yaml\npersistence.enabled: \'false\'\ntls.enabled: \'true\'\ntls.autoGenerated: \'true\'\npostgresqlPassword: mySuperTestingPassword\nvolumePermissions.enabled: \'true\'\n```\n\nSee also: [Parameters documentations](https://github.com/bitnami/charts/tree/master/bitnami/postgresql#parameters).\n\n## Contributing\n\nInstall the pre-commit hooks:\n\n```bash\npip install pre-commit\npre-commit install --allow-missing-config\n```\n',
|
|
67
67
|
'author': 'Camptocamp',
|
|
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
|
{c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/docker_versions_gen.py
RENAMED
|
File without changes
|
{c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/docker_versions_update.py
RENAMED
|
File without changes
|
{c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/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
|
|
File without changes
|
|
File without changes
|
{c2cciutils-1.7.0.dev208 → c2cciutils-1.7.0.dev209}/c2cciutils/scripts/trigger_image_update.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|