-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KubectlInstallerV0] Update to Node16_225 build config (#18698)
* 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 * Update task to 16_225 build config --------- Co-authored-by: Dmitrii Bobreshev (Akvelon INC) <v-bobreshevd@microsoft.com>
- Loading branch information
1 parent
d07a7eb
commit 278312b
Showing
54 changed files
with
4,912 additions
and
42 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
Tasks/KubectlInstallerV0/_buildConfigs/Node16/FilesOverriddenForConfigGoHereREADME.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Place files overridden for this config in this directory |
655 changes: 655 additions & 0 deletions
655
Tasks/KubectlInstallerV0/_buildConfigs/Node16/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
Tasks/KubectlInstallerV0/_buildConfigs/Node16/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"dependencies": { | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^16.11.39", | ||
"@types/uuid": "^8.3.0", | ||
"azure-pipelines-task-lib": "^4.3.1", | ||
"azure-pipelines-tasks-kubernetes-common": "2.209.1", | ||
"azure-pipelines-tool-lib": "2.0.0-preview" | ||
}, | ||
"devDependencies": { | ||
"typescript": "4.0.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
{ | ||
"id": "8413C881-4959-43D5-8840-B4EA0FFC5CFD", | ||
"name": "KubectlInstaller", | ||
"friendlyName": "Kubectl tool installer", | ||
"description": "Install Kubectl on agent machine", | ||
"helpUrl": "https://aka.ms/azpipes-kubectl-installer-tsg", | ||
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=851275) or [see the Kubernetes documentation](https://kubernetes.io/docs/home/)", | ||
"category": "Tool", | ||
"visibility": [ | ||
"Build", | ||
"Release" | ||
], | ||
"author": "Microsoft Corporation", | ||
"version": { | ||
"Major": 0, | ||
"Minor": 225, | ||
"Patch": 0 | ||
}, | ||
"demands": [], | ||
"satisfies": [ | ||
"Kubectl" | ||
], | ||
"groups": [], | ||
"inputs": [ | ||
{ | ||
"name": "kubectlVersion", | ||
"label": "Kubectl Version Spec", | ||
"type": "string", | ||
"helpMarkDown": "Specify the version of Kubectl to install", | ||
"defaultValue": "latest" | ||
} | ||
], | ||
"instanceNameFormat": "Install Kubectl $(kubectlVersion)", | ||
"execution": { | ||
"Node10": { | ||
"target": "src//kubectltoolinstaller.js" | ||
} | ||
}, | ||
"messages": { | ||
"NotAValidSemverVersion": "Version not specified in correct format. E.g: 1.8.2, v1.8.2, 2.8.2, v2.8.2.", | ||
"VerifyKubectlInstallation": "Verifying kubectl installation..." | ||
"id": "8413C881-4959-43D5-8840-B4EA0FFC5CFD", | ||
"name": "KubectlInstaller", | ||
"friendlyName": "Kubectl tool installer", | ||
"description": "Install Kubectl on agent machine", | ||
"helpUrl": "https://aka.ms/azpipes-kubectl-installer-tsg", | ||
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=851275) or [see the Kubernetes documentation](https://kubernetes.io/docs/home/)", | ||
"category": "Tool", | ||
"visibility": [ | ||
"Build", | ||
"Release" | ||
], | ||
"author": "Microsoft Corporation", | ||
"version": { | ||
"Major": 0, | ||
"Minor": 226, | ||
"Patch": 1 | ||
}, | ||
"demands": [], | ||
"satisfies": [ | ||
"Kubectl" | ||
], | ||
"groups": [], | ||
"inputs": [ | ||
{ | ||
"name": "kubectlVersion", | ||
"label": "Kubectl Version Spec", | ||
"type": "string", | ||
"helpMarkDown": "Specify the version of Kubectl to install", | ||
"defaultValue": "latest" | ||
} | ||
], | ||
"instanceNameFormat": "Install Kubectl $(kubectlVersion)", | ||
"execution": { | ||
"Node10": { | ||
"target": "src//kubectltoolinstaller.js" | ||
} | ||
}, | ||
"messages": { | ||
"NotAValidSemverVersion": "Version not specified in correct format. E.g: 1.8.2, v1.8.2, 2.8.2, v2.8.2.", | ||
"VerifyKubectlInstallation": "Verifying kubectl installation..." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Default|0.226.1 | ||
Node16-225|0.226.0 |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/de-DE/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Installer für Kubectl-Tool", | ||
"loc.helpMarkDown": "[Weitere Informationen zu dieser Aufgabe](https://go.microsoft.com/fwlink/?linkid=851275) oder [Kubernetes-Dokumentation anzeigen](https://kubernetes.io/docs/home/)", | ||
"loc.description": "Kubectl auf Agentcomputer installieren", | ||
"loc.instanceNameFormat": "Kubectl $(kubectlVersion) installieren", | ||
"loc.input.label.kubectlVersion": "Kubectl-Versionsangabe", | ||
"loc.input.help.kubectlVersion": "Geben Sie die zu installierende Kubectl-Version an.", | ||
"loc.messages.NotAValidSemverVersion": "Version nicht im richtigen Format angegeben. Beispiel: 1.8.2, v1.8.2, 2.8.2, v2.8.2.", | ||
"loc.messages.VerifyKubectlInstallation": "Die kubectl-Installation wird überprüft..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/en-US/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Kubectl tool installer", | ||
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=851275) or [see the Kubernetes documentation](https://kubernetes.io/docs/home/)", | ||
"loc.description": "Install Kubectl on agent machine", | ||
"loc.instanceNameFormat": "Install Kubectl $(kubectlVersion)", | ||
"loc.input.label.kubectlVersion": "Kubectl Version Spec", | ||
"loc.input.help.kubectlVersion": "Specify the version of Kubectl to install", | ||
"loc.messages.NotAValidSemverVersion": "Version not specified in correct format. E.g: 1.8.2, v1.8.2, 2.8.2, v2.8.2.", | ||
"loc.messages.VerifyKubectlInstallation": "Verifying kubectl installation..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/es-ES/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Instalador de la herramienta Kubectl", | ||
"loc.helpMarkDown": "[Obtener más información acerca de esta tarea](https://go.microsoft.com/fwlink/?linkid=851275) o [consultar la documentación de Kubernetes](https://kubernetes.io/docs/home/)", | ||
"loc.description": "Instalar Kubectl en la máquina del agente", | ||
"loc.instanceNameFormat": "Instalar Kubectl $(kubectlVersion)", | ||
"loc.input.label.kubectlVersion": "Especificación de versión de Kubectl", | ||
"loc.input.help.kubectlVersion": "Especifique la versión de Kubectl para instalar", | ||
"loc.messages.NotAValidSemverVersion": "La versión no se ha especificado en el formato correcto. Por ejemplo: 1.8.2, v1.8.2, 2.8.2, v2.8.2.", | ||
"loc.messages.VerifyKubectlInstallation": "Comprobando la instalación de kubectl..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/fr-FR/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Programme d'installation de l'outil Kubectl", | ||
"loc.helpMarkDown": "[En savoir plus sur cette tâche](https://go.microsoft.com/fwlink/?linkid=851275) ou [consulter la documentation de Kubernetes](https://kubernetes.io/docs/home/)", | ||
"loc.description": "Installer Kubectl sur une machine d'agent", | ||
"loc.instanceNameFormat": "Installer Kubectl $(kubectlVersion)", | ||
"loc.input.label.kubectlVersion": "Spécification de version de Kubectl", | ||
"loc.input.help.kubectlVersion": "Spécifier la version de Kubectl à installer", | ||
"loc.messages.NotAValidSemverVersion": "Version non spécifiée au format approprié. Exemple : 1.8.2, v1.8.2, 2.8.2, v2.8.2.", | ||
"loc.messages.VerifyKubectlInstallation": "Vérification de l'installation de kubectl..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/it-IT/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Programma di installazione strumento Kubectl", | ||
"loc.helpMarkDown": "[Altre informazioni su questa attività](https://go.microsoft.com/fwlink/?linkid=851275). In alternativa, [vedere la documentazione di Kubernetes](https://kubernetes.io/docs/home/)", | ||
"loc.description": "Installa Kubectl nel computer agente", | ||
"loc.instanceNameFormat": "Installa Kubectl $(kubectlVersion)", | ||
"loc.input.label.kubectlVersion": "Identificatore di versione di kubectl", | ||
"loc.input.help.kubectlVersion": "Consente di specificare la versione di kubectl da installare", | ||
"loc.messages.NotAValidSemverVersion": "Il formato usato per la specifica della versione non è corretto, ad esempio 1.8.2, v1.8.2, 2.8.2, v2.8.2.", | ||
"loc.messages.VerifyKubectlInstallation": "Verifica dell'installazione di kubectl..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/ja-JP/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Kubectl ツール インストーラー", | ||
"loc.helpMarkDown": "[このタスクの詳細を表示](https://go.microsoft.com/fwlink/?linkid=851275)、または [Kubernetes のドキュメントを参照](https://kubernetes.io/docs/home/)", | ||
"loc.description": "エージェント マシンに Kubectl をインストールします", | ||
"loc.instanceNameFormat": "Kubectl $(kubectlVersion) のインストール", | ||
"loc.input.label.kubectlVersion": "Kubectl バージョンの仕様", | ||
"loc.input.help.kubectlVersion": "インストールする Kubectl のバージョンを指定します", | ||
"loc.messages.NotAValidSemverVersion": "バージョンが正しい形式で指定されていません。例: 1.8.2、v1.8.2、2.8.2、v2.8.2。", | ||
"loc.messages.VerifyKubectlInstallation": "Kubectl のインストールを確認しています..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/ko-KR/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Kubectl 도구 설치 관리자", | ||
"loc.helpMarkDown": "[이 작업에 대한 자세한 정보](https://go.microsoft.com/fwlink/?linkid=851275) 또는 [Kubernetes 설명서 참조](https://kubernetes.io/docs/home/)", | ||
"loc.description": "에이전트 머신에 Kubectl을 설치합니다.", | ||
"loc.instanceNameFormat": "Kubectl $(kubectlVersion) 설치", | ||
"loc.input.label.kubectlVersion": "Kubectl 버전 사양", | ||
"loc.input.help.kubectlVersion": "설치할 Kubectl 버전을 지정합니다.", | ||
"loc.messages.NotAValidSemverVersion": "버전이 올바른 형식으로 지정되지 않았습니다(예: 1.8.2, v1.8.2, 2.8.2, v2.8.2).", | ||
"loc.messages.VerifyKubectlInstallation": "Kubectl 설치를 확인하는 중..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/ru-RU/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Установщик средств Kubectl", | ||
"loc.helpMarkDown": "[См. дополнительные сведения об этой задаче](https://go.microsoft.com/fwlink/?linkid=851275) или [документацию по Kubernetes](https://kubernetes.io/docs/home/)", | ||
"loc.description": "Установить Kubectl на компьютере агента", | ||
"loc.instanceNameFormat": "Установить Kubectl $(kubectlVersion)", | ||
"loc.input.label.kubectlVersion": "Спецификация версии Kubectl", | ||
"loc.input.help.kubectlVersion": "Укажите версию Kubectl, которую необходимо установить", | ||
"loc.messages.NotAValidSemverVersion": "Версия указана в неправильном формате. Примеры: 1.8.2, v1.8.2, 2.8.2, v2.8.2.", | ||
"loc.messages.VerifyKubectlInstallation": "Проверка установки kubectl..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/zh-CN/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Kubectl 工具安装程序", | ||
"loc.helpMarkDown": "[详细了解此任务](https://go.microsoft.com/fwlink/?linkid=851275)或[参阅 Kubernetes 文档](https://kubernetes.io/docs/home/)", | ||
"loc.description": "在代理计算机上安装 Kubectl", | ||
"loc.instanceNameFormat": "安装 Kubectl $(kubectlVersion)", | ||
"loc.input.label.kubectlVersion": "Kubectl 版本规范", | ||
"loc.input.help.kubectlVersion": "指定要安装的 Kubectl 版本", | ||
"loc.messages.NotAValidSemverVersion": "未指定正确格式的版本。示例: 1.8.2、v1.8.2、2.8.2、v2.8.2。", | ||
"loc.messages.VerifyKubectlInstallation": "正在验证 kubectl 安装..." | ||
} |
10 changes: 10 additions & 0 deletions
10
_generated/KubectlInstallerV0/Strings/resources.resjson/zh-TW/resources.resjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"loc.friendlyName": "Kubectl 工具安裝程式", | ||
"loc.helpMarkDown": "[深入了解此工作](https://go.microsoft.com/fwlink/?linkid=851275)或[參閱 Kubernetes 文件](https://kubernetes.io/docs/home/)", | ||
"loc.description": "在代理程式機器上安裝 Kubectl", | ||
"loc.instanceNameFormat": "安裝 Kubectl $(kubectlVersion)", | ||
"loc.input.label.kubectlVersion": "Kubectl 版本規格", | ||
"loc.input.help.kubectlVersion": "請指定要安裝的 Kubectl 版本", | ||
"loc.messages.NotAValidSemverVersion": "未以正確的格式指定版本。例如: 1.8.2、v1.8.2、2.8.2、v2.8.2。", | ||
"loc.messages.VerifyKubectlInstallation": "正在驗證 kubectl 安裝..." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import fs = require('fs'); | ||
import assert = require('assert'); | ||
import path = require('path'); | ||
|
||
describe('KubectlInstallerV0 Suite', function () { | ||
before(() => { | ||
}); | ||
|
||
after(() => { | ||
}); | ||
|
||
it('Does a basic hello world test', function(done: Mocha.Done) { | ||
// TODO - add real tests | ||
done(); | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "kubectl-installer-tests", | ||
"version": "1.0.0", | ||
"description": "Azure Pipelines Kubectl Installer V0 Task Tests", | ||
"main": "L0.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://git@github.com/Microsoft/azure-pipelines-tasks.git" | ||
}, | ||
"author": "Microsoft Corporation", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Microsoft/azure-pipelines-tasks/issues" | ||
}, | ||
"homepage": "https://github.com/Microsoft/azure-pipelines-tasks#readme", | ||
"devDependencies": { | ||
"@types/mocha": "^5.2.0" | ||
} | ||
} |
Oops, something went wrong.