Skip to content

Conversation

@derekhiggins
Copy link
Collaborator

@derekhiggins derekhiggins commented Sep 10, 2025

test: remove ollama distribution testing, replace with starter

This focuses testing on the actively maintained starter distribution
while removing support for the older ollama image that's no longer updated.

Also intrduces a list of distro images (currently only 1) that can be tested.

test: combine creation and deletion into single lifecycle test

Restructure the creation test to run creation followed by deletion in a single
test suite. This enables testing multiple distribution images sequentially
with proper cleanup between runs.

Changes:
- Add TestCreationDeletionSuite that runs creation then deletion
- Replace TestDeletionSuite with runDeletionTests helper function
- Simplify test structure while maintaining all existing functionality

@Elbehery
Copy link

Nice work 👍🏽

LGTM

I am not in OWNERS here yet :)

@derekhiggins derekhiggins changed the title Test multi distros test: remove ollama distribution testing, replace with starter Sep 16, 2025
Copy link
Collaborator

@rhdedgar rhdedgar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I tested this with config/samples/example-with-configmap.yaml and config/samples/example-with-ca-bundle.yaml, both run as expected.

})
// Run combined creation and deletion tests for multiple distributions
// starter: newer image currently being actively updated
distributions := []string{"starter"}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to be able to detect the distro instead of having to change that code. Improvement for later I suppose.

Restructure the creation test to run creation followed by deletion in a single
test suite. This enables testing multiple distribution images sequentially
with proper cleanup between runs.

Changes:
- Add TestCreationDeletionSuite that runs creation then deletion
- Replace TestDeletionSuite with runDeletionTests helper function
- Simplify test structure while maintaining all existing functionality

Signed-off-by: Derek Higgins <derekh@redhat.com>
This focuses testing on the actively maintained starter distribution
while removing support for the older ollama image that's no longer updated.

Also intrduces a list of distro images (currently only 1) that can be tested.

Signed-off-by: Derek Higgins <derekh@redhat.com>
@mergify mergify bot merged commit f65cb85 into llamastack:main Sep 17, 2025
6 checks passed
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Sep 18, 2025
…stack#160)

test: remove ollama distribution testing, replace with starter

    This focuses testing on the actively maintained starter distribution
    while removing support for the older ollama image that's no longer updated.

    Also intrduces a list of distro images (currently only 1) that can be tested.

---
    test: combine creation and deletion into single lifecycle test

    Restructure the creation test to run creation followed by deletion in a single
    test suite. This enables testing multiple distribution images sequentially
    with proper cleanup between runs.

    Changes:
    - Add TestCreationDeletionSuite that runs creation then deletion
    - Replace TestDeletionSuite with runDeletionTests helper function
    - Simplify test structure while maintaining all existing functionality

Approved-by: rhdedgar

Approved-by: leseb
(cherry picked from commit f65cb85)
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Sep 18, 2025
…stack#160)

test: remove ollama distribution testing, replace with starter

    This focuses testing on the actively maintained starter distribution
    while removing support for the older ollama image that's no longer updated.

    Also intrduces a list of distro images (currently only 1) that can be tested.

---
    test: combine creation and deletion into single lifecycle test

    Restructure the creation test to run creation followed by deletion in a single
    test suite. This enables testing multiple distribution images sequentially
    with proper cleanup between runs.

    Changes:
    - Add TestCreationDeletionSuite that runs creation then deletion
    - Replace TestDeletionSuite with runDeletionTests helper function
    - Simplify test structure while maintaining all existing functionality

Approved-by: rhdedgar

Approved-by: leseb
(cherry picked from commit f65cb85)
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Sep 18, 2025
…stack#160)

test: remove ollama distribution testing, replace with starter

    This focuses testing on the actively maintained starter distribution
    while removing support for the older ollama image that's no longer updated.

    Also intrduces a list of distro images (currently only 1) that can be tested.

---
    test: combine creation and deletion into single lifecycle test

    Restructure the creation test to run creation followed by deletion in a single
    test suite. This enables testing multiple distribution images sequentially
    with proper cleanup between runs.

    Changes:
    - Add TestCreationDeletionSuite that runs creation then deletion
    - Replace TestDeletionSuite with runDeletionTests helper function
    - Simplify test structure while maintaining all existing functionality

Approved-by: rhdedgar

Approved-by: leseb
(cherry picked from commit f65cb85)
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.

4 participants