Create an IntegrationTestScenario#40
Merged
Merged
Conversation
f07d7e7 to
f7385df
Compare
This patch adds a definition for an integration test that is triggered by Konflux after each build. The test exercises most of the API. The `.tekton/cts-integration-test.yaml` is the actual K8S CRD that needs to be created in the cluster. The test pipeline uses an ephemeral namespace in which it starts a PostgreSQL database and CTS from the currently built image. There is a code change in the service itself to enable setting database URL in DevConfiguration. Assisted-By: Claude
f7385df to
d6019c8
Compare
d48c8d8 to
23b469f
Compare
This way we don't have to work around the networking with explicit kubectl exec around each request. Assisted-By: Claude
23b469f to
e9ab84e
Compare
hlin
reviewed
Nov 11, 2025
Contributor
|
👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch adds a definition for an integration test that is triggered by Konflux after each build. The test exercises most of the API.
The
.tekton/cts-integration-test.yamlis the actual K8S CRD that needs to be created in the cluster.The test pipeline uses an ephemeral namespace in which it starts a PostgreSQL database and CTS from the currently built image.
There is a code change in the service itself to enable setting database URL in DevConfiguration.
Most of the yamls have been generated by Claude Code.
I have manually created the ITS in the public cluster to use the pipeline from this branch. Once/If merged, it needs to be updated (though ideally it should be deployed through gitops).