Skip to content

Commit 75a5e93

Browse files
committed
fixup! Parallelize hosted pipeline
1 parent a3efbae commit 75a5e93

1 file changed

Lines changed: 47 additions & 47 deletions

File tree

ansible/roles/operator-pipeline/templates/openshift/pipelines/operator-hosted-pipeline.yml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -410,53 +410,6 @@ spec:
410410
workspace: results
411411
subPath: summary
412412

413-
- name: validate-catalog-format
414-
taskRef:
415-
name: validate-catalog-format
416-
kind: Task
417-
runAfter:
418-
- get-pyxis-certification-data
419-
when:
420-
- input: "$(tasks.detect-changes.results.added_or_modified_catalogs)"
421-
operator: notin
422-
values: [""]
423-
params:
424-
- name: pipeline_image
425-
value: "$(params.pipeline_image)"
426-
- name: affected_catalogs
427-
value: "$(tasks.detect-changes.results.added_or_modified_catalogs)"
428-
workspaces:
429-
- name: source
430-
workspace: repository
431-
subPath: src
432-
433-
- name: build-fragment-images
434-
taskRef:
435-
name: build-fragment-images
436-
kind: Task
437-
runAfter:
438-
- validate-catalog-format
439-
when:
440-
- &catalogFileChange
441-
input: "$(tasks.detect-changes.results.added_or_modified_catalogs)"
442-
operator: notin
443-
values: [""]
444-
params:
445-
- name: pipeline_image
446-
value: "$(params.pipeline_image)"
447-
- name: commit_sha
448-
value: $(params.git_commit)
449-
- name: affected_catalog_operators
450-
value: "$(tasks.detect-changes.results.added_or_modified_catalog_operators)"
451-
- name: fragment_repository
452-
value: "$(params.registry)/$(params.image_namespace)/catalog"
453-
workspaces:
454-
- name: source
455-
workspace: repository
456-
subPath: src
457-
- name: credentials
458-
workspace: registry-credentials
459-
460413
- name: apply-test-waivers
461414
taskRef:
462415
name: apply-test-waivers
@@ -597,6 +550,53 @@ spec:
597550
- name: results
598551
workspace: results
599552

553+
- name: validate-catalog-format
554+
taskRef:
555+
name: validate-catalog-format
556+
kind: Task
557+
runAfter:
558+
- get-pyxis-certification-data
559+
when:
560+
- input: "$(tasks.detect-changes.results.added_or_modified_catalogs)"
561+
operator: notin
562+
values: [""]
563+
params:
564+
- name: pipeline_image
565+
value: "$(params.pipeline_image)"
566+
- name: affected_catalogs
567+
value: "$(tasks.detect-changes.results.added_or_modified_catalogs)"
568+
workspaces:
569+
- name: source
570+
workspace: repository
571+
subPath: src
572+
573+
- name: build-fragment-images
574+
taskRef:
575+
name: build-fragment-images
576+
kind: Task
577+
runAfter:
578+
- validate-catalog-format
579+
when:
580+
- &catalogFileChange
581+
input: "$(tasks.detect-changes.results.added_or_modified_catalogs)"
582+
operator: notin
583+
values: [""]
584+
params:
585+
- name: pipeline_image
586+
value: "$(params.pipeline_image)"
587+
- name: commit_sha
588+
value: $(params.git_commit)
589+
- name: affected_catalog_operators
590+
value: "$(tasks.detect-changes.results.added_or_modified_catalog_operators)"
591+
- name: fragment_repository
592+
value: "$(params.registry)/$(params.image_namespace)/catalog"
593+
workspaces:
594+
- name: source
595+
workspace: repository
596+
subPath: src
597+
- name: credentials
598+
workspace: registry-credentials
599+
600600
- name: verify-project
601601
runAfter:
602602
- get-pyxis-certification-data

0 commit comments

Comments
 (0)