Skip to content

chore(linters-b): bump apiVersion v1beta1 → v1 for 9 code-quality tasks - #1396

Merged
tekton-robot merged 18 commits into
tektoncd:mainfrom
gferreir:chore/linters-b-api-v1-bump
Sep 25, 2026
Merged

tekton-robot merged 18 commits into
tektoncd:mainfrom
gferreir:chore/linters-b-api-v1-bump

Conversation

@gferreir

Copy link
Copy Markdown
Contributor

Changes

API version bump for 9 code-quality / linter tasks, continuing the
v1beta1 → v1 migration tracked in #1381.

Tasks updated

Task Old → New Changes
markdown-lint 0.1 → 0.2 apiVersion v1, minVersion 0.50.0, tests bumped
mypy-lint 0.2 → 0.3 apiVersion v1, minVersion 0.50.0, tests bumped
prettier 0.1 → 0.2 apiVersion v1, minVersion 0.50.0, tests bumped
pylint 0.3 → 0.4 apiVersion v1, minVersion 0.50.0, tests bumped
python-coverage 0.1 → 0.2 apiVersion v1, minVersion 0.50.0, tests bumped
ruby-lint 0.1 → 0.2 apiVersion v1, minVersion 0.50.0, tests bumped
shellcheck 0.1 → 0.2 apiVersion v1, minVersion 0.50.0, tests bumped
ts-lint 0.1 → 0.2 apiVersion v1, minVersion 0.50.0, tests bumped
yaml-lint 0.1 → 0.2 apiVersion v1, minVersion 0.50.0, tests bumped

Each task follows copy-then-modify per CONTRIBUTING.md: one commit copies the
previous version directory, a second commit applies the bump. None of these tasks
use PipelineResources or other v1beta1-only constructs.

Image pinning

All images in this batch are either already pinned by digest (markdown-lint,
ruby-lint, shellcheck, ts-lint, yaml-lint) or referenced via $(params.image)
/ $(params.prettierImage) (user-controlled). No additional pinning was needed.

Validation

  • Zero remaining tekton.dev/v1beta1 references across all 9 new version directories
  • All 9 tasks have tests/run.yaml with manifests bumped to v1
  • yamllint clean (pre-existing upstream indentation warnings only, identical to original versions)
  • All 18 commits carry correct Signed-off-by

Note on pre-existing conditions

Some tasks interpolate $(params.*) directly in script: or args: fields (e.g.
mypy-lint, pylint). python-coverage still uses $(inputs.params.*) syntax.
These patterns are inherited from the previous versions and not introduced by this
PR
. Script injection hardening will be addressed in follow-up PRs as part of #1381.

Ref: #1381

/kind cleanup

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Follows the [authoring recommendations][authoring]
  • Includes [docs][docs] (if user facing)
  • Includes [tests][tests] (for new tasks or changed functionality)
    • See the [end-to-end testing documentation][e2e] for guidance and CI details.
  • Meets the [Tekton contributor standards][contributor] (including functionality, content, code)
  • Commit messages follow [commit message best practices][commit]
  • Has a kind label. You can add one by adding a comment on this PR that
    contains /kind <type>. Valid types are bug, cleanup, design, documentation,
    feature, flake, misc, question, tep
  • Complies with Catalog Organization TEP, see example. Note [An issue has been filed to automate this validation][validation]
    • File path follows <kind>/<name>/<version>/name.yaml

    • Has README.md at <kind>/<name>/<version>/README.md

    • Has mandatory metadata.labels - app.kubernetes.io/version the same as the <version> of the resource

    • Has mandatory metadata.annotations tekton.dev/pipelines.minVersion

    • mandatory spec.description follows the convention

        ```
        spec:
          description: >-
            one line summary of the resource
      
            Paragraph(s) to describe the resource.
        ```
      

See the contribution guide for more details.

@tekton-robot tekton-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Sep 18, 2026
@tekton-robot tekton-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Sep 18, 2026
@tekton-robot

Copy link
Copy Markdown
Diff between version 0.1 and 0.2
diff --git a/task/yaml-lint/0.1/README.md b/task/yaml-lint/0.2/README.md
index ac47833..4a6fb5b 100644
--- a/task/yaml-lint/0.1/README.md
+++ b/task/yaml-lint/0.2/README.md
@@ -5,7 +5,7 @@ The following task is used to provide static analysis on YAML files mounted usin
 ## Installing the Task
 
 ```bash
-kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/yaml-lint/0.1/yaml-lint.yaml
+kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/yaml-lint/0.2/yaml-lint.yaml
 ```
 
 ## Parameters
