Skip to content

Create an IntegrationTestScenario#40

Merged
lubomir merged 3 commits into
mainfrom
integration-test
Nov 12, 2025
Merged

Create an IntegrationTestScenario#40
lubomir merged 3 commits into
mainfrom
integration-test

Conversation

@lubomir

@lubomir lubomir commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

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.

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).

@lubomir lubomir force-pushed the integration-test branch 4 times, most recently from f07d7e7 to f7385df Compare November 6, 2025 14:19
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
@lubomir lubomir changed the title Draft: Create an IntegrationTestScenario Create an IntegrationTestScenario Nov 6, 2025
@lubomir lubomir force-pushed the integration-test branch 6 times, most recently from d48c8d8 to 23b469f Compare November 10, 2025 10:09
This way we don't have to work around the networking with explicit
kubectl exec around each request.

Assisted-By: Claude
Comment thread .tekton/README-INTEGRATION-TESTS.md Outdated
@hlin

hlin commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

👍

@lubomir lubomir merged commit f53da79 into main Nov 12, 2025
4 checks passed
@lubomir lubomir deleted the integration-test branch November 12, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants