This commit is contained in:
병준 박 2025-04-12 08:20:54 +00:00
parent 453938d493
commit 1bc9347b7b
4 changed files with 12 additions and 12 deletions

View File

@ -9,10 +9,10 @@ spec:
description: Subdirectory within the repo where the source code is located
default: ""
- name: python-version
- name: imageName
type: string
description: Python version to use (e.g., 3.9, 3.11)
default: "3.9"
default: "python:3.11-slim"
- name: pypi-username
type: string
@ -42,7 +42,7 @@ spec:
steps:
- name: install-dependencies
image: python:$(params.python-version)-slim
image: $(params.imageName)
workingDir: /workspace/source
script: |
#!/usr/bin/env bash

View File

@ -9,10 +9,10 @@ spec:
description: Subdirectory within the repo where the source code is located
default: ""
- name: python-version
- name: imageName
type: string
description: Python version to use (e.g., 3.9, 3.11)
default: "3.9"
default: "python:3.11-slim"
- name: pylint-args
type: string
@ -43,7 +43,7 @@ spec:
steps:
- name: install-dependencies
image: python:$(params.python-version)-slim
image: $(params.imageName)
workingDir: /workspace/source
script: |
#!/usr/bin/env bash

View File

@ -8,10 +8,10 @@ spec:
type: string
description: Path to the built artifact directory from python-build
- name: python-version
- name: imageName
type: string
description: Python version to use (e.g., 3.9, 3.11)
default: "3.9"
default: "python:3.11-slim"
- name: pypi-username
type: string
@ -40,7 +40,7 @@ spec:
steps:
- name: upload-to-pypi
image: python:$(params.python-version)-slim
image: $(params.imageName)
workingDir: /workspace/source
script: |
#!/usr/bin/env bash

View File

@ -13,10 +13,10 @@ spec:
type: string
description: Full Git ref string (e.g., refs/tags/v0.2.0)
- name: python-version
- name: imageName
type: string
description: Python version to use (e.g., 3.9, 3.11)
default: "3.9"
default: "python:3.11-slim"
workspaces:
- name: source
@ -28,7 +28,7 @@ spec:
steps:
- name: verify-tag
image: python:$(params.python-version)-slim
image: $(params.imageName)
workingDir: /workspace/source
script: |
#!/usr/bin/env bash