Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading