diff --git a/.azure-pipelines/azure-pipelines-create-release.yml b/.azure-pipelines/azure-pipelines-create-release.yml index a135481b..8055e9f9 100644 --- a/.azure-pipelines/azure-pipelines-create-release.yml +++ b/.azure-pipelines/azure-pipelines-create-release.yml @@ -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' @@ -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: @@ -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/' @@ -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'