Skip to content

Commit

Permalink
Use legacy build and test golang tasks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
afrittoli authored and tekton-robot committed Feb 22, 2021
1 parent ff6d7ab commit 7a204f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tekton/release-pipeline-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
tasks:
- name: unit-tests
taskRef:
name: golang-test
name: golang-test-legacy
params:
- name: package
value: $(params.package)
Expand All @@ -49,7 +49,7 @@ spec:
resource: source-repo
- name: build
taskRef:
name: golang-build
name: golang-build-legacy
params:
- name: package
value: $(params.package)
Expand Down
4 changes: 2 additions & 2 deletions tekton/release-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
- name: unit-tests
runAfter: [precheck]
taskRef:
name: golang-test
name: golang-test-legacy
params:
- name: package
value: $(params.package)
Expand All @@ -74,7 +74,7 @@ spec:
- name: build
runAfter: [precheck]
taskRef:
name: golang-build
name: golang-build-legacy
params:
- name: package
value: $(params.package)
Expand Down

0 comments on commit 7a204f0

Please sign in to comment.