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
|
description: Subdirectory within the repo where the source code is located
|
||||||
default: ""
|
default: ""
|
||||||
|
|
||||||
- name: python-version
|
- name: imageName
|
||||||
type: string
|
type: string
|
||||||
description: Python version to use (e.g., 3.9, 3.11)
|
description: Python version to use (e.g., 3.9, 3.11)
|
||||||
default: "3.9"
|
default: "python:3.11-slim"
|
||||||
|
|
||||||
- name: pypi-username
|
- name: pypi-username
|
||||||
type: string
|
type: string
|
||||||
@ -42,7 +42,7 @@ spec:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install-dependencies
|
- name: install-dependencies
|
||||||
image: python:$(params.python-version)-slim
|
image: $(params.imageName)
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
script: |
|
script: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
@ -9,10 +9,10 @@ spec:
|
|||||||
description: Subdirectory within the repo where the source code is located
|
description: Subdirectory within the repo where the source code is located
|
||||||
default: ""
|
default: ""
|
||||||
|
|
||||||
- name: python-version
|
- name: imageName
|
||||||
type: string
|
type: string
|
||||||
description: Python version to use (e.g., 3.9, 3.11)
|
description: Python version to use (e.g., 3.9, 3.11)
|
||||||
default: "3.9"
|
default: "python:3.11-slim"
|
||||||
|
|
||||||
- name: pylint-args
|
- name: pylint-args
|
||||||
type: string
|
type: string
|
||||||
@ -43,7 +43,7 @@ spec:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install-dependencies
|
- name: install-dependencies
|
||||||
image: python:$(params.python-version)-slim
|
image: $(params.imageName)
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
script: |
|
script: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
@ -8,10 +8,10 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
description: Path to the built artifact directory from python-build
|
description: Path to the built artifact directory from python-build
|
||||||
|
|
||||||
- name: python-version
|
- name: imageName
|
||||||
type: string
|
type: string
|
||||||
description: Python version to use (e.g., 3.9, 3.11)
|
description: Python version to use (e.g., 3.9, 3.11)
|
||||||
default: "3.9"
|
default: "python:3.11-slim"
|
||||||
|
|
||||||
- name: pypi-username
|
- name: pypi-username
|
||||||
type: string
|
type: string
|
||||||
@ -40,7 +40,7 @@ spec:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: upload-to-pypi
|
- name: upload-to-pypi
|
||||||
image: python:$(params.python-version)-slim
|
image: $(params.imageName)
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
script: |
|
script: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
@ -13,10 +13,10 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
description: Full Git ref string (e.g., refs/tags/v0.2.0)
|
description: Full Git ref string (e.g., refs/tags/v0.2.0)
|
||||||
|
|
||||||
- name: python-version
|
- name: imageName
|
||||||
type: string
|
type: string
|
||||||
description: Python version to use (e.g., 3.9, 3.11)
|
description: Python version to use (e.g., 3.9, 3.11)
|
||||||
default: "3.9"
|
default: "python:3.11-slim"
|
||||||
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@ -28,7 +28,7 @@ spec:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: verify-tag
|
- name: verify-tag
|
||||||
image: python:$(params.python-version)-slim
|
image: $(params.imageName)
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
script: |
|
script: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user