Commit 0fd9ff6
feat(RELEASE-2158): add self-hosted Quay e2e test
Add a new e2e test pipeline that validates push-to-external-registry
works with self-hosted Quay. Unlike other e2e tests which use the
stage cluster, this one uses an ephemeral Kind cluster where Quay is
deployed and used for testing.
The test runs an inline taskSpec that clones release-service-catalog
at the PR's commit SHA and runs a test-kind.sh script directly,
keeping e2e test ownership in this repo. The pipeline discovery
script is updated so the test triggers alongside
push-to-external-registry changes.
Two changes were made to the push-to-external-registry pipeline to
ensure its compatibility with self-hosted Quay:
- Mount the ca-bundle.crt from trusted-ca configmap to
/etc/ssl/certs/. This ensures that the self-signed CA cert of the
internal Quay instance is known to 3rd party tools like skopeo
and cosign. Without it, the tools would fail with a TLS error.
- Update regexes to support a Quay URL with a port number. The
regexes assumed only one ":" would be present in the url.
Several other changes were made to support this functionality:
- Mounting the CA bundle in Conforma task[1]
- Support self-hosted Quay deployment in the Kind cluster[2]
- Add init-quay task and skip-quay parameter[3]
[1] conforma/cli#3148
[2] konflux-ci/konflux-ci#5689
[3] konflux-ci/tekton-integration-catalog#272
Assisted-by: Cursor
Signed-off-by: Lubomir Gallovic <lgallovi@redhat.com>1 parent e8177aa commit 0fd9ff6
30 files changed
Lines changed: 1119 additions & 5 deletions
File tree
- integration-tests
- lib
- pipelines
- push-to-external-registry-self-hosted-quay
- resources
- managed
- tenant
- vault
- scripts
- tasks/managed
- apply-mapping
- check-data-keys
- collect-data
- collect-registry-token-secret
- collect-task-params
- filter-already-released-images
- make-repo-public
- push-snapshot
- reduce-snapshot
- update-cr-status
- verify-access-to-resources
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
526 | 590 | | |
527 | 591 | | |
528 | 592 | | |
| |||
0 commit comments