@@ -34,7 +34,7 @@ kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/gi
 4. Create the Pipeline and PipelineRun for `YAML` linter
 
 ```yaml
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: linter-pipeline
@@ -70,7 +70,7 @@ spec:
           value: ["."]
 
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: PipelineRun
 metadata:
   name: linter-pipeline-run
diff --git a/task/yaml-lint/0.1/tests/run.yaml b/task/yaml-lint/0.2/tests/run.yaml
index 37f5df0..b449975 100644
--- a/task/yaml-lint/0.1/tests/run.yaml
+++ b/task/yaml-lint/0.2/tests/run.yaml
@@ -1,5 +1,5 @@
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: linter-pipeline
@@ -35,7 +35,7 @@ spec:
           value: ["."]
 
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: PipelineRun
 metadata:
   name: linter-pipeline-run
diff --git a/task/yaml-lint/0.1/yaml-lint.yaml b/task/yaml-lint/0.2/yaml-lint.yaml
index 61adac1..9d6763f 100644
--- a/task/yaml-lint/0.1/yaml-lint.yaml
+++ b/task/yaml-lint/0.2/yaml-lint.yaml
@@ -1,11 +1,11 @@
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Task
 metadata:
   name: yaml-lint
   labels:
-    app.kubernetes.io/version: "0.1"
+    app.kubernetes.io/version: "0.2"
   annotations:
-    tekton.dev/pipelines.minVersion: "0.12.1"
+    tekton.dev/pipelines.minVersion: "0.50.0"
     tekton.dev/categories: Code Quality
     tekton.dev/tags: linter
     tekton.dev/displayName: "YAML linter"

@gferreir

Copy link
Copy Markdown
Contributor Author

/assign @vdemeester

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Signed-off-by: gferreir <guilherme.nmf@gmail.com>
Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
@gferreir
gferreir force-pushed the chore/linters-b-api-v1-bump branch from de0c09a to 72dc78b Compare September 22, 2026 15:10
@tekton-robot

Copy link
Copy Markdown
Diff between version 0.1 and 0.2
diff --git a/task/yaml-lint/0.1/README.md b/task/yaml-lint/0.2/README.md
index ac47833..4a6fb5b 100644
--- a/task/yaml-lint/0.1/README.md
+++ b/task/yaml-lint/0.2/README.md
@@ -5,7 +5,7 @@ The following task is used to provide static analysis on YAML files mounted usin
 ## Installing the Task
 
 ```bash
-kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/yaml-lint/0.1/yaml-lint.yaml
+kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/yaml-lint/0.2/yaml-lint.yaml
 ```
 
 ## Parameters
@@ -34,7 +34,7 @@ kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/gi
 4. Create the Pipeline and PipelineRun for `YAML` linter
 
 ```yaml
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: linter-pipeline
@@ -70,7 +70,7 @@ spec:
           value: ["."]
 
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: PipelineRun
 metadata:
   name: linter-pipeline-run
diff --git a/task/yaml-lint/0.1/tests/run.yaml b/task/yaml-lint/0.2/tests/run.yaml
index 37f5df0..b449975 100644
--- a/task/yaml-lint/0.1/tests/run.yaml
+++ b/task/yaml-lint/0.2/tests/run.yaml
@@ -1,5 +1,5 @@
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: linter-pipeline
@@ -35,7 +35,7 @@ spec:
           value: ["."]
 
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: PipelineRun
 metadata:
   name: linter-pipeline-run
diff --git a/task/yaml-lint/0.1/yaml-lint.yaml b/task/yaml-lint/0.2/yaml-lint.yaml
index 61adac1..9d6763f 100644
--- a/task/yaml-lint/0.1/yaml-lint.yaml
+++ b/task/yaml-lint/0.2/yaml-lint.yaml
@@ -1,11 +1,11 @@
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Task
 metadata:
   name: yaml-lint
   labels:
-    app.kubernetes.io/version: "0.1"
+    app.kubernetes.io/version: "0.2"
   annotations:
-    tekton.dev/pipelines.minVersion: "0.12.1"
+    tekton.dev/pipelines.minVersion: "0.50.0"
     tekton.dev/categories: Code Quality
     tekton.dev/tags: linter
     tekton.dev/displayName: "YAML linter"

@gferreir

Copy link
Copy Markdown
Contributor Author

Rebased on top of current main to pick up the recent merges (#1391, #1393, #1397). No changes to the actual content — just a cleaner base.

@vdemeester vdemeester left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 25, 2026
@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 25, 2026
@tekton-robot
tekton-robot merged commit 11541e7 into tektoncd:main Sep 25, 2026
9 checks passed
@gferreir
gferreir deleted the chore/linters-b-api-v1-bump branch September 25, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants