From e8afef6bdb30b25d1301f46b590694633a87fb0b Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 14:48:07 +0530 Subject: [PATCH 01/10] AddTaskSetupTool --- .azure-pipelines/azure-pipelines-pr.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index fdf9a3de..5eafce76 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -20,6 +20,10 @@ jobs: versionSpec: '3.x' architecture: 'x64' + - powershell: | + pip3 install setuptools\ + displayName: 'setupttool Script' + - template: templates/setup-ci-machine.yml - template: templates/build-publish-azure-devops-cli-extension.yml @@ -60,7 +64,7 @@ jobs: - job: 'Run_Test_Mac' dependsOn : Build_Publish_Azure_CLI_Test_SDK pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - template: templates/run-tests.yml @@ -70,7 +74,7 @@ jobs: - job: 'Run_Test_Mac_Azure_CLI_Released_Version' dependsOn : Build_Publish_Azure_CLI_Test_SDK pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - template: templates/run-tests.yml @@ -96,7 +100,7 @@ jobs: - job: 'Code_Coverage' dependsOn: 'Build_Publish_Azure_CLI_Test_SDK' pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - task: UsePythonVersion@0 @@ -133,7 +137,7 @@ jobs: - job: 'Run_Style_Check' pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - task: UsePythonVersion@0 @@ -161,7 +165,7 @@ jobs: - job: 'Run_HelpText_Check' dependsOn: 'Build_Publish_Azure_CLI_Test_SDK' pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - task: UsePythonVersion@0 @@ -188,7 +192,7 @@ jobs: - job: 'Run_Test_From_Old_Release' dependsOn : Build_Publish_Azure_CLI_Test_SDK pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - script: git checkout Releases-0.26.0 From 1206d6fd7d46a9d329bdb412839526c1382dfc14 Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 14:55:03 +0530 Subject: [PATCH 02/10] Installsetuptoolscript --- .azure-pipelines/azure-pipelines-pr.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index 5eafce76..457b313d 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -20,14 +20,14 @@ jobs: versionSpec: '3.x' architecture: 'x64' - - powershell: | - pip3 install setuptools\ - displayName: 'setupttool Script' - - template: templates/setup-ci-machine.yml - template: templates/build-publish-azure-devops-cli-extension.yml + - script: 'pip3 install setupttools' + displayName: 'Install Setupttools' + workingDirectory: 'azure-devops/' + - job: 'Build_Publish_Azure_CLI_Test_SDK' pool: vmImage: 'ubuntu-latest' From 43f40f777a47f451354218fbb9db5a083a2de943 Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 15:39:59 +0530 Subject: [PATCH 03/10] addtasksetuptool --- .azure-pipelines/azure-pipelines-pr.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index 457b313d..f6b2744a 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -20,14 +20,16 @@ jobs: versionSpec: '3.x' architecture: 'x64' + - task: PowerShell@2 + inputs: + targetType: 'inline' + script: | + pip3 install setuptools + - template: templates/setup-ci-machine.yml - template: templates/build-publish-azure-devops-cli-extension.yml - - script: 'pip3 install setupttools' - displayName: 'Install Setupttools' - workingDirectory: 'azure-devops/' - - job: 'Build_Publish_Azure_CLI_Test_SDK' pool: vmImage: 'ubuntu-latest' From 86822b278b3042d5b94dcfdfc8caf7b8ecbf3172 Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 15:43:10 +0530 Subject: [PATCH 04/10] addtasksetuptoolpip --- .azure-pipelines/azure-pipelines-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index f6b2744a..e84a55f8 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -1,7 +1,7 @@ # This pipeline # 1. Runs when a PR is raised against working branch # 2. Makes sure working branch is in healthy state (run tests across platforms) -# 3. Run style check and code coverage +# 3. Run style check and code coverage test pr: - master From f37c12e8aa8f90cbeda01a8afe88bb0001a3d530 Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 16:29:37 +0530 Subject: [PATCH 05/10] test --- .azure-pipelines/azure-pipelines-pr.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index e84a55f8..e2d3f57c 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -20,11 +20,10 @@ jobs: versionSpec: '3.x' architecture: 'x64' - - task: PowerShell@2 - inputs: - targetType: 'inline' - script: | - pip3 install setuptools + - task: CmdLine@2 + displayName: 'Install Setupttool' + inputs: + script: pip3 install setuptools - template: templates/setup-ci-machine.yml @@ -39,6 +38,10 @@ jobs: inputs: versionSpec: '3.x' architecture: 'x64' + - task: CmdLine@2 + displayName: 'Upgrade pip' + inputs: + script: python -m pip install --upgrade pip - template: templates/setup-ci-machine.yml From 3ca18ae425a88f08a2dde501e65d96d36e80a020 Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 16:32:09 +0530 Subject: [PATCH 06/10] test1 --- .azure-pipelines/azure-pipelines-pr.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index e2d3f57c..35dad28b 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -19,7 +19,6 @@ jobs: inputs: versionSpec: '3.x' architecture: 'x64' - - task: CmdLine@2 displayName: 'Install Setupttool' inputs: From 79298999cd7079b4429be5c6c2c628c2e8ebb24b Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 16:33:21 +0530 Subject: [PATCH 07/10] test2 --- .azure-pipelines/azure-pipelines-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index 35dad28b..12457c0a 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -22,7 +22,7 @@ jobs: - task: CmdLine@2 displayName: 'Install Setupttool' inputs: - script: pip3 install setuptools + script: 'pip3 install setuptools' - template: templates/setup-ci-machine.yml From b704e1bfb820e10cd8fcd27010bea30ca3db9a57 Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 16:46:40 +0530 Subject: [PATCH 08/10] testchanges --- .azure-pipelines/azure-pipelines-pr.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index 12457c0a..244e95a7 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -19,10 +19,11 @@ jobs: inputs: versionSpec: '3.x' architecture: 'x64' - - task: CmdLine@2 - displayName: 'Install Setupttool' + - task: CmdLine@2 + displayName: 'Install SetupTool' inputs: - script: 'pip3 install setuptools' + script: pip3 install setuptools + - template: templates/setup-ci-machine.yml From 02c65b4adfe50fe7cf44c34e6876f2dcb86bc6de Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 16:48:55 +0530 Subject: [PATCH 09/10] test3 --- .azure-pipelines/azure-pipelines-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index 244e95a7..7064c680 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -1,7 +1,7 @@ # This pipeline # 1. Runs when a PR is raised against working branch # 2. Makes sure working branch is in healthy state (run tests across platforms) -# 3. Run style check and code coverage test +# 3. Run style check and code coverage test3 pr: - master From aaed1601113662e462587ecf8023ab2a8bd72360 Mon Sep 17 00:00:00 2001 From: v-anvashist Date: Wed, 29 Nov 2023 17:28:23 +0530 Subject: [PATCH 10/10] testnewchanges --- .azure-pipelines/azure-pipelines-pr.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index 7064c680..23c095dd 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -19,11 +19,8 @@ jobs: inputs: versionSpec: '3.x' architecture: 'x64' - - task: CmdLine@2 - displayName: 'Install SetupTool' - inputs: - script: pip3 install setuptools - + - script: pip install setuptools + displayName: 'install setuptools' - template: templates/setup-ci-machine.yml