Skip to content

chore: deprecate git-clone and golang tasks/stepactions - #1376

Merged
tekton-robot merged 1 commit into
tektoncd:mainfrom
vdemeester:deprecate-git-clone-golang
Jun 8, 2026
Merged

chore: deprecate git-clone and golang tasks/stepactions#1376
tekton-robot merged 1 commit into
tektoncd:mainfrom
vdemeester:deprecate-git-clone-golang

Conversation

@vdemeester

Copy link
Copy Markdown
Member

Changes

These resources now live in dedicated repositories with proper releases in the
tektoncd-catalog organization, so the
versions here are marked deprecated to steer users to the maintained ones:

Resource (here) Successor Artifact Hub
task/git-clone/0.10 tektoncd-catalog/git-clone Task
stepaction/git-clone/0.2 tektoncd-catalog/git-clone StepAction
task/golang-build/0.3 tektoncd-catalog/golang Tasks
task/golang-test/0.2 tektoncd-catalog/golang Tasks

For each, this PR:

  • adds the tekton.dev/deprecated: "true" annotation to the latest version
    (older versions were already deprecated, so all versions are now
    deprecated). This annotation is now honored by Artifact Hub
    (see artifacthub/hub#4774),
    which surfaces a deprecated badge.
  • adds a migration note to the version README.md linking to the successor
    repository and its Artifact Hub entry.

Per TEP-0003, "deprecated" keeps the resource available and tested but
read-only — this matches the "taken over by another one" deprecation case.

golangci-lint and golang-fuzz are intentionally left as-is: they have no
equivalent in the new tektoncd-catalog/golang repository (and golang-fuzz
was already deprecated).

Submitter Checklist

  • Follows the authoring recommendations
  • Includes docs (if user facing) — README migration notes
  • Includes tests (for new tasks or changed functionality) — N/A, metadata/docs only
  • Meets the Tekton contributor standards
  • Commit messages follow commit message best practices
  • Has a kind label — /kind cleanup
  • Complies with Catalog Organization TEP
    • 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
    • Has mandatory metadata.annotations tekton.dev/pipelines.minVersion
    • mandatory spec.description follows the convention

/kind cleanup

These resources now live in dedicated repositories with proper releases
in the tektoncd-catalog organization:

- git-clone Task/StepAction -> tektoncd-catalog/git-clone
- golang-build, golang-test Tasks -> tektoncd-catalog/golang

Mark the latest versions deprecated via the tekton.dev/deprecated
annotation (now honored by Artifact Hub, see artifacthub/hub#4774) and
add migration notes to their READMEs pointing to the new repositories
and their Artifact Hub entries. Older versions were already deprecated.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@tekton-robot tekton-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jun 8, 2026
@tekton-robot
tekton-robot requested a review from vinamra28 June 8, 2026 13:16
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 8, 2026
@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vinamra28

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 Jun 8, 2026
@vinamra28

Copy link
Copy Markdown
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 8, 2026
@tekton-robot
tekton-robot merged commit 63e107e into tektoncd:main Jun 8, 2026
7 of 8 checks passed
@vdemeester
vdemeester deleted the deprecate-git-clone-golang branch June 8, 2026 13:19
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants