Skip to content

Commit f1b2474

Browse files
aleksandrlevochkinDmitrii Bobreshev (Akvelon INC)
andauthored
[DuffleInstallerV0] Update to Node using 16 build config gen (#18740)
* Introduce Node16-225 for buildconfig - Switched config key from Node16-219 to Node16-225 - Added overriddenDirectoryName to set generated directory postfix * Introduce Node16-225 for buildconfig - Added deprecation option * Migrate DuffleInstallerV0 to Node 16 * Update make-options and task.json * Update make.json to remove duplicate task-lib contained in utility-common --------- Co-authored-by: Dmitrii Bobreshev (Akvelon INC) <[email protected]>
1 parent dfc55bc commit f1b2474

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4070
-48
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Place files overridden for this config in this directory

Tasks/DuffleInstallerV0/_buildConfigs/Node16/package-lock.json

Lines changed: 690 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"dependencies": {
3+
"@types/mocha": "^5.2.7",
4+
"@types/node": "^16.11.39",
5+
"@types/q": "^1.5.0",
6+
"@types/uuid": "^8.3.0",
7+
"azure-pipelines-task-lib": "^4.4.0",
8+
"azure-pipelines-tasks-utility-common": "^3.210.0",
9+
"azure-pipelines-tool-lib": "^1.3.2"
10+
},
11+
"devDependencies": {
12+
"typescript": "4.0.2"
13+
}
14+
}

Tasks/DuffleInstallerV0/make.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
{
2+
"rm": [
3+
{
4+
"items": [
5+
"node_modules/azure-pipelines-tool-lib/node_modules/azure-pipelines-task-lib",
6+
"node_modules/azure-pipelines-tasks-utility-common/node_modules/azure-pipelines-task-lib"
7+
],
8+
"options": "-Rf"
9+
}
10+
]
211
}

Tasks/DuffleInstallerV0/task.json

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
{
2-
"id": "11EA7CF0-8A3E-4B5A-98A2-8756CC3094B0",
3-
"name": "DuffleInstaller",
4-
"friendlyName": "Duffle tool installer",
5-
"description": "Install a specified version of Duffle for installing and managing CNAB bundles",
6-
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=851275)",
7-
"category": "Tool",
8-
"visibility": [
9-
"Build",
10-
"Release"
11-
],
12-
"author": "Microsoft Corporation",
13-
"version": {
14-
"Major": 0,
15-
"Minor": 221,
16-
"Patch": 0
2+
"id": "11EA7CF0-8A3E-4B5A-98A2-8756CC3094B0",
3+
"name": "DuffleInstaller",
4+
"friendlyName": "Duffle tool installer",
5+
"description": "Install a specified version of Duffle for installing and managing CNAB bundles",
6+
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=851275)",
7+
"category": "Tool",
8+
"visibility": [
9+
"Build",
10+
"Release"
11+
],
12+
"author": "Microsoft Corporation",
13+
"version": {
14+
"Major": 0,
15+
"Minor": 226,
16+
"Patch": 1
17+
},
18+
"demands": [],
19+
"groups": [],
20+
"inputs": [
21+
{
22+
"name": "version",
23+
"type": "string",
24+
"label": "Version",
25+
"defaultValue": "0.1.0-ralpha.4+dramallamabuie",
26+
"required": true,
27+
"helpMarkDown": "Specify the version of Duffle to install."
1728
},
18-
"demands": [],
19-
"groups": [],
20-
"inputs": [
21-
{
22-
"name": "version",
23-
"type": "string",
24-
"label": "Version",
25-
"defaultValue": "0.1.0-ralpha.4+dramallamabuie",
26-
"required": true,
27-
"helpMarkDown": "Specify the version of Duffle to install."
28-
},
29-
{
30-
"name": "checkLatestVersion",
31-
"type": "boolean",
32-
"label": "Check for latest version",
33-
"defaultValue": "false",
34-
"required": false,
35-
"helpMarkDown": "Always checks online for the latest available version (stable.txt) that satisfies the version spec. This is typically false unless you have a specific scenario to always get latest. This will cause it to incur download costs when potentially not necessary, especially with the hosted build pool."
36-
}
37-
],
38-
"instanceNameFormat": "Install Duffle $(version)",
39-
"execution": {
40-
"Node10": {
41-
"target": "src//duffle.js"
42-
}
43-
},
44-
"messages": {
45-
"DownloadDuffleFailed": "Can not download the Duffle client of version %s. Check if the version is correct https://github.com/deislabs/duffle/releases",
46-
"DownloadStableVersionFailed": "Can not download Duffle stable version file from %s. Falling back to %s"
29+
{
30+
"name": "checkLatestVersion",
31+
"type": "boolean",
32+
"label": "Check for latest version",
33+
"defaultValue": "false",
34+
"required": false,
35+
"helpMarkDown": "Always checks online for the latest available version (stable.txt) that satisfies the version spec. This is typically false unless you have a specific scenario to always get latest. This will cause it to incur download costs when potentially not necessary, especially with the hosted build pool."
36+
}
37+
],
38+
"instanceNameFormat": "Install Duffle $(version)",
39+
"execution": {
40+
"Node10": {
41+
"target": "src//duffle.js"
4742
}
48-
}
43+
},
44+
"messages": {
45+
"DownloadDuffleFailed": "Can not download the Duffle client of version %s. Check if the version is correct https://github.com/deislabs/duffle/releases",
46+
"DownloadStableVersionFailed": "Can not download Duffle stable version file from %s. Falling back to %s"
47+
}
48+
}

