Skip to content

Commit 7a204f0

Browse files
afrittolitekton-robot
authored andcommitted
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 tektoncd/plumbing#734 Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
1 parent ff6d7ab commit 7a204f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tekton/release-pipeline-nightly.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
tasks:
4040
- name: unit-tests
4141
taskRef:
42-
name: golang-test
42+
name: golang-test-legacy
4343
params:
4444
- name: package
4545
value: $(params.package)
@@ -49,7 +49,7 @@ spec:
4949
resource: source-repo
5050
- name: build
5151
taskRef:
52-
name: golang-build
52+
name: golang-build-legacy
5353
params:
5454
- name: package
5555
value: $(params.package)

tekton/release-pipeline.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ spec:
6161
- name: unit-tests
6262
runAfter: [precheck]
6363
taskRef:
64-
name: golang-test
64+
name: golang-test-legacy
6565
params:
6666
- name: package
6767
value: $(params.package)
@@ -74,7 +74,7 @@ spec:
7474
- name: build
7575
runAfter: [precheck]
7676
taskRef:
77-
name: golang-build
77+
name: golang-build-legacy
7878
params:
7979
- name: package
8080
value: $(params.package)

0 commit comments

Comments
 (0)