1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-30 06:38:13 +00:00

Modifies git-rebase task from git directory according to the new reorg proposal

**NOTE: This only modifies the content of the yaml, changing
        the location of the file will be done in a different
        commit to make review easier

Changes include:
  - adds version label
  - adds a minimum pipeline versions supported by the task
  - adds tags for task
  - adds display name for task
  - modified description to add a summary

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
This commit is contained in:
pratap0007 2020-07-02 12:52:33 +05:30 committed by tekton-robot
parent 8e1e334c92
commit ff3aa09a70

View File

@ -2,7 +2,21 @@ apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: git-rebase
labels:
app.kubernetes.io/version: "0.1"
annotations:
tekton.dev/pipelines.minVersion: "0.12.1"
tekton.dev/tags: git
tekton.dev/displayName: "git rebase"
spec:
description: >-
These Tasks are Git tasks to work with repositories used by other tasks
in your Pipeline.
This task will rebase the branch based on the user input. Before rebase,
if squashing of the commits is required, then it can be done by providing
the squash count i.e number of commits to squash.
workspaces:
- name: source
description: A workspace that contains the fetched git repository.