File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 77# See https://aboutcode.org for more information about nexB OSS projects.
88#
99
10- FROM --platform=linux/amd64 python:3.12.7 -slim-bookworm
10+ FROM --platform=linux/amd64 python:3.12-slim-bookworm
1111
1212# Python settings: Force unbuffered stdout and stderr (i.e. they are flushed to terminal immediately)
1313ENV PYTHONUNBUFFERED 1
Original file line number Diff line number Diff line change 11parameters :
22 job_name : ' '
33 image_name : ' '
4- python_versions : []
5- test_suites : {}
6- python_architecture : x64
74
85jobs :
96 - job : ${{ parameters.job_name }}
107
118 pool :
129 vmImage : ${{ parameters.image_name }}
1310
14- strategy :
15- matrix :
16- ${{ each tsuite in parameters.test_suites }} :
17- ${{ tsuite.key }} :
18- test_suite_label : ${{ tsuite.key }}
19- test_suite : ${{ tsuite.value }}
20-
2111 steps :
2212 - checkout : self
2313 fetchDepth : 10
2616 inputs :
2717 command : ' build'
2818 Dockerfile : ' **/Dockerfile'
29- arguments : ' -t scancode'
19+ arguments : ' --tag scancode'
3020 displayName : ' Build scancode-toolkit container'
3121
3222 - script : |
33- docker run scancode --help
23+ docker run scancode --help
24+ displayName: 'Run scancode --help'
You can’t perform that action at this time.
0 commit comments