From 8a1769d856d8eee48c62c16d7614e5f258377d21 Mon Sep 17 00:00:00 2001 From: Senjuti De Date: Tue, 28 Nov 2023 19:50:39 +0530 Subject: [PATCH] Added linting and fixed pipeline.yaml bug --- .github/workflows/test.yaml | 13 +++++++++++++ test/e2e/resources/pipeline.yaml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index edb1752..e4e2d14 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -41,6 +41,19 @@ jobs: with: pipeline_version: v0.53.2 + # Install Catlin linting tool + - name: Install Catlin linting tool + run: | + git clone https://github.com/tektoncd/catlin + cd catlin + make + sudo cp bin/catlin /usr/local/bin + catlin --help + + # run Catlin linting + - name: Run Catlin linting + run: make catlin + # running end-to-end test target - name: test-e2e run: make test-e2e diff --git a/test/e2e/resources/pipeline.yaml b/test/e2e/resources/pipeline.yaml index 3021300..60a80a3 100644 --- a/test/e2e/resources/pipeline.yaml +++ b/test/e2e/resources/pipeline.yaml @@ -23,7 +23,7 @@ spec: tasks: - name: task-openshift-client taskRef: - name: task-openshift-client + name: openshift-client workspaces: - name: manifest_dir workspace: manifest_dir