1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-25 06:17:50 +00:00
catalog/task/kythe-go/0.1/kythe-go.yaml
vinamra28 8bd5deaa7b Deprecate kythe-go version 0.1
Kythe-go version 0.1 is being deprecated as it's incompatible with
latest versions of golang and the tests are also failing.

Signed-off-by: vinamra28 <vinjain@redhat.com>
2022-01-18 14:33:05 +00:00

37 lines
1.1 KiB
YAML

apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: kythe-go
labels:
app.kubernetes.io/version: "0.1"
annotations:
tekton.dev/pipelines.minVersion: "0.12.1"
tekton.dev/categories: Build Tools
tekton.dev/tags: annotations
tekton.dev/displayName: "kythe go"
tekton.dev/platforms: "linux/amd64"
tekton.dev/deprecated: "true"
spec:
description: >-
This task generates annotations for source code.
The kythe-go Task runs the Kythe Go extractor for the given
package, placing the resulting kzips in the output workspace.
workspaces:
- name: output
description: Output directory for kzip output files.
params:
- name: package
type: string
description: Go package to analyze.
steps:
- name: analyze-packages
image: gcr.io/kythe-public/golang-extractor:stable@sha256:b55233e8a077f94863aacb1c2755fab45be564f49c7ba6fe63ba674099b8cffb #tag: stable
env:
- name: OUTPUT
value: $(workspaces.output.path)
args: ["$(params.package)"]
securityContext:
privileged: true