From 9bf806e8620e39abd6466688c991e2491e419a3e Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Thu, 27 Jun 2019 17:04:17 +0800 Subject: [PATCH 1/2] supress deployment log --- Tasks/AzureIoTEdgeV2/deployimage.ts | 2 +- Tasks/AzureIoTEdgeV2/task.json | 2 +- Tasks/AzureIoTEdgeV2/task.loc.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tasks/AzureIoTEdgeV2/deployimage.ts b/Tasks/AzureIoTEdgeV2/deployimage.ts index 3142f69224f6..584df9ef7963 100644 --- a/Tasks/AzureIoTEdgeV2/deployimage.ts +++ b/Tasks/AzureIoTEdgeV2/deployimage.ts @@ -42,7 +42,7 @@ class azureclitask { console.log(tl.loc('NomralizedDeployementId', configId)); let script1 = `iot edge deployment delete --hub-name ${iothub} --config-id ${configId}`; - let script2 = `iot edge deployment create --config-id ${configId} --hub-name ${iothub} --content ${deploymentJsonPath} --target-condition ${targetCondition} --priority ${priority}`; + let script2 = `iot edge deployment create --config-id ${configId} --hub-name ${iothub} --content ${deploymentJsonPath} --target-condition ${targetCondition} --priority ${priority} --output none`; this.loginAzure(); diff --git a/Tasks/AzureIoTEdgeV2/task.json b/Tasks/AzureIoTEdgeV2/task.json index fd9c76b632e8..6e1a1dd194e2 100644 --- a/Tasks/AzureIoTEdgeV2/task.json +++ b/Tasks/AzureIoTEdgeV2/task.json @@ -14,7 +14,7 @@ "version": { "Major": 2, "Minor": 2, - "Patch": 0 + "Patch": 1 }, "preview": false, "showEnvironmentVariables": true, diff --git a/Tasks/AzureIoTEdgeV2/task.loc.json b/Tasks/AzureIoTEdgeV2/task.loc.json index 9148401600a1..fd16e5f4f7e3 100644 --- a/Tasks/AzureIoTEdgeV2/task.loc.json +++ b/Tasks/AzureIoTEdgeV2/task.loc.json @@ -14,7 +14,7 @@ "version": { "Major": 2, "Minor": 2, - "Patch": 0 + "Patch": 1 }, "preview": false, "showEnvironmentVariables": true, From d5ab5386f6fb0d76d3f56f40817573b3ede6286f Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Tue, 9 Jul 2019 15:44:38 +0800 Subject: [PATCH 2/2] Install latest compatible iotedgedev in windows --- Tasks/AzureIoTEdgeV2/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/AzureIoTEdgeV2/util.ts b/Tasks/AzureIoTEdgeV2/util.ts index d5af5b270c6f..4ed08e0653d6 100644 --- a/Tasks/AzureIoTEdgeV2/util.ts +++ b/Tasks/AzureIoTEdgeV2/util.ts @@ -94,7 +94,7 @@ export default class Util { ] } else if (tl.osType() === Constants.osTypeWindows) { cmds = [ - { path: `pip`, arg: `install ${Constants.iotedgedev}==${version}`, execOption: Constants.execSyncSilentOption }, + { path: `pip`, arg: `install ${Constants.iotedgedev}~=${version}`, execOption: Constants.execSyncSilentOption }, ] }