Repository navigation
chore(linters-b): bump apiVersion v1beta1 → v1 for 9 code-quality tasks - #1396
Merged
tekton-robot merged 18 commits intoSep 25, 2026
Merged
Conversation
Diff between version 0.1 and 0.2diff --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" |
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
force-pushed
the
chore/linters-b-api-v1-bump
branch
from
September 22, 2026 15:10
de0c09a to
72dc78b
Compare
Diff between version 0.1 and 0.2diff --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" |
Contributor
Author
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
API version bump for 9 code-quality / linter tasks, continuing the
v1beta1 → v1 migration tracked in #1381.
Tasks updated
Each task follows
copy-then-modifyper CONTRIBUTING.md: one commit copies theprevious 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
tekton.dev/v1beta1references across all 9 new version directoriestests/run.yamlwith manifests bumped to v1yamllintclean (pre-existing upstream indentation warnings only, identical to original versions)Signed-off-byNote on pre-existing conditions
Some tasks interpolate
$(params.*)directly inscript:orargs:fields (e.g.mypy-lint,pylint).python-coveragestill 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:
contains
/kind <type>. Valid types are bug, cleanup, design, documentation,feature, flake, misc, question, tep
File path follows
<kind>/<name>/<version>/name.yamlHas
README.mdat<kind>/<name>/<version>/README.mdHas mandatory
metadata.labels-app.kubernetes.io/versionthe same as the<version>of the resourceHas mandatory
metadata.annotationstekton.dev/pipelines.minVersionmandatory
spec.descriptionfollows the conventionSee the contribution guide for more details.