mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-22 06:02:51 +00:00
56e0f1ac15
Signed-off-by: Jeeva Kandasamy <jkandasa@redhat.com> |
||
---|---|---|
.. | ||
gogit.yaml | ||
README.md |
Gogit
GitHub and Gitlab have their own continuous integration (CI) systems, it's easy to see the status of pipelines. But when users decide to use an alternative CI tool instead of the build in, they will need extra steps to send the status back. Similar to gitea-set-status, gitlab-set-status, and github-set-status, this task could send build status to GitHub/Gitlab.
See more details from https://github.com/linuxsuren/gogit
Install the task
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/gogit/0.1/raw
Platforms
The Task can be run on linux/amd64
platform.
Usage
This TaskRun runs the Task to send build status from
tektoncd/pipeline
.
apiVersion: tekton.dev/v1beta1
kind: TaskRun
metadata:
name: send-build-status
spec:
taskRef:
name: gogit
params:
- name: repo
value: test
- name: username
value: linuxsuren
- name: token
value: my-token
- name: pull_request_number
value: my-pull-request-number