Skip to content

Commit

Permalink
Users/soujanya/createreleasefixes (#1440)
Browse files Browse the repository at this point in the history
* create release yml fixes

* added script to check python vulnerabilities

* added setup tools toi nstall

* syntax fix
  • Loading branch information
v-soujanya authored Jan 27, 2025
1 parent b790ae1 commit f574be8
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .azure-pipelines/azure-pipelines-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,37 @@ jobs:
# - template: templates/setup-ci-machine.yml
#
# - template: templates/build-publish-azure-devops-cli-extension.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: 'Build_Publish_Azure_CLI_Test_SDK'
# pool:
# vmImage: 'ubuntu-latest'
Expand All @@ -41,6 +71,15 @@ jobs:
#
# - 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:
Expand All @@ -55,6 +94,8 @@ jobs:
vmImage: 'macOS-latest'

steps:
- script: pip install setuptools
displayName: 'Install setuptools'
- script: 'pip install .'
displayName: 'Install the whl locally'
workingDirectory: 'azure-devops/'
Expand All @@ -65,6 +106,12 @@ jobs:
displayName: 'Check for Python vulnerabilities'
workingDirectory: 'azure-devops/'
- script: |
pip install safety
safety check --full-report
displayName: 'Check for Python vulnerabilities'
workingDirectory: 'azure-devops/'
- task: PythonScript@0
displayName : 'setupVersion'
name: 'setupVersion'
Expand Down

0 comments on commit f574be8

Please sign in to comment.