Skip to content

Commit 00c2c43

Browse files
author
Danny McCormick
authored
Move kubernetes-common-v2 to shared npm package (#13502)
1 parent a5d93b6 commit 00c2c43

File tree

88 files changed

+184
-5278
lines changed

Some content is hidden

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

88 files changed

+184
-5278
lines changed

Tasks/AzureFunctionOnKubernetesV0/make.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
{
22
"common": [
3-
{
4-
"module": "../Common/kubernetes-common-v2",
5-
"type": "node",
6-
"dest" : "./",
7-
"compile" : true
8-
},
93
{
104
"module": "../Common/utility-common-v2",
115
"type": "node",
@@ -17,7 +11,7 @@
1711
{
1812
"items": [
1913
"node_modules/azure-pipelines-tasks-docker-common-v2/node_modules/azure-pipelines-task-lib",
20-
"node_modules/kubernetes-common-v2/node_modules/azure-pipelines-task-lib",
14+
"node_modules/azure-pipelines-tasks-kubernetes-common-v2/node_modules/azure-pipelines-task-lib",
2115
"node_modules/utility-common-v2/node_modules/azure-pipelines-task-lib"
2216
],
2317
"options": "-Rf"

Tasks/AzureFunctionOnKubernetesV0/package-lock.json

Lines changed: 22 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tasks/AzureFunctionOnKubernetesV0/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"@types/node": "12.12.7",
1616
"@types/q": "^1.5.0",
1717
"azure-pipelines-tasks-docker-common-v2": "1.0.0",
18+
"azure-pipelines-tasks-kubernetes-common-v2": "1.0.1",
1819
"js-yaml": "3.13.1",
19-
"kubernetes-common-v2": "file:../../_build/Tasks/Common/kubernetes-common-v2-1.0.0.tgz",
2020
"utility-common-v2": "file:../../_build/Tasks/Common/utility-common-v2-2.0.0.tgz"
2121
}
2222
}

Tasks/AzureFunctionOnKubernetesV0/src/deploy.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import * as tl from 'azure-pipelines-task-lib/task';
55
import * as tr from "azure-pipelines-task-lib/toolrunner";
66
import { CommandHelper } from './utils/commandHelper';
77
import { DockerConnection } from './dockerConnection';
8-
import { Kubectl, Resource } from 'kubernetes-common-v2/kubectl-object-model';
8+
import { Kubectl, Resource } from 'azure-pipelines-tasks-kubernetes-common-v2/kubectl-object-model';
99
import * as FileHelper from './utils/fileHelper';
10-
import * as KubernetesConstants from 'kubernetes-common-v2/kubernetesconstants';
11-
import * as KubernetesManifestUtility from 'kubernetes-common-v2/kubernetesmanifestutility';
12-
import * as CommonUtils from 'kubernetes-common-v2/utility';
10+
import * as KubernetesConstants from 'azure-pipelines-tasks-kubernetes-common-v2/kubernetesconstants';
11+
import * as KubernetesManifestUtility from 'azure-pipelines-tasks-kubernetes-common-v2/kubernetesmanifestutility';
12+
import * as CommonUtils from 'azure-pipelines-tasks-kubernetes-common-v2/utility';
1313

1414
const secretName = tl.getInput('secretName');
1515
const appName = tl.getInput('appName', true);

Tasks/AzureFunctionOnKubernetesV0/src/utils/commandHelper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import * as path from "path";
22
import * as tl from "azure-pipelines-task-lib/task";
33
import * as tr from "azure-pipelines-task-lib/toolrunner";
4-
import * as FuncKubernetesUtility from 'kubernetes-common-v2/funckubernetesutility';
5-
import * as CommonUtils from 'kubernetes-common-v2/utility';
4+
import * as FuncKubernetesUtility from 'azure-pipelines-tasks-kubernetes-common-v2/funckubernetesutility';
5+
import * as CommonUtils from 'azure-pipelines-tasks-kubernetes-common-v2/utility';
66
import { DockerConnection } from "../dockerConnection";
77

88
export class CommandHelper {

Tasks/AzureFunctionOnKubernetesV0/src/utils/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as tl from 'azure-pipelines-task-lib/task';
2-
import { KubernetesConnection } from 'kubernetes-common-v2/kubernetesconnection';
2+
import { KubernetesConnection } from 'azure-pipelines-tasks-kubernetes-common-v2/kubernetesconnection';
33
import * as FileHelper from './fileHelper';
44

55
export function getKubernetesConnection(): KubernetesConnection {

Tasks/AzureFunctionOnKubernetesV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"version": {
1616
"Major": 0,
1717
"Minor": 175,
18-
"Patch": 0
18+
"Patch": 1
1919
},
2020
"demands": [],
2121
"groups": [

Tasks/AzureFunctionOnKubernetesV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"version": {
1616
"Major": 0,
1717
"Minor": 175,
18-
"Patch": 0
18+
"Patch": 1
1919
},
2020
"demands": [],
2121
"groups": [

Tasks/Common/kubernetes-common-v2/Strings/resources.resjson/de-de/resources.resjson

Lines changed: 0 additions & 1 deletion
This file was deleted.

Tasks/Common/kubernetes-common-v2/Strings/resources.resjson/en-US/resources.resjson

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)