From 4bd94104f4aa677063bc736c5bcb7693878dbe9a Mon Sep 17 00:00:00 2001 From: Sergiy Kulanov Date: Fri, 17 Nov 2023 15:26:21 +0200 Subject: [PATCH] chore: Switch PipelineRun from v1beta1 to v1 (#72) Signed-off-by: Sergiy Kulanov Change-Id: Id4b9a79509816cc4d0af81b739bfaf3022a9aeb0 --- .../pipelines-library/templates/triggers/gerrit/tt-build.yaml | 3 ++- .../pipelines-library/templates/triggers/gerrit/tt-review.yaml | 3 ++- .../pipelines-library/templates/triggers/github/tt-build.yaml | 3 ++- .../pipelines-library/templates/triggers/github/tt-review.yaml | 3 ++- .../pipelines-library/templates/triggers/gitlab/tt-build.yaml | 3 ++- .../templates/triggers/gitlab/tt-code-review.yaml | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/charts/pipelines-library/templates/triggers/gerrit/tt-build.yaml b/charts/pipelines-library/templates/triggers/gerrit/tt-build.yaml index 2e3fd02f..233570fa 100644 --- a/charts/pipelines-library/templates/triggers/gerrit/tt-build.yaml +++ b/charts/pipelines-library/templates/triggers/gerrit/tt-build.yaml @@ -47,7 +47,8 @@ spec: app.edp.epam.com/codebase: $(tt.params.codebase) app.edp.epam.com/pipelinetype: build spec: - serviceAccountName: tekton + taskRunTemplate: + serviceAccountName: tekton pipelineRef: name: gerrit-$(tt.params.buildtool)-$(tt.params.framework)-$(tt.params.cbtype)-build-$(tt.params.versioning-type) params: diff --git a/charts/pipelines-library/templates/triggers/gerrit/tt-review.yaml b/charts/pipelines-library/templates/triggers/gerrit/tt-review.yaml index 1d24da78..63133bbb 100644 --- a/charts/pipelines-library/templates/triggers/gerrit/tt-review.yaml +++ b/charts/pipelines-library/templates/triggers/gerrit/tt-review.yaml @@ -43,7 +43,8 @@ spec: app.edp.epam.com/codebase: $(tt.params.codebase) app.edp.epam.com/pipelinetype: review spec: - serviceAccountName: tekton + taskRunTemplate: + serviceAccountName: tekton pipelineRef: name: gerrit-$(tt.params.buildtool)-$(tt.params.framework)-$(tt.params.cbtype)-review params: diff --git a/charts/pipelines-library/templates/triggers/github/tt-build.yaml b/charts/pipelines-library/templates/triggers/github/tt-build.yaml index 3c1bd7f2..262cebc9 100644 --- a/charts/pipelines-library/templates/triggers/github/tt-build.yaml +++ b/charts/pipelines-library/templates/triggers/github/tt-build.yaml @@ -43,7 +43,8 @@ spec: app.edp.epam.com/codebase: $(tt.params.codebase) app.edp.epam.com/pipelinetype: build spec: - serviceAccountName: tekton + taskRunTemplate: + serviceAccountName: tekton pipelineRef: name: github-$(tt.params.buildtool)-$(tt.params.framework)-$(tt.params.cbtype)-build-$(tt.params.versioning-type) params: diff --git a/charts/pipelines-library/templates/triggers/github/tt-review.yaml b/charts/pipelines-library/templates/triggers/github/tt-review.yaml index 818b95a3..522eb8e4 100644 --- a/charts/pipelines-library/templates/triggers/github/tt-review.yaml +++ b/charts/pipelines-library/templates/triggers/github/tt-review.yaml @@ -39,7 +39,8 @@ spec: app.edp.epam.com/codebase: $(tt.params.codebase) app.edp.epam.com/pipelinetype: review spec: - serviceAccountName: tekton + taskRunTemplate: + serviceAccountName: tekton pipelineRef: name: github-$(tt.params.buildtool)-$(tt.params.framework)-$(tt.params.cbtype)-review params: diff --git a/charts/pipelines-library/templates/triggers/gitlab/tt-build.yaml b/charts/pipelines-library/templates/triggers/gitlab/tt-build.yaml index ea4654b2..34740da4 100644 --- a/charts/pipelines-library/templates/triggers/gitlab/tt-build.yaml +++ b/charts/pipelines-library/templates/triggers/gitlab/tt-build.yaml @@ -43,7 +43,8 @@ spec: app.edp.epam.com/codebase: $(tt.params.codebase) app.edp.epam.com/pipelinetype: build spec: - serviceAccountName: tekton + taskRunTemplate: + serviceAccountName: tekton pipelineRef: name: gitlab-$(tt.params.buildtool)-$(tt.params.framework)-$(tt.params.cbtype)-build-$(tt.params.versioning-type) params: diff --git a/charts/pipelines-library/templates/triggers/gitlab/tt-code-review.yaml b/charts/pipelines-library/templates/triggers/gitlab/tt-code-review.yaml index 4bb55843..f65a74a6 100644 --- a/charts/pipelines-library/templates/triggers/gitlab/tt-code-review.yaml +++ b/charts/pipelines-library/templates/triggers/gitlab/tt-code-review.yaml @@ -39,7 +39,8 @@ spec: app.edp.epam.com/codebase: $(tt.params.codebase) app.edp.epam.com/pipelinetype: review spec: - serviceAccountName: tekton + taskRunTemplate: + serviceAccountName: tekton pipelineRef: name: gitlab-$(tt.params.buildtool)-$(tt.params.framework)-$(tt.params.cbtype)-review params: