Skip to content

Commit 1a255a8

Browse files
committed
Add displayName to step #3955
* Do not be as specific in Python version in Dockerfile * Remove unused parameters Signed-off-by: Jono Yang <[email protected]>
1 parent 3f5b1b1 commit 1a255a8

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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)
1313
ENV PYTHONUNBUFFERED 1

etc/ci/azure-posix-docker.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
parameters:
22
job_name: ''
33
image_name: ''
4-
python_versions: []
5-
test_suites: {}
6-
python_architecture: x64
74

85
jobs:
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
@@ -26,8 +16,9 @@ jobs:
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'

0 commit comments

Comments
 (0)