Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow KinD clusters to be deleted or retained #14

Merged
merged 1 commit into from
Jun 17, 2024

Commits on Jun 17, 2024

  1. allow KinD clusters to be deleted or retained

    Modifies the KinD Fixture to make it more stable and more flexible.
    
    The default behaviour is for the KinD Fixture to delete the KinD cluster
    only if the KinD cluster existed before the Fixture is started.
    Similarly, if the KinD Cluster did *not* exist before the Fixture is
    started, the Fixture deletes the KinD Cluster when it is stopped.
    
    This commit adds a WithDeleteOnStop() and WithRetainOnStop() modifier to
    the KinD Fixture creation allowing users to indicate if they want to
    change that default behaviour.
    
    In addition to the above enhancements, this commit makes our testing
    more stable by adding some KinD cluster cleanup to our Makefile as well
    as serializing execution of longer-running, resource-intensive tests.
    
    Issue gdt-dev#13
    
    Signed-off-by: Jay Pipes <jaypipes@gmail.com>
    jaypipes committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    e85ca3e View commit details
    Browse the repository at this point in the history