Skip to content

Commit

Permalink
create release yml fixes (#1438)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-soujanya authored Jan 24, 2025
1 parent d174813 commit 589d7c2
Showing 1 changed file with 41 additions and 38 deletions.
79 changes: 41 additions & 38 deletions .azure-pipelines/azure-pipelines-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,49 +9,52 @@ pr: none
trigger: none

jobs:

- job: 'Build_Publish_Azure_DevOps_CLI_Extension'
pool:
vmImage: 'ubuntu-latest'

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
architecture: 'x64'
- script: pip install setuptools
displayName: 'install setuptools'

- template: templates/setup-ci-machine.yml

- template: templates/build-publish-azure-devops-cli-extension.yml

- job: 'Build_Publish_Azure_CLI_Test_SDK'
pool:
vmImage: 'ubuntu-latest'

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
architecture: 'x64'
- script: pip install setuptools
displayName: 'install setuptools'

- template: templates/setup-ci-machine.yml

- template: templates/build-publish-azure-cli-test-sdk.yml

#- job: 'Build_Publish_Azure_DevOps_CLI_Extension'
# pool:
# vmImage: 'ubuntu-latest'
#
# steps:
# - task: UsePythonVersion@0
# inputs:
# versionSpec: '3.x'
# architecture: 'x64'
# - script: pip install setuptools
# displayName: 'install setuptools'
#
# - template: templates/setup-ci-machine.yml
#
# - template: templates/build-publish-azure-devops-cli-extension.yml

#- job: 'Build_Publish_Azure_CLI_Test_SDK'
# pool:
# vmImage: 'ubuntu-latest'
#
# steps:
# - task: UsePythonVersion@0
# inputs:
# versionSpec: '3.x'
# architecture: 'x64'
# - script: pip install setuptools
# displayName: 'install setuptools'
#
# - template: templates/setup-ci-machine.yml
#
# - template: templates/build-publish-azure-cli-test-sdk.yml

#- job: 'Run_Test'
# dependsOn : Build_Publish_Azure_CLI_Test_SDK
# pool:
# vmImage: 'macOS-latest'
#
# steps:
# - template: templates/run-tests.yml
# parameters:
# pythonVersion: '3.10'
- job: 'Run_Test'
dependsOn : Build_Publish_Azure_CLI_Test_SDK
pool:
vmImage: 'macOS-latest'

steps:
- template: templates/run-tests.yml
parameters:
pythonVersion: '3.10'

- script: 'pip install .'
displayName: 'Install the whl locally'
workingDirectory: 'azure-devops/'
Expand Down

0 comments on commit 589d7c2

Please sign in to comment.