Skip to content

Commit

Permalink
chore: skip e2e check for prs from konflux (#639)
Browse files Browse the repository at this point in the history
Signed-off-by: Jing Qi <[email protected]>
  • Loading branch information
jinqi7 authored Oct 30, 2024
1 parent a1aabe7 commit 75d9063
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions integration-tests/pipelines/konflux-e2e-tests-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ spec:
- name: oci-container-tag
value: $(context.pipelineRun.name)
- name: provision-rosa
when:
- input: "$(tasks.test-metadata.results.pull-request-author)"
operator: notin
values: ["red-hat-konflux"]
runAfter:
- rosa-hcp-metadata
- test-metadata
Expand Down Expand Up @@ -115,6 +119,10 @@ spec:
value: "$(params.cloud-credential-key)"
- name: konflux-e2e-tests
timeout: 3h
when:
- input: "$(tasks.test-metadata.results.pull-request-author)"
operator: notin
values: ["red-hat-konflux"]
runAfter:
- provision-rosa
taskRef:
Expand Down Expand Up @@ -145,6 +153,10 @@ spec:
value: "$(tasks.test-metadata.results.container-image)"
finally:
- name: deprovision-rosa-collect-artifacts
when:
- input: "$(tasks.test-metadata.results.pull-request-author)"
operator: notin
values: ["red-hat-konflux"]
taskRef:
resolver: git
params:
Expand Down Expand Up @@ -180,6 +192,10 @@ spec:
- name: pipeline-aggregate-status
value: "$(tasks.status)"
- name: quality-dashboard-upload
when:
- input: "$(tasks.test-metadata.results.pull-request-author)"
operator: notin
values: ["red-hat-konflux"]
taskRef:
resolver: git
params:
Expand All @@ -201,6 +217,10 @@ spec:
- name: test-event-type
value: "$(tasks.test-metadata.results.test-event-type)"
- name: pull-request-status-message
when:
- input: "$(tasks.test-metadata.results.pull-request-author)"
operator: notin
values: ["red-hat-konflux"]
taskRef:
resolver: git
params:
Expand Down

0 comments on commit 75d9063

Please sign in to comment.