Skip to content

Commit

Permalink
update azure-arm-rest common package (#20823)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-gayatrij authored Feb 3, 2025
1 parent 4e6f4d0 commit f90ad8a
Show file tree
Hide file tree
Showing 14 changed files with 78 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,17 @@ var bicepbuildwithWarning = `az bicep build --file "${path.join(__dirname, "CSMw
var azloginCommand = `az login --service-principal -u "id" --password="key" --tenant "tenant" --allow-no-subscriptions`;
var azaccountSet = `az account set --subscription "sId"`;
var azlogoutCommand = `az account clear`
var azVersion = `az --version`

var exec = {}
const successExec = {
"code": 0,
"stdout": "Executed Successfully"
}
const successAzExec = {
"code": 0,
"stdout": "azure-cli 2.66.0"
}
exec[bicepbuildCmd] = successExec;
exec[bicepbuildwithspaceinpathCmd] = successExec;
exec[bicepparambuildCmd] = successExec;
Expand All @@ -63,6 +68,7 @@ exec[bicepbuildwithWarning] = successExec;
exec[azloginCommand] = successExec;
exec[azaccountSet] = successExec;
exec[azlogoutCommand] = successExec;
exec[azVersion] = successAzExec;

let a: ma.TaskLibAnswers = <ma.TaskLibAnswers>{
"which": {
Expand Down
42 changes: 21 additions & 21 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/package-lock.json

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

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"agent-base": "^6.0.2",
"azure-pipelines-task-lib": "^4.17.2",
"azure-pipelines-tasks-artifacts-common": "^2.225.0",
"azure-pipelines-tasks-azure-arm-rest": "^3.249.1",
"azure-pipelines-tasks-azure-arm-rest": "^3.252.1",
"moment": "^2.29.4",
"typed-rest-client": "^1.8.9"
},
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureResourceManagerTemplateDeploymentV3/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 250,
"Minor": 252,
"Patch": 0
},
"demands": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 250,
"Minor": 252,
"Patch": 0
},
"demands": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|3.250.0
Node20_229_2|3.250.1
Default|3.252.0
Node20_229_2|3.252.1
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,17 @@ var bicepbuildwithWarning = `az bicep build --file "${path.join(__dirname, "CSMw
var azloginCommand = `az login --service-principal -u "id" --password="key" --tenant "tenant" --allow-no-subscriptions`;
var azaccountSet = `az account set --subscription "sId"`;
var azlogoutCommand = `az account clear`
var azVersion = `az --version`

var exec = {}
const successExec = {
"code": 0,
"stdout": "Executed Successfully"
}
const successAzExec = {
"code": 0,
"stdout": "azure-cli 2.66.0"
}
exec[bicepbuildCmd] = successExec;
exec[bicepbuildwithspaceinpathCmd] = successExec;
exec[bicepparambuildCmd] = successExec;
Expand All @@ -63,6 +68,7 @@ exec[bicepbuildwithWarning] = successExec;
exec[azloginCommand] = successExec;
exec[azaccountSet] = successExec;
exec[azlogoutCommand] = successExec;
exec[azVersion] = successAzExec;

let a: ma.TaskLibAnswers = <ma.TaskLibAnswers>{
"which": {
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"agent-base": "^6.0.2",
"azure-pipelines-task-lib": "^4.17.2",
"azure-pipelines-tasks-artifacts-common": "^2.225.0",
"azure-pipelines-tasks-azure-arm-rest": "^3.249.1",
"azure-pipelines-tasks-azure-arm-rest": "^3.252.1",
"moment": "^2.29.4",
"typed-rest-client": "^1.8.9"
},
Expand Down
6 changes: 3 additions & 3 deletions _generated/AzureResourceManagerTemplateDeploymentV3/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 250,
"Minor": 252,
"Patch": 0
},
"demands": [],
Expand Down Expand Up @@ -340,7 +340,7 @@
"IncompatibleAzureCLIVersionBicepParam": "Azure CLI version should be >= 2.47.0 to use .bicepparam file"
},
"_buildConfigMapping": {
"Default": "3.250.0",
"Node20_229_2": "3.250.1"
"Default": "3.252.0",
"Node20_229_2": "3.252.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 250,
"Minor": 252,
"Patch": 0
},
"demands": [],
Expand Down Expand Up @@ -340,7 +340,7 @@
"IncompatibleAzureCLIVersionBicepParam": "ms-resource:loc.messages.IncompatibleAzureCLIVersionBicepParam"
},
"_buildConfigMapping": {
"Default": "3.250.0",
"Node20_229_2": "3.250.1"
"Default": "3.252.0",
"Node20_229_2": "3.252.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,17 @@ var bicepbuildwithWarning = `az bicep build --file "${path.join(__dirname, "CSMw
var azloginCommand = `az login --service-principal -u "id" --password="key" --tenant "tenant" --allow-no-subscriptions`;
var azaccountSet = `az account set --subscription "sId"`;
var azlogoutCommand = `az account clear`
var azVersion = `az --version`

var exec = {}
const successExec = {
"code": 0,
"stdout": "Executed Successfully"
}
const successAzExec = {
"code": 0,
"stdout": "azure-cli 2.66.0"
}
exec[bicepbuildCmd] = successExec;
exec[bicepbuildwithspaceinpathCmd] = successExec;
exec[bicepparambuildCmd] = successExec;
Expand All @@ -63,6 +68,7 @@ exec[bicepbuildwithWarning] = successExec;
exec[azloginCommand] = successExec;
exec[azaccountSet] = successExec;
exec[azlogoutCommand] = successExec;
exec[azVersion] = successAzExec;

let a: ma.TaskLibAnswers = <ma.TaskLibAnswers>{
"which": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 250,
"Minor": 252,
"Patch": 1
},
"demands": [],
Expand Down Expand Up @@ -344,7 +344,7 @@
"IncompatibleAzureCLIVersionBicepParam": "Azure CLI version should be >= 2.47.0 to use .bicepparam file"
},
"_buildConfigMapping": {
"Default": "3.250.0",
"Node20_229_2": "3.250.1"
"Default": "3.252.0",
"Node20_229_2": "3.252.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 250,
"Minor": 252,
"Patch": 1
},
"demands": [],
Expand Down Expand Up @@ -344,7 +344,7 @@
"IncompatibleAzureCLIVersionBicepParam": "ms-resource:loc.messages.IncompatibleAzureCLIVersionBicepParam"
},
"_buildConfigMapping": {
"Default": "3.250.0",
"Node20_229_2": "3.250.1"
"Default": "3.252.0",
"Node20_229_2": "3.252.1"
}
}

0 comments on commit f90ad8a

Please sign in to comment.