From 7e7e260600552921d3ef4df7684853dc191cb885 Mon Sep 17 00:00:00 2001 From: BAK BYEONG JUN Date: Mon, 14 Apr 2025 16:20:17 +0000 Subject: [PATCH] init --- tasks/nodejs-nx-analysis/task.yaml | 8 ++++---- tasks/nodejs-nx-version/task.yaml | 8 ++++---- tasks/pybuild/task.yaml | 4 ++-- tasks/pylint/task.yaml | 4 ++-- tasks/pypi/task.yaml | 4 ++-- tasks/pytest/task.yaml | 4 ++-- tasks/pyversion/task.yaml | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tasks/nodejs-nx-analysis/task.yaml b/tasks/nodejs-nx-analysis/task.yaml index 2082fe8..583e0a4 100644 --- a/tasks/nodejs-nx-analysis/task.yaml +++ b/tasks/nodejs-nx-analysis/task.yaml @@ -14,10 +14,10 @@ spec: type: string description: Nx workspace project name to lint and test - - name: node-version + - name: nodejsImageName type: string - default: "18" - description: Node.js version (e.g., 18, 20) + default: "node:slim" + description: Node.js image (e.g., node:23-slim) workspaces: - name: source @@ -38,7 +38,7 @@ spec: steps: - name: lint-and-test - image: node:$(params.node-version) + image: $(params.nodejsImageName) workingDir: /workspace/source script: | #!/usr/bin/env bash diff --git a/tasks/nodejs-nx-version/task.yaml b/tasks/nodejs-nx-version/task.yaml index d6d022c..8773de4 100644 --- a/tasks/nodejs-nx-version/task.yaml +++ b/tasks/nodejs-nx-version/task.yaml @@ -11,10 +11,10 @@ spec: - name: ref type: string description: Full Git ref string (e.g., refs/tags/v0.2.0) - - name: node-version + - name: nodejsImageName type: string - description: Node.js version to use - default: "18" + default: "node:slim" + description: Node.js image (e.g., node:23-slim) workspaces: - name: source description: Git-cloned source code @@ -23,7 +23,7 @@ spec: description: Extracted project version (e.g. 0.2.0) steps: - name: verify-tag-version - image: node:$(params.node-version) + image: $(params.nodejsImageName) workingDir: /workspace/source script: | #!/usr/bin/env bash diff --git a/tasks/pybuild/task.yaml b/tasks/pybuild/task.yaml index 5cc1ba8..a55c523 100644 --- a/tasks/pybuild/task.yaml +++ b/tasks/pybuild/task.yaml @@ -9,7 +9,7 @@ spec: description: Subdirectory within the repo where the source code is located default: "" - - name: imageName + - name: pythonImageName type: string description: Python version to use (e.g., 3.9, 3.11) default: "python:3.11-slim" @@ -42,7 +42,7 @@ spec: steps: - name: install-dependencies - image: $(params.imageName) + image: $(params.pythonImageName) workingDir: /workspace/source script: | #!/usr/bin/env bash diff --git a/tasks/pylint/task.yaml b/tasks/pylint/task.yaml index bd45ce0..97b0365 100644 --- a/tasks/pylint/task.yaml +++ b/tasks/pylint/task.yaml @@ -9,7 +9,7 @@ spec: description: Subdirectory within the repo where the source code is located default: "" - - name: imageName + - name: pythonImageName type: string description: Python version to use (e.g., 3.9, 3.11) default: "python:3.11-slim" @@ -43,7 +43,7 @@ spec: steps: - name: install-dependencies - image: $(params.imageName) + image: $(params.pythonImageName) workingDir: /workspace/source script: | #!/usr/bin/env bash diff --git a/tasks/pypi/task.yaml b/tasks/pypi/task.yaml index 5080f77..477e768 100644 --- a/tasks/pypi/task.yaml +++ b/tasks/pypi/task.yaml @@ -8,7 +8,7 @@ spec: type: string description: Path to the built artifact directory from python-build - - name: imageName + - name: pythonImageName type: string description: Python version to use (e.g., 3.9, 3.11) default: "python:3.11-slim" @@ -40,7 +40,7 @@ spec: steps: - name: upload-to-pypi - image: $(params.imageName) + image: $(params.pythonImageName) workingDir: /workspace/source script: | #!/usr/bin/env bash diff --git a/tasks/pytest/task.yaml b/tasks/pytest/task.yaml index 52f27a1..17921e0 100644 --- a/tasks/pytest/task.yaml +++ b/tasks/pytest/task.yaml @@ -9,7 +9,7 @@ spec: description: Subdirectory within the workspace where the tests are located default: "" - - name: imageName + - name: pythonImageName type: string description: Python version to use (e.g., 3.9, 3.11) default: "python:3.11-slim" @@ -38,7 +38,7 @@ spec: steps: - name: install-dependencies - image: $(params.imageName) + image: $(params.pythonImageName) workingDir: /workspace/source script: | #!/usr/bin/env bash diff --git a/tasks/pyversion/task.yaml b/tasks/pyversion/task.yaml index 507ebc6..fb5aa2a 100644 --- a/tasks/pyversion/task.yaml +++ b/tasks/pyversion/task.yaml @@ -13,7 +13,7 @@ spec: type: string description: Full Git ref string (e.g., refs/tags/v0.2.0) - - name: imageName + - name: pythonImageName type: string description: Python image to use (e.g., python:3.9, python:3.11) default: "python:3.11-slim" @@ -28,7 +28,7 @@ spec: steps: - name: verify-tag - image: $(params.imageName) + image: $(params.pythonImageName) workingDir: /workspace/source script: | #!/usr/bin/env bash