Skip to content

Commit

Permalink
correct catalog task golangci lint path
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepitm12 authored and tekton-robot committed Jul 23, 2020
1 parent e5ef31e commit 3e4f996
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tekton/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TARGET_NAMESPACE="release"
SECRET_NAME=bot-token-github
PUSH_REMOTE="${PUSH_REMOTE:-${UPSTREAM_REMOTE}}" # export PUSH_REMOTE to your own for testing

CATALOG_TASKS="lint build tests"
CATALOG_TASKS="lint build test"

BINARIES="kubectl jq tkn git"

Expand Down Expand Up @@ -114,7 +114,11 @@ git push --force ${PUSH_REMOTE} release-${RELEASE_VERSION}
kubectl create namespace ${TARGET_NAMESPACE} 2>/dev/null || true

for task in ${CATALOG_TASKS};do
if [ ${task} == "lint" ]; then
kubectl -n ${TARGET_NAMESPACE} apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/task/golangci-${task}/0.1/golangci-${task}.yaml
else
kubectl -n ${TARGET_NAMESPACE} apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/task/golang-${task}/0.1/golang-${task}.yaml
fi
done

kubectl -n ${TARGET_NAMESPACE} apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/task/git-clone/0.1/git-clone.yaml
Expand Down

0 comments on commit 3e4f996

Please sign in to comment.