Skip to content

Commit

Permalink
feat(KFLUXDP-109): enable test-results-analyzer (#777)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Sturc <[email protected]>
  • Loading branch information
psturc authored Jan 21, 2025
1 parent da61623 commit d4cffbe
Showing 1 changed file with 22 additions and 28 deletions.
50 changes: 22 additions & 28 deletions integration-tests/pipelines/konflux-e2e-tests-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/konflux-qe-definitions.git
value: https://github.com/konflux-ci/tekton-integration-catalog.git
- name: revision
value: main
- name: pathInRepo
Expand All @@ -61,7 +61,7 @@ spec:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/konflux-qe-definitions.git
value: https://github.com/konflux-ci/tekton-integration-catalog.git
- name: revision
value: main
- name: pathInRepo
Expand All @@ -71,21 +71,6 @@ spec:
value: $(params.SNAPSHOT)
- name: test-name
value: $(context.pipelineRun.name)
- name: create-oci-container
taskRef:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/konflux-qe-definitions.git
- name: revision
value: main
- name: pathInRepo
value: common/tasks/create-oci-artifact/0.1/create-oci-artifact.yaml
params:
- name: oci-container-repo
value: $(params.oci-container-repo)
- name: oci-container-tag
value: $(context.pipelineRun.name)
- name: provision-rosa
when:
- input: "$(tasks.test-metadata.results.pull-request-author)"
Expand All @@ -94,16 +79,15 @@ spec:
runAfter:
- rosa-hcp-metadata
- test-metadata
- create-oci-container
taskRef:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/konflux-qe-definitions.git
value: https://github.com/konflux-ci/tekton-integration-catalog.git
- name: revision
value: main
- name: pathInRepo
value: common/tasks/rosa/hosted-cp/rosa-hcp-provision/rosa-hcp-provision.yaml
value: tasks/rosa/hosted-cp/rosa-hcp-provision/0.2/rosa-hcp-provision.yaml
params:
- name: cluster-name
value: "$(tasks.rosa-hcp-metadata.results.cluster-name)"
Expand All @@ -117,6 +101,8 @@ spec:
value: "$(params.konflux-test-infra-secret)"
- name: cloud-credential-key
value: "$(params.cloud-credential-key)"
- name: oci-container
value: "$(params.oci-container-repo):$(context.pipelineRun.name)"
- name: konflux-e2e-tests
timeout: 3h
when:
Expand Down Expand Up @@ -144,7 +130,7 @@ spec:
- name: git-revision
value: "$(tasks.test-metadata.results.git-revision)"
- name: oras-container
value: "$(tasks.create-oci-container.results.oci-container)"
value: "$(params.oci-container-repo):$(context.pipelineRun.name)"
- name: job-spec
value: "$(tasks.test-metadata.results.job-spec)"
- name: ocp-login-command
Expand All @@ -161,18 +147,18 @@ spec:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/konflux-qe-definitions.git
value: https://github.com/konflux-ci/tekton-integration-catalog.git
- name: revision
value: main
- name: pathInRepo
value: common/tasks/rosa/hosted-cp/rosa-hcp-deprovision/rosa-hcp-deprovision.yaml
value: tasks/rosa/hosted-cp/rosa-hcp-deprovision/0.2/rosa-hcp-deprovision.yaml
params:
- name: test-name
value: "$(context.pipelineRun.name)"
- name: ocp-login-command
value: "$(tasks.provision-rosa.results.ocp-login-command)"
- name: oci-container
value: "$(tasks.create-oci-container.results.oci-container)"
value: "$(params.oci-container-repo):$(context.pipelineRun.name)"
- name: pull-request-author
value: "$(tasks.test-metadata.results.pull-request-author)"
- name: git-revision
Expand Down Expand Up @@ -200,7 +186,7 @@ spec:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/konflux-qe-definitions.git
value: https://github.com/konflux-ci/tekton-integration-catalog.git
- name: revision
value: main
- name: pathInRepo
Expand All @@ -209,7 +195,7 @@ spec:
- name: test-name
value: "$(context.pipelineRun.name)"
- name: oci-container
value: "$(tasks.create-oci-container.results.oci-container)"
value: "$(params.oci-container-repo):$(context.pipelineRun.name)"
- name: quality-dashboard-api
value: $(params.quality-dashboard-api)
- name: pipeline-aggregate-status
Expand All @@ -225,7 +211,7 @@ spec:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/konflux-qe-definitions.git
value: https://github.com/konflux-ci/tekton-integration-catalog.git
- name: revision
value: main
- name: pathInRepo
Expand All @@ -234,7 +220,7 @@ spec:
- name: test-name
value: "$(context.pipelineRun.name)"
- name: oci-container
value: "$(tasks.create-oci-container.results.oci-container)"
value: "$(params.oci-container-repo):$(context.pipelineRun.name)"
- name: pipeline-aggregate-status
value: "$(tasks.status)"
- name: pull-request-author
Expand All @@ -247,3 +233,11 @@ spec:
value: "$(tasks.test-metadata.results.git-org)"
- name: git-revision
value: "$(tasks.test-metadata.results.git-revision)"
- name: junit-report-name
value: e2e-report.xml
- name: e2e-log-name
value: e2e-tests.log
- name: cluster-provision-log-name
value: cluster-provision.log
- name: enable-test-results-analysis
value: "true"

0 comments on commit d4cffbe

Please sign in to comment.