Skip to content

chore(cloud): bump apiVersion v1beta1 → v1 for 11 cloud/storage tasks - #1398

Open
gferreir wants to merge 1 commit into
tektoncd:mainfrom
gferreir:chore/cloud-api-v1-bump
Open

gferreir wants to merge 1 commit into
tektoncd:mainfrom
gferreir:chore/cloud-api-v1-bump

Conversation

@gferreir

Copy link
Copy Markdown
Contributor

Changes

API version bump for 11 cloud and storage tasks, continuing the
v1beta1 → v1 migration tracked in #1381.

Tasks updated

Task Old → New Changes
boskos-acquire 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
boskos-release 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
gcloud 0.3 → 0.4 apiVersion v1, minVersion 0.50.0
ibmcloud 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
aws-ecr-login 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
gke-cluster-create 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
gcs-create-bucket 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
gcs-delete-bucket 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
gcs-download 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
gcs-generic 0.1 → 0.2 apiVersion v1, minVersion 0.50.0
gcs-upload 0.3 → 0.4 apiVersion v1, minVersion 0.50.0

Each new version was created using copy-then-modify per CONTRIBUTING.md.

Image pinning

All images in this group are either already pinned by digest or referenced through task params:

  • boskos-acquire / boskos-release: gcr.io/k8s-staging-boskos/boskosctl and docker.io/lachlanevenson/k8s-kubectl — both pinned by sha256
  • aws-ecr-login: docker.io/amazon/aws-cli:2.0.52 — pinned by sha256
  • gke-cluster-create: gcr.io/google.com/cloudsdktool/cloud-sdk:slim — pinned by sha256
  • gcs-*: gcr.io/google.com/cloudsdktool/cloud-sdk (various tags) — all pinned by sha256
  • gcloud / ibmcloud / gcs-generic: image provided via task params, no pinning needed

No additional pinning was required.

Additional changes

  • boskos samples: PipelineRun spec.serviceAccountName moved to spec.taskRunTemplate.serviceAccountName to comply with the Tekton v1 API. rbac.authorization.k8s.io/v1beta1 bumped to v1 in RBAC sample manifests. Symlinks between boskos-release and boskos-acquire samples preserved (matching the upstream pattern).
  • gcloud tests: 5 test manifests (TaskRun) bumped from v1beta1 to v1.

Validation

  • Zero remaining v1beta1 references across all 11 new version directories
  • File count matches between old and new versions for every task
  • Semantic diff confirms only apiVersion, app.kubernetes.io/version, and pipelines.minVersion changed in task YAMLs
  • No changes to original versions

Note on pre-existing conditions

Several tasks (boskos-acquire, gcloud, aws-ecr-login, gke-cluster-create, gcs-create-bucket, gcs-delete-bucket, gcs-download, gcs-generic) interpolate $(params.*) in script: blocks. These patterns are inherited from previous versions and not introduced by this PR. Script injection hardening will be addressed in a separate batch 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:

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

Copy link
Copy Markdown
Contributor Author

/assign @vdemeester

Bumps apiVersion from tekton.dev/v1beta1 to tekton.dev/v1 for:
boskos-acquire (0.1 → 0.2), boskos-release (0.1 → 0.2),
gcloud (0.3 → 0.4), ibmcloud (0.1 → 0.2), aws-ecr-login (0.1 → 0.2),
gke-cluster-create (0.1 → 0.2), gcs-create-bucket (0.1 → 0.2),
gcs-delete-bucket (0.1 → 0.2), gcs-download (0.1 → 0.2),
gcs-generic (0.1 → 0.2), gcs-upload (0.3 → 0.4).

Each new version was created using copy-then-modify per CONTRIBUTING.md.
All images already pinned by digest or referenced via params.
boskos samples: rbac.authorization.k8s.io/v1beta1 bumped to v1.

Ref: tektoncd#1381

Signed-off-by: gferreir <guilherme.nmf@gmail.com>
@gferreir
gferreir force-pushed the chore/cloud-api-v1-bump branch from 0d1926a to c818124 Compare September 22, 2026 15:11
@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from vdemeester after the PR has been reviewed.

The full list of commands accepted by this bot can be found 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

@gferreir

Copy link
Copy Markdown
Contributor Author

Rebased on current main after #1391, #1393 and #1397 merged. Same content, fresh base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. 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