This commit is contained in:
병준 박 2025-04-14 16:20:17 +00:00
parent fbd099fe0f
commit 7e7e260600
7 changed files with 18 additions and 18 deletions

View File

@ -14,10 +14,10 @@ spec:
type: string type: string
description: Nx workspace project name to lint and test description: Nx workspace project name to lint and test
- name: node-version - name: nodejsImageName
type: string type: string
default: "18" default: "node:slim"
description: Node.js version (e.g., 18, 20) description: Node.js image (e.g., node:23-slim)
workspaces: workspaces:
- name: source - name: source
@ -38,7 +38,7 @@ spec:
steps: steps:
- name: lint-and-test - name: lint-and-test
image: node:$(params.node-version) image: $(params.nodejsImageName)
workingDir: /workspace/source workingDir: /workspace/source
script: | script: |
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -11,10 +11,10 @@ spec:
- name: ref - name: ref
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: node-version - name: nodejsImageName
type: string type: string
description: Node.js version to use default: "node:slim"
default: "18" description: Node.js image (e.g., node:23-slim)
workspaces: workspaces:
- name: source - name: source
description: Git-cloned source code description: Git-cloned source code
@ -23,7 +23,7 @@ spec:
description: Extracted project version (e.g. 0.2.0) description: Extracted project version (e.g. 0.2.0)
steps: steps:
- name: verify-tag-version - name: verify-tag-version
image: node:$(params.node-version) image: $(params.nodejsImageName)
workingDir: /workspace/source workingDir: /workspace/source
script: | script: |
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -9,7 +9,7 @@ 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: imageName - name: pythonImageName
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: "python:3.11-slim" default: "python:3.11-slim"
@ -42,7 +42,7 @@ spec:
steps: steps:
- name: install-dependencies - name: install-dependencies
image: $(params.imageName) image: $(params.pythonImageName)
workingDir: /workspace/source workingDir: /workspace/source
script: | script: |
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -9,7 +9,7 @@ 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: imageName - name: pythonImageName
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: "python:3.11-slim" default: "python:3.11-slim"
@ -43,7 +43,7 @@ spec:
steps: steps:
- name: install-dependencies - name: install-dependencies
image: $(params.imageName) image: $(params.pythonImageName)
workingDir: /workspace/source workingDir: /workspace/source
script: | script: |
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -8,7 +8,7 @@ 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: imageName - name: pythonImageName
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: "python:3.11-slim" default: "python:3.11-slim"
@ -40,7 +40,7 @@ spec:
steps: steps:
- name: upload-to-pypi - name: upload-to-pypi
image: $(params.imageName) image: $(params.pythonImageName)
workingDir: /workspace/source workingDir: /workspace/source
script: | script: |
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -9,7 +9,7 @@ spec:
description: Subdirectory within the workspace where the tests are located description: Subdirectory within the workspace where the tests are located
default: "" default: ""
- name: imageName - name: pythonImageName
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: "python:3.11-slim" default: "python:3.11-slim"
@ -38,7 +38,7 @@ spec:
steps: steps:
- name: install-dependencies - name: install-dependencies
image: $(params.imageName) image: $(params.pythonImageName)
workingDir: /workspace/source workingDir: /workspace/source
script: | script: |
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -13,7 +13,7 @@ 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: imageName - name: pythonImageName
type: string type: string
description: Python image to use (e.g., python:3.9, python:3.11) description: Python image to use (e.g., python:3.9, python:3.11)
default: "python:3.11-slim" default: "python:3.11-slim"
@ -28,7 +28,7 @@ spec:
steps: steps:
- name: verify-tag - name: verify-tag
image: $(params.imageName) image: $(params.pythonImageName)
workingDir: /workspace/source workingDir: /workspace/source
script: | script: |
#!/usr/bin/env bash #!/usr/bin/env bash