Skip to content

Commit

Permalink
feat: use ci-helper-app
Browse files Browse the repository at this point in the history
  • Loading branch information
psturc committed Dec 18, 2024
1 parent 09780b5 commit 9b0a2e1
Showing 1 changed file with 24 additions and 30 deletions.
54 changes: 24 additions & 30 deletions integration-tests/pipelines/konflux-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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 @@ -58,7 +58,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 @@ -68,35 +68,19 @@ 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
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 @@ -110,6 +94,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: 2h
runAfter:
Expand All @@ -133,7 +119,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 @@ -146,18 +132,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 All @@ -181,14 +167,14 @@ 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/quality-dashboard/0.1/quality-dashboard-upload.yaml
params:
- 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 @@ -202,16 +188,16 @@ spec:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/konflux-qe-definitions.git
value: https://github.com/psturc/tekton-integration-catalog.git
- name: revision
value: main
value: KFLUXDP-42-fix
- name: pathInRepo
value: common/tasks/pull-request-comment/0.1/pull-request-comment.yaml
params:
- 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 @@ -223,4 +209,12 @@ spec:
- name: git-org
value: $(tasks.test-metadata.results.git-org)
- name: git-revision
value: $(tasks.test-metadata.results.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 9b0a2e1

Please sign in to comment.