Skip to content

Commit f574be8

Browse files
authored
Users/soujanya/createreleasefixes (#1440)
* create release yml fixes * added script to check python vulnerabilities * added setup tools toi nstall * syntax fix
1 parent b790ae1 commit f574be8

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.azure-pipelines/azure-pipelines-create-release.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,37 @@ jobs:
2424
# - template: templates/setup-ci-machine.yml
2525
#
2626
# - template: templates/build-publish-azure-devops-cli-extension.yml
27+
#- job: 'Build_Publish_Azure_DevOps_CLI_Extension'
28+
# pool:
29+
# vmImage: 'ubuntu-latest'
30+
#
31+
# steps:
32+
# - task: UsePythonVersion@0
33+
# inputs:
34+
# versionSpec: '3.x'
35+
# architecture: 'x64'
36+
# - script: pip install setuptools
37+
# displayName: 'install setuptools'
38+
#
39+
# - template: templates/setup-ci-machine.yml
40+
#
41+
# - template: templates/build-publish-azure-devops-cli-extension.yml
2742

43+
#- job: 'Build_Publish_Azure_CLI_Test_SDK'
44+
# pool:
45+
# vmImage: 'ubuntu-latest'
46+
#
47+
# steps:
48+
# - task: UsePythonVersion@0
49+
# inputs:
50+
# versionSpec: '3.x'
51+
# architecture: 'x64'
52+
# - script: pip install setuptools
53+
# displayName: 'install setuptools'
54+
#
55+
# - template: templates/setup-ci-machine.yml
56+
#
57+
# - template: templates/build-publish-azure-cli-test-sdk.yml
2858
#- job: 'Build_Publish_Azure_CLI_Test_SDK'
2959
# pool:
3060
# vmImage: 'ubuntu-latest'
@@ -41,6 +71,15 @@ jobs:
4171
#
4272
# - template: templates/build-publish-azure-cli-test-sdk.yml
4373

74+
#- job: 'Run_Test'
75+
# dependsOn : Build_Publish_Azure_CLI_Test_SDK
76+
# pool:
77+
# vmImage: 'macOS-latest'
78+
#
79+
# steps:
80+
# - template: templates/run-tests.yml
81+
# parameters:
82+
# pythonVersion: '3.10'
4483
#- job: 'Run_Test'
4584
# dependsOn : Build_Publish_Azure_CLI_Test_SDK
4685
# pool:
@@ -55,6 +94,8 @@ jobs:
5594
vmImage: 'macOS-latest'
5695

5796
steps:
97+
- script: pip install setuptools
98+
displayName: 'Install setuptools'
5899
- script: 'pip install .'
59100
displayName: 'Install the whl locally'
60101
workingDirectory: 'azure-devops/'
@@ -65,6 +106,12 @@ jobs:
65106
displayName: 'Check for Python vulnerabilities'
66107
workingDirectory: 'azure-devops/'
67108
109+
- script: |
110+
pip install safety
111+
safety check --full-report
112+
displayName: 'Check for Python vulnerabilities'
113+
workingDirectory: 'azure-devops/'
114+
68115
- task: PythonScript@0
69116
displayName : 'setupVersion'
70117
name: 'setupVersion'

0 commit comments

Comments
 (0)