Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KubectlInstallerV0] Update to Node16_225 build config #18698

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 Tasks/KubectlInstallerV0/_buildConfigs/Node16/package-lock.json

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions Tasks/KubectlInstallerV0/_buildConfigs/Node16/package.json
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"
}
}
80 changes: 40 additions & 40 deletions Tasks/KubectlInstallerV0/task.json
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..."
}
}
4 changes: 2 additions & 2 deletions Tasks/KubectlInstallerV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 225,
"Patch": 0
"Minor": 226,
"Patch": 1
},
"demands": [],
"satisfies": [
Expand Down
2 changes: 2 additions & 0 deletions _generated/KubectlInstallerV0.versionmap.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Default|0.226.1
Node16-225|0.226.0
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..."
}
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..."
}
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..."
}
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..."
}
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..."
}
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 のインストールを確認しています..."
}
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 설치를 확인하는 중..."
}
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..."
}
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 安装..."
}
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 安裝..."
}
16 changes: 16 additions & 0 deletions _generated/KubectlInstallerV0/Tests/L0.ts
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();
});
});
14 changes: 14 additions & 0 deletions _generated/KubectlInstallerV0/Tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions _generated/KubectlInstallerV0/Tests/package.json
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"
}
}
Loading