@eui/tools 6.14.18 → 6.14.20
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 +2 -2
- package/scripts/csdr/release/package/common.js +4 -0
- package/scripts/csdr/release/package/release-package.js +1 -1
- package/scripts/csdr/release/package/release-ui.js +6 -1
- package/scripts/utils/notification/teams-utils.js +16 -1
- package/scripts/utils/remotes/remotes-utils.js +0 -6
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.14.
|
|
1
|
+
6.14.20
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.14.20 (2023-12-14)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* add gitlab pipeline link to MSTEAMS notifications msg - remove cleanup of flags for remote builds after v16 - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([a29f6a58](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a29f6a58f89e7fe7ff79e0fc451a793b6f0feb7b))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.14.19 (2023-12-14)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* missing argument for release app-group - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([ed46d002](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ed46d002c4daacdf2f2a100e983d1788d0bc10fd))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.14.18 (2023-12-13)
|
|
2
20
|
|
|
3
21
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -132,7 +132,7 @@ module.exports.run = () => {
|
|
|
132
132
|
const projects = configUtils.projects.getCsdrProjectsGroupForEuiVersion(projectsGroup, euiVersion);
|
|
133
133
|
|
|
134
134
|
return projects.reduce((promise, project) => {
|
|
135
|
-
return promise.then(() => releaseProject(project, isSnapshot, isSupportBranch, branch));
|
|
135
|
+
return promise.then(() => releaseProject(project, isSnapshot, isSupportBranch, isSupportSnapshotBranch, branch));
|
|
136
136
|
}, Promise.resolve());
|
|
137
137
|
})
|
|
138
138
|
|
|
@@ -145,7 +145,7 @@ module.exports.run = () => {
|
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
148
|
+
const releaseProject = (projectName, isSnapshot, isSupportBranch, isSupportSnapshotBranch, branch) => {
|
|
149
149
|
const { dryRun } = utils.tools.getArgs();
|
|
150
150
|
|
|
151
151
|
// fetch the project config based on group name
|
|
@@ -17,7 +17,7 @@ module.exports.run = () => {
|
|
|
17
17
|
// npm run pkg:release mywp-dashboard-eui15-remote-el-ui -- --dryRun --branch master --envTarget DEV --skipInstall --debug --build
|
|
18
18
|
|
|
19
19
|
// normal UI package / old style remote
|
|
20
|
-
// npm run pkg:release eui-tools -- --dryRun --branch
|
|
20
|
+
// npm run pkg:release eui-tools -- --dryRun --branch master --skipLint --skipInstall --skipTest --skipDoc --skipClone --skipAudit --debug --debugNotification --build --ci --pipelineId 99999
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
return Promise.resolve()
|
|
@@ -15,6 +15,9 @@ const installUtils = require('../../install/install-utils');
|
|
|
15
15
|
// INNER MODULES
|
|
16
16
|
const innerCommon = require('./common');
|
|
17
17
|
|
|
18
|
+
// ARGS
|
|
19
|
+
const { skipAudit } = utils.tools.getArgs();
|
|
20
|
+
|
|
18
21
|
|
|
19
22
|
module.exports.run = () => {
|
|
20
23
|
utils.tools.logBanner('Starting UI pipeline');
|
|
@@ -95,7 +98,9 @@ module.exports.run = () => {
|
|
|
95
98
|
|
|
96
99
|
// AUDIT DEPENDENCIES
|
|
97
100
|
.then(() => {
|
|
98
|
-
|
|
101
|
+
if (!skipAudit) {
|
|
102
|
+
return auditUtils.yarn.audit(pkg);
|
|
103
|
+
}
|
|
99
104
|
})
|
|
100
105
|
.catch((e) => {
|
|
101
106
|
throw e;
|
|
@@ -73,6 +73,7 @@ const createPayload = (messageContent) => {
|
|
|
73
73
|
const publications = messageContent.buffer.filter(m => m.text !== null && m.text.indexOf(':rocket:') > -1);
|
|
74
74
|
const stylesReport = messageContent.buffer.filter(m => m.text !== null && m.text.indexOf('STYLES AUDIT REPORT') > -1)[0];
|
|
75
75
|
const dependenciesReport = messageContent.buffer.filter(m => m.text !== null && m.text.indexOf('Dependencies audit') > -1)[0];
|
|
76
|
+
const pipelineLink = messageContent.buffer.filter(m => m.text !== null && m.text.indexOf('//gitlab') > -1)[0];
|
|
76
77
|
|
|
77
78
|
let sections = [];
|
|
78
79
|
|
|
@@ -147,12 +148,26 @@ const createPayload = (messageContent) => {
|
|
|
147
148
|
"startGroup": true,
|
|
148
149
|
"facts": [
|
|
149
150
|
{
|
|
150
|
-
"name": "Duration",
|
|
151
|
+
"name": "Duration : ",
|
|
151
152
|
"value": `**${messageContent.durationMinSec}**`
|
|
152
153
|
},
|
|
153
154
|
]
|
|
154
155
|
});
|
|
155
156
|
|
|
157
|
+
if (pipelineLink) {
|
|
158
|
+
let textValue = tools.replaceAll(pipelineLink.text, ':arrow_forward: :arrow_forward: Pipeline ID :', '');
|
|
159
|
+
sections.push({
|
|
160
|
+
"startGroup": true,
|
|
161
|
+
"facts": [
|
|
162
|
+
{
|
|
163
|
+
"name": "Pipeline ID : ",
|
|
164
|
+
"value": `${textValue}`
|
|
165
|
+
},
|
|
166
|
+
]
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
156
171
|
// return payload
|
|
157
172
|
return {
|
|
158
173
|
"@type": "MessageCard",
|
|
@@ -107,15 +107,9 @@ module.exports.cleanupUnusedAssets = (assetsPath, euiVersionNumber = 10) => {
|
|
|
107
107
|
.then(() => {
|
|
108
108
|
return tools.rimraf(path.join(assetsPath, 'icons', 'svg-src'));
|
|
109
109
|
})
|
|
110
|
-
.then(() => {
|
|
111
|
-
return tools.rimraf(path.join(assetsPath, 'icons', 'flags'));
|
|
112
|
-
})
|
|
113
110
|
.then(() => {
|
|
114
111
|
return tools.rimraf(path.join(assetsPath, 'fonts'));
|
|
115
112
|
})
|
|
116
|
-
.then(() => {
|
|
117
|
-
return tools.rimraf(path.join(assetsPath, 'i18n-eui'));
|
|
118
|
-
})
|
|
119
113
|
|
|
120
114
|
.catch((e) => {
|
|
121
115
|
throw e;
|