Skip to content

Introduce KUTTL tests#43

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-lightspeed:mainfrom
lpiwowar:lpiwowar/kuttl-tests
Dec 4, 2025
Merged

Introduce KUTTL tests#43
openshift-merge-bot[bot] merged 1 commit into
openstack-lightspeed:mainfrom
lpiwowar:lpiwowar/kuttl-tests

Conversation

@lpiwowar

@lpiwowar lpiwowar commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

Add comprehensive KUTTL tests for OpenStack Lightspeed operator
with two primary test scenarios:

  1. Deploy basic OpenStackLightspeed instance and verify OLSConfig
    is properly configured
  2. Update OpenStackLightspeed instance and verify OLSConfig
    reflects changes

Tests mock required dependencies (certificates, LLM API tokens,
and /chat/completions endpoint) to enable full deployment of OLS.

New Makefile targets:

  • kuttl-test: Run KUTTL tests only
  • kuttl-tests-run: Deploy operator, run tests, cleanup
  • kuttl: Install KUTTL binary

For locall testing it is recommeded to use make kuttl-tests-run as it
does all the required steps automatically.

@openshift-ci

openshift-ci Bot commented Nov 24, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lpiwowar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lpiwowar lpiwowar force-pushed the lpiwowar/kuttl-tests branch 3 times, most recently from a2242ab to c00651b Compare November 27, 2025 16:19
@lpiwowar lpiwowar force-pushed the lpiwowar/kuttl-tests branch 6 times, most recently from 93f0513 to 9cb5e69 Compare December 4, 2025 12:52
Comment thread kuttl-test.yaml Outdated
@lpiwowar lpiwowar force-pushed the lpiwowar/kuttl-tests branch 3 times, most recently from 8292889 to 22cf441 Compare December 4, 2025 14:18
@lpiwowar lpiwowar marked this pull request as ready for review December 4, 2025 14:20
@openshift-ci openshift-ci Bot requested review from Akrog and umago December 4, 2025 14:20
Add comprehensive KUTTL tests for OpenStack Lightspeed operator
with two primary test scenarios:

1. Deploy basic OpenStackLightspeed instance and verify OLSConfig
   is properly configured
2. Update OpenStackLightspeed instance and verify OLSConfig
   reflects changes

Tests mock required dependencies (certificates, LLM API tokens,
and /chat/completions endpoint) to enable full deployment of OLS.

New Makefile targets:
- kuttl-test: Run KUTTL tests only
- kuttl-tests-run: Deploy operator, run tests, cleanup
- kuttl: Install KUTTL binary

For locall testing it is recommeded to use make kuttl-tests-run as it
does all the required steps automatically.

Depends-On: openshift/release#71750
@lpiwowar lpiwowar force-pushed the lpiwowar/kuttl-tests branch from 22cf441 to 4e81399 Compare December 4, 2025 14:51
@umago

umago commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

/lgtm

Thanks for working on this @lpiwowar

@openshift-ci openshift-ci Bot added the lgtm label Dec 4, 2025
@openshift-merge-bot openshift-merge-bot Bot merged commit 10f0be4 into openstack-lightspeed:main Dec 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants