Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use ci-helper-app #387

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 23 additions & 29 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,7 +188,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 @@ -211,7 +197,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 @@ -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"
Loading