@eui/tools 6.14.2 → 6.14.4
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.
- package/.version.properties +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/scripts/csdr/release/app/release-app-group.js +41 -13
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.14.
|
|
1
|
+
6.14.4
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.14.4 (2023-12-04)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* add missing devops-metadata clone for group release - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([461f9978](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/461f99783dc8980b5bcf81b6c496e69a7c89bbf5))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.14.3 (2023-12-04)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* slack message per sub project in group - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([cfd3f96e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/cfd3f96e2d51171a8869bd9c6447f14fca58a8ef))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.14.2 (2023-12-04)
|
|
2
20
|
|
|
3
21
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -73,14 +73,13 @@ module.exports.run = () => {
|
|
|
73
73
|
utils.tools.logTitle('-------------------------------------------------------------');
|
|
74
74
|
utils.tools.logTitle(`Releasing new version of application "${projectsGroup}"`);
|
|
75
75
|
utils.tools.logTitle('-------------------------------------------------------------');
|
|
76
|
+
})
|
|
76
77
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
text: `:arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: Launching *${projectsGroup}* release projects group for *${envTargetGen}* environment`,
|
|
83
|
-
});
|
|
78
|
+
// *****************************************************************
|
|
79
|
+
// CLONE METADATA REPO
|
|
80
|
+
// *****************************************************************
|
|
81
|
+
.then(() => {
|
|
82
|
+
return metadataUtils.common.cloneMetadataRepo(true);
|
|
84
83
|
})
|
|
85
84
|
|
|
86
85
|
// *****************************************************************
|
|
@@ -159,6 +158,17 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
159
158
|
|
|
160
159
|
return (
|
|
161
160
|
Promise.resolve()
|
|
161
|
+
// sending slack release start msg
|
|
162
|
+
.then(() => {
|
|
163
|
+
// start mailStack
|
|
164
|
+
utils.notification.messageStack.startStack();
|
|
165
|
+
|
|
166
|
+
return utils.notification.project.sendProjectMessage({
|
|
167
|
+
project: project,
|
|
168
|
+
text: `:arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: Launching *${project.name}* release projects group for *${branch}* branch`,
|
|
169
|
+
});
|
|
170
|
+
})
|
|
171
|
+
|
|
162
172
|
// get release version
|
|
163
173
|
.then(() => {
|
|
164
174
|
utils.tools.logTitle('Getting app new version...');
|
|
@@ -205,6 +215,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
205
215
|
utils.tools.logInfo('Distribution list for project :');
|
|
206
216
|
console.log(distJson);
|
|
207
217
|
|
|
218
|
+
let bucketsDelivered = 0;
|
|
219
|
+
|
|
208
220
|
// distributing to s3 buckets
|
|
209
221
|
utils.tools.logTitle('Distributing to S3 buckets');
|
|
210
222
|
|
|
@@ -222,6 +234,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
222
234
|
if (!dryRun) {
|
|
223
235
|
execa.sync('aws', ['s3', 'cp', '--recursive', sourcePath, s3Path]);
|
|
224
236
|
}
|
|
237
|
+
|
|
238
|
+
bucketsDelivered++;
|
|
225
239
|
}
|
|
226
240
|
|
|
227
241
|
// checking docFolder 1
|
|
@@ -236,6 +250,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
236
250
|
if (!dryRun) {
|
|
237
251
|
execa.sync('aws', ['s3', 'cp', '--recursive', sourcePath, s3Path]);
|
|
238
252
|
}
|
|
253
|
+
|
|
254
|
+
bucketsDelivered++;
|
|
239
255
|
}
|
|
240
256
|
|
|
241
257
|
// checking docFolder 2
|
|
@@ -250,6 +266,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
250
266
|
if (!dryRun) {
|
|
251
267
|
execa.sync('aws', ['s3', 'cp', '--recursive', sourcePath, s3Path]);
|
|
252
268
|
}
|
|
269
|
+
|
|
270
|
+
bucketsDelivered++;
|
|
253
271
|
}
|
|
254
272
|
|
|
255
273
|
// checking docFolder 3
|
|
@@ -264,9 +282,19 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
264
282
|
if (!dryRun) {
|
|
265
283
|
execa.sync('aws', ['s3', 'cp', '--recursive', sourcePath, s3Path]);
|
|
266
284
|
}
|
|
285
|
+
|
|
286
|
+
bucketsDelivered++;
|
|
267
287
|
}
|
|
268
288
|
})
|
|
269
289
|
|
|
290
|
+
// sending s3 delivery message
|
|
291
|
+
.then(() => {
|
|
292
|
+
return utils.notification.project.sendProjectMessage({
|
|
293
|
+
project: project,
|
|
294
|
+
text: `:dart: *${project.name}* - *${bucketsDelivered}* S3 buckets published`,
|
|
295
|
+
});
|
|
296
|
+
})
|
|
297
|
+
|
|
270
298
|
// commit release message
|
|
271
299
|
.then(() => {
|
|
272
300
|
let message;
|
|
@@ -312,9 +340,9 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
312
340
|
})
|
|
313
341
|
|
|
314
342
|
// store package config in the root folder to send config to gitlab
|
|
315
|
-
.then(() => {
|
|
316
|
-
|
|
317
|
-
})
|
|
343
|
+
// .then(() => {
|
|
344
|
+
// return utils.notification.config.storeProjectConfig(project);
|
|
345
|
+
// })
|
|
318
346
|
|
|
319
347
|
.then(() => {
|
|
320
348
|
utils.notification.messageStack.endStack();
|
|
@@ -337,9 +365,9 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
337
365
|
})
|
|
338
366
|
|
|
339
367
|
// store package config in the root folder to send config to gitlab
|
|
340
|
-
.then(() => {
|
|
341
|
-
|
|
342
|
-
})
|
|
368
|
+
// .then(() => {
|
|
369
|
+
// return utils.notification.config.storeProjectConfig(project);
|
|
370
|
+
// })
|
|
343
371
|
.then(() => {
|
|
344
372
|
utils.notification.messageStack.endStack();
|
|
345
373
|
return utils.notification.messageStack.sendProjectMessage(project);
|