Konflux operator integration test#105
Conversation
|
/ok-to-test |
41d18bd to
703a458
Compare
|
/ok-to-test |
1 similar comment
|
/ok-to-test |
703a458 to
2fd5e19
Compare
|
/retest |
1 similar comment
|
/retest |
82f03d4 to
89e6493
Compare
|
Caution There are some errors in your PipelineRun template.
|
935fa2d to
74dbe55
Compare
|
/retest |
762df94 to
9348d5f
Compare
9348d5f to
888e847
Compare
|
/retest |
888e847 to
0184f23
Compare
|
/retest |
d3f83b9 to
a42fb1c
Compare
svghadi
left a comment
There was a problem hiding this comment.
LGTM.
Thanks @AdamSaleh . This is great work. It will definitely speed up release testing.
| params: | ||
| - description: Snapshot of the application | ||
| name: SNAPSHOT | ||
| default: '{"components": [{"name":"gitops-operator-bundle-main", "containerImage": "quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/gitops-operator-bundle:latest"}]}' |
There was a problem hiding this comment.
| default: '{"components": [{"name":"gitops-operator-bundle-main", "containerImage": "quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/gitops-operator-bundle:latest"}]}' | |
| default: '{"components": [{"name":"gitops-operator-bundle-main", "containerImage": "quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/gitops-operator-bundle:main"}]}' |
There is no latest tag published by the konflux pipeline
There was a problem hiding this comment.
Fortunately I get that filled by the pipeline, but point taken, will ammend :D
| - name: imageContentSources | ||
| value: | |
There was a problem hiding this comment.
We need to make a note somewhere to update these values when https://github.com/rh-gitops-midstream/catalog/blob/main/.tekton/images-mirror-set.yaml changes
There was a problem hiding this comment.
Ok, I will look into this and see if I can fetch the yaml instead. There should be a param in that step for that.
| value: "quay.io/devtools_gitops/test_image" | ||
| script: | | ||
| #!/bin/bash | ||
| /usr/local/bin/run-and-save-logs.sh /usr/local/bin/install-operator.sh |
There was a problem hiding this comment.
I presume we will have another PR to make this configurable to install the operator version to test.
There was a problem hiding this comment.
Hm ... I think I could actually make this configurable from the pipeline parameters configurable in konflux.
Probably:
- version or channel for the operator
- version of the openshift to provision
With these two we would have single pipeline be able to cover reasonable amount of the testing ~matrix
| - name: BRANCH | ||
| value: "master" |
There was a problem hiding this comment.
Same as previous comment.
|
/retest |
1 similar comment
|
/retest |
b880081 to
8511fb9
Compare
|
/retest |
d0b8e3a to
0486ac2
Compare
|
/retest |
a1078f5 to
a3ad998
Compare
|
/retest |
1 similar comment
|
/retest |
dba2d0f to
6757062
Compare
There are currently four test-suites being run: - gitops-operator's e2e ginkgo test-suite, sharded into 3 scripts - the rollouts e2e tests - gitops operator's ui test verifying login (more tests to come) - the argocd tests in a separate pipeline There is simple parametrized pipeline, where you can choose: - the openshift version - size of cluster nodes - the channel to be used in the catalog - the test-script to run Secont separate pipeline installs standalone argocd and runs the e2e tests All the tests are run from precompiled docker image, the pipeline will check at the start and build them if hte images were changed. The test and utility scripts always get copied. The logs get uploaded to quay. At the end of the pipeline, it will send a message to gitops-test-notification channel on slack The code is mostly authored by prompting claude and tested against the v1.20 branch of the catalog repo. Assisted-by: Claude <usersafety@anthropic.com> Signed-off-by: Adam Saleh <adam@asaleh.net>
6757062 to
e623277
Compare
This should be ready for review.
The code itself was produced mostly by claude but I reviewed and tested it extensively.
Intent of the pipeline:
Outstanding questions: