From 446f946138062a4cff853e0036fe0825d5f0f8f9 Mon Sep 17 00:00:00 2001 From: Piyush Garg Date: Sat, 9 May 2020 13:33:21 +0530 Subject: [PATCH] Enable yaml lint This will enable yaml lint again as it was disabled because not working properly before Fix an yaml lint error --- tekton/get-version.yaml | 3 ++- test/presubmit-tests.sh | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tekton/get-version.yaml b/tekton/get-version.yaml index a3000fc18..0a9ec6b3a 100644 --- a/tekton/get-version.yaml +++ b/tekton/get-version.yaml @@ -14,7 +14,8 @@ spec: script: | git status && git fetch -p --all - name: get-versions - image: goreleaser/goreleaser # because it has git + # because it has git + image: goreleaser/goreleaser workingDir: /workspace/source script: | echo -n $(git tag --points-at HEAD) > /tekton/results/version diff --git a/test/presubmit-tests.sh b/test/presubmit-tests.sh index 2ad9faf85..71813f502 100755 --- a/test/presubmit-tests.sh +++ b/test/presubmit-tests.sh @@ -91,9 +91,7 @@ function post_build_tests() { test_golden_has_been_generated test_documentation_has_been_generated check_go_lint - # Skipping yaml lint because of some issue in CI - # https://github.com/tektoncd/plumbing/issues/307 - # check_yaml_lint + check_yaml_lint } # We use the default build, unit and integration test runners.