init
This commit is contained in:
parent
453938d493
commit
1bc9347b7b
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user