From 7a204f0e463747e9fff26c97d01a5b0e217eb809 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Mon, 22 Feb 2021 21:21:18 +0000 Subject: [PATCH] Use legacy build and test golang tasks Use golang-build-legacy and golang-test-legacy. Theres are identical copies of the existing ones, designed to allow pipeline, dashboard and triggers to switch to them. This step uncouples the various projects so that we way then: - switch pipeline, dashboard and triggers one at the time to a publish task and release pipeline that use workspaces, no resources and thus the catalog version of golang-build and golang-test - once the three projects are migrated, the legacy tasks will be removed See https://github.com/tektoncd/plumbing/pull/734 Signed-off-by: Andrea Frittoli --- tekton/release-pipeline-nightly.yaml | 4 ++-- tekton/release-pipeline.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tekton/release-pipeline-nightly.yaml b/tekton/release-pipeline-nightly.yaml index 2d7679d5cc9..370f5a050ff 100644 --- a/tekton/release-pipeline-nightly.yaml +++ b/tekton/release-pipeline-nightly.yaml @@ -39,7 +39,7 @@ spec: tasks: - name: unit-tests taskRef: - name: golang-test + name: golang-test-legacy params: - name: package value: $(params.package) @@ -49,7 +49,7 @@ spec: resource: source-repo - name: build taskRef: - name: golang-build + name: golang-build-legacy params: - name: package value: $(params.package) diff --git a/tekton/release-pipeline.yaml b/tekton/release-pipeline.yaml index 34141ec0d40..fa5aba113a6 100644 --- a/tekton/release-pipeline.yaml +++ b/tekton/release-pipeline.yaml @@ -61,7 +61,7 @@ spec: - name: unit-tests runAfter: [precheck] taskRef: - name: golang-test + name: golang-test-legacy params: - name: package value: $(params.package) @@ -74,7 +74,7 @@ spec: - name: build runAfter: [precheck] taskRef: - name: golang-build + name: golang-build-legacy params: - name: package value: $(params.package)