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

Migrate test suite to single-node Kubernetes infrastructure #73

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

mirekys
Copy link
Member

@mirekys mirekys commented Feb 23, 2023

This PR is an attempt to migrate ocm test scenarios to be able to run on a k{38}s cluster in order to make it much easier to deploy, debug and manage test scenarios, and to test the whole infrastructure.

  • Suggested workflow would be like:
$ ./bootstrap.sh                    # Sets up Docker images, Helm repositories, Kubernetes cluster resources, etc...
$ ./deploy.sh [path-to-scenario]    # Deploys a selected scenario to the k{38}s cluster
$ ./ingress-proxy.sh                # Starts a port-forwarding proxy to the k{38}s cluster ingress controller
$ ./cleanup.sh [path-to-scenario]   # Completely uninstalls a selected test scenario
  • Available test scenarios can be found under ./k8s/tests

  • Each test scenario must provide at least its own deploy.sh and cleanup.sh script, which
    manages k{38}s resources related to it.

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.

1 participant