Skip to content

Commit f5d5c22

Browse files
authored
Kudu Auth: Publish auth method to telemetry from tasks (#18182)
* Publish auth method to telemetry * Fix telemetry commands * Upgrade common packages
1 parent 4c9dee8 commit f5d5c22

34 files changed

+55
-132
lines changed

Tasks/AzureAppServiceManageV0/azureappservicemanage.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ async function run() {
8282
const buffer = new Buffer(scmCreds.username + ':' + scmCreds.password);
8383
const auth = buffer.toString("base64");
8484
var authHeader = "Basic " + auth;
85+
8586
tl.debug("Kudu: using basic authentication for publish profile");
87+
console.log('##vso[telemetry.publish area=TaskDeploymentMethod;feature=AzureAppServiceDeployment]{"authMethod":"Basic"}');
88+
8689
kuduService = new Kudu(scmCreds.scmUri, authHeader);
8790
kuduServiceUtils = new KuduServiceUtils(kuduService);
8891
} else {

Tasks/AzureAppServiceManageV0/package-lock.json

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

Tasks/AzureAppServiceManageV0/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@types/mocha": "^5.2.7",
2121
"@types/node": "^10.17.0",
2222
"@types/q": "1.0.7",
23-
"azure-pipelines-tasks-azure-arm-rest-v2": "^3.221.1",
23+
"azure-pipelines-tasks-azure-arm-rest-v2": "^3.221.3",
2424
"azure-pipelines-tasks-utility-common": "^3.0.3",
2525
"q": "1.4.1",
2626
"xml2js": "^0.5.0"

Tasks/AzureAppServiceManageV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"version": {
2020
"Major": 0,
2121
"Minor": 221,
22-
"Patch": 103
22+
"Patch": 104
2323
},
2424
"minimumAgentVersion": "1.102.0",
2525
"instanceNameFormat": "$(Action): $(WebAppName)",

Tasks/AzureAppServiceManageV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"version": {
2020
"Major": 0,
2121
"Minor": 221,
22-
"Patch": 103
22+
"Patch": 104
2323
},
2424
"minimumAgentVersion": "1.102.0",
2525
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",

Tasks/AzureFunctionAppContainerV1/package-lock.json

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

Tasks/AzureFunctionAppContainerV1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@types/q": "1.0.7",
2323
"azure-devops-node-api": "11.2.0",
2424
"azure-pipelines-task-lib": "^3.4.0",
25-
"azure-pipelines-tasks-azure-arm-rest-v2": "^3.221.1",
25+
"azure-pipelines-tasks-azure-arm-rest-v2": "^3.221.3",
2626
"azure-pipelines-tasks-webdeployment-common": "^4.219.1",
2727
"moment": "2.29.4",
2828
"q": "1.4.1",

Tasks/AzureFunctionAppContainerV1/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"version": {
1919
"Major": 1,
2020
"Minor": 221,
21-
"Patch": 102
21+
"Patch": 103
2222
},
2323
"minimumAgentVersion": "2.104.1",
2424
"groups": [

Tasks/AzureFunctionAppContainerV1/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"version": {
1919
"Major": 1,
2020
"Minor": 221,
21-
"Patch": 102
21+
"Patch": 103
2222
},
2323
"minimumAgentVersion": "2.104.1",
2424
"groups": [

Tasks/AzureFunctionAppV1/package-lock.json

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

0 commit comments

Comments
 (0)