Skip to content

Commit

Permalink
Add displayName to step #3955
Browse files Browse the repository at this point in the history
    * Do not be as specific in Python version in Dockerfile
    * Remove unused parameters

Signed-off-by: Jono Yang <jyang@nexb.com>
  • Loading branch information
JonoYang committed Oct 22, 2024
1 parent 3f5b1b1 commit 36ebe2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# See https://aboutcode.org for more information about nexB OSS projects.
#

FROM --platform=linux/amd64 python:3.12.7-slim-bookworm
FROM --platform=linux/amd64 python:3.12-slim-bookworm

# Python settings: Force unbuffered stdout and stderr (i.e. they are flushed to terminal immediately)
ENV PYTHONUNBUFFERED 1
Expand Down
11 changes: 1 addition & 10 deletions etc/ci/azure-posix-docker.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
parameters:
job_name: ''
image_name: ''
python_versions: []
test_suites: {}
python_architecture: x64

jobs:
- job: ${{ parameters.job_name }}

pool:
vmImage: ${{ parameters.image_name }}

strategy:
matrix:
${{ each tsuite in parameters.test_suites }}:
${{ tsuite.key }}:
test_suite_label: ${{ tsuite.key }}
test_suite: ${{ tsuite.value }}

steps:
- checkout: self
fetchDepth: 10
Expand All @@ -31,3 +21,4 @@ jobs:

- script: |
docker run scancode --help
displayName: 'Run scancode --help'

0 comments on commit 36ebe2d

Please # to comment.