Skip to content

Commit

Permalink
Use goreleaser task from tektoncd/catalog
Browse files Browse the repository at this point in the history
Since `goreleaser` task is now a part of `tektoncd/catalog` so we can use that
task from there and remove that task manifest file from here and reference it in script

Signed-off-by: vinamra28 <vinjain@redhat.com>
  • Loading branch information
vinamra28 authored and tekton-robot committed Nov 18, 2020
1 parent ec662f3 commit f3c0b25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
39 changes: 0 additions & 39 deletions tekton/goreleaser.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tekton/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ for task in ${CATALOG_TASKS};do
done

kubectl -n ${TARGET_NAMESPACE} apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/task/git-clone/0.1/git-clone.yaml
kubectl -n ${TARGET_NAMESPACE} apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/task/goreleaser/0.1/goreleaser.yaml
kubectl -n ${TARGET_NAMESPACE} apply -f ./tekton/get-version.yaml
kubectl -n ${TARGET_NAMESPACE} apply -f ./tekton/goreleaser.yml
kubectl -n ${TARGET_NAMESPACE} apply -f ./tekton/publish.yaml

if ! kubectl -n ${TARGET_NAMESPACE} get secret ${SECRET_NAME} -o name >/dev/null 2>/dev/null;then
Expand Down

0 comments on commit f3c0b25

Please sign in to comment.