Tasks/DuffleInstallerV0/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"author": "Microsoft Corporation",
1313
"version": {
1414
"Major": 0,
15-
"Minor": 221,
16-
"Patch": 0
15+
"Minor": 226,
16+
"Patch": 1
1717
},
1818
"demands": [],
1919
"groups": [],
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Default|0.226.1
2+
Node16-225|0.226.0
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"loc.friendlyName": "Installer für Duffle-Tool",
3+
"loc.helpMarkDown": "[Weitere Informationen zu dieser Aufgabe](https://go.microsoft.com/fwlink/?linkid=851275)",
4+
"loc.description": "Hiermit wird eine angegebene Version von Duffle zum Installieren und Verwalten von CNAB-Bundles installiert.",
5+
"loc.instanceNameFormat": "Duffle $(version) installieren",
6+
"loc.input.label.version": "Version",
7+
"loc.input.help.version": "Geben Sie die zu installierende Duffle-Version an.",
8+
"loc.input.label.checkLatestVersion": "Auf aktuelle Version überprüfen",
9+
"loc.input.help.checkLatestVersion": "Hiermit wird online immer nach der letzten verfügbaren Version (stable.txt) gesucht, die der Versionsbezeichnung entspricht. Diese Option ist typischerweise auf FALSE festgelegt, sofern Sie nicht über ein spezifisches Szenario verfügen, bei dem Sie immer die aktuelle Version abrufen. Hierdurch entstehen möglicherweise unnötig Downloadkosten, insbesondere beim gehosteten Buildpool.",
10+
"loc.messages.DownloadDuffleFailed": "Der Duffle-Client mit der Version %s kann nicht heruntergeladen werden. Überprüfen Sie, ob die Version korrekt ist: https://github.com/deislabs/duffle/releases",
11+
"loc.messages.DownloadStableVersionFailed": "Die Datei für die stabile Duffle-Version kann nicht von %s heruntergeladen werden. Es wird ein Fallback auf %s durchgeführt."
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"loc.friendlyName": "Duffle tool installer",
3+
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=851275)",
4+
"loc.description": "Install a specified version of Duffle for installing and managing CNAB bundles",
5+
"loc.instanceNameFormat": "Install Duffle $(version)",
6+
"loc.input.label.version": "Version",
7+
"loc.input.help.version": "Specify the version of Duffle to install.",
8+
"loc.input.label.checkLatestVersion": "Check for latest version",
9+
"loc.input.help.checkLatestVersion": "Always checks online for the latest available version (stable.txt) that satisfies the version spec. This is typically false unless you have a specific scenario to always get latest. This will cause it to incur download costs when potentially not necessary, especially with the hosted build pool.",
10+
"loc.messages.DownloadDuffleFailed": "Can not download the Duffle client of version %s. Check if the version is correct https://github.com/deislabs/duffle/releases",
11+
"loc.messages.DownloadStableVersionFailed": "Can not download Duffle stable version file from %s. Falling back to %s"
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"loc.friendlyName": "Instalador de la herramienta Duffle",
3+
"loc.helpMarkDown": "[Obtener más información acerca de esta tarea](https://go.microsoft.com/fwlink/?linkid=851275)",
4+
"loc.description": "Instala una versión específica de Duffle para instalar y administrar agrupaciones de CNAB.",
5+
"loc.instanceNameFormat": "Instalar Duffle $(version)",
6+
"loc.input.label.version": "Versión",
7+
"loc.input.help.version": "Especifique la versión de Duffle que se va a instalar.",
8+
"loc.input.label.checkLatestVersion": "Comprobar la última versión",
9+
"loc.input.help.checkLatestVersion": "Comprueba siempre en línea la última versión (stable.txt) disponible que cumple la especificación de versión. Este valor suele ser false, a menos que tenga un escenario específico que deba obtener siempre la última versión. Esto dará lugar a costos de descarga, cuando puede que no sea necesario, especialmente con el grupo de compilación hospedado.",
10+
"loc.messages.DownloadDuffleFailed": "No se puede descargar el cliente de Duffle de la versión %s. Compruebe si la versión es correcta: https://github.com/deislabs/duffle/releases",
11+
"loc.messages.DownloadStableVersionFailed": "No se puede descargar el archivo de versión estable de Duffle de %s. Revirtiendo a %s"
12+
}

0 commit comments

Comments
 (0)