Repository navigation
Conversation
Diff between version 0.1 and 0.2diff --git a/task/wget/0.1/README.md b/task/wget/0.2/README.md
index 9f25dd7..7013188 100644
--- a/task/wget/0.1/README.md
+++ b/task/wget/0.2/README.md
@@ -6,7 +6,7 @@ This task uses wget to download files from the internet to a workspace .
## Install the Task
```
-kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/wget/0.1/wget.yaml
+kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/wget/0.2/wget.yaml
```
## Parameters
@@ -32,7 +32,7 @@ You can invoke `wget url -P workspace` to check if file is downloaded to workspa
Create a file, `wget-run.yaml`:
```
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
kind: TaskRun
metadata:
name: wget-run
diff --git a/task/wget/0.1/tests/run.yaml b/task/wget/0.2/tests/run.yaml
index 5f38633..b451605 100644
--- a/task/wget/0.1/tests/run.yaml
+++ b/task/wget/0.2/tests/run.yaml
@@ -1,4 +1,4 @@
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
kind: TaskRun
metadata:
name: wget-run
diff --git a/task/wget/0.1/wget.yaml b/task/wget/0.2/wget.yaml
index 34dfaaa..a20872d 100644
--- a/task/wget/0.1/wget.yaml
+++ b/task/wget/0.2/wget.yaml
@@ -1,11 +1,11 @@
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
kind: Task
metadata:
name: wget
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: CLI
tekton.dev/tags: download
tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le" |
Contributor
Author
|
/assign @vinamra28 |
Member
|
can you stash the related commits please? |
Bumps apiVersion from tekton.dev/v1beta1 to tekton.dev/v1 for: ansible-tower-cli (0.1 → 0.2), aws-cli (0.2 → 0.3), az (0.1 → 0.2), curl (0.1 → 0.2), gogit (0.1 → 0.2), kn (0.2 → 0.3), powershell (0.1 → 0.2), rsync (0.1 → 0.2), skopeo-copy (0.4 → 0.5), terraform-cli (0.2 → 0.3), wget (0.1 → 0.2). Each new version was created using copy-then-modify per CONTRIBUTING.md. skopeo-copy mutable image pinned to sha256 digest. kn knative-dockerfile-deploy sub-pipelines and RBAC bumped to v1. Ref: tektoncd#1381 Signed-off-by: gferreir <guilherme.nmf@gmail.com>
gferreir
force-pushed
the
chore/cli-api-v1-bump
branch
from
September 21, 2026 15:05
12708b5 to
56c03c2
Compare
Contributor
Author
|
Done — squashed all 22 commits into a single one. Same tree, just cleaner history. |
|
[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 11 CLI and general-purpose utility 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
skopeo-copywas the only task in this batch with a mutable hardcoded image(
quay.io/skopeo/stable:v1). Pinned to its current digest:quay.io/skopeo/stable:v1@sha256:2b7d76dde38c5924e1945348840c58786fc192201f2fd545832e58b53d26f7b8Three tasks already carried pinned images (
ansible-tower-cli,aws-cli,rsync).The rest use parameterized images (
az,curl,gogit,kn,powershell,terraform-cli,wget), so pinning is left to the user at runtime.Additional fixes
knative-dockerfile-deploysubdirectory with its own Pipelines,PipelineRuns, and RBAC manifests. All
tekton.dev/v1beta1andrbac.authorization.k8s.io/v1beta1references in that subtree were bumped tov1.PipelineRun carries no
serviceAccountName, so notaskRunTemplatemigrationwas needed.
pre-apply-task-hook.sh) keeps its executable permissions.Conflict note
PR #1127 touches
skopeo-copybut has been inactive since Aug 2023. This PR createsa new version (
0.5) and does not conflict with those older changes to0.3.Validation
v1beta1references across all 11 new version directoriesyamllintclean (pre-existing upstream indentation warnings only, identical to original versions)Signed-off-bycurl,powershell,skopeo-copy,wget) have their test manifests bumpedNote on pre-existing conditions
Several tasks interpolate
$(params.*)directly inscript:blocks orargs:fields(
az,curl,gogit,kn,terraform-cli,wget). Those patterns are inheritedfrom 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.
TEP
example