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

test(e2e): detect local cluster for local e2e tests #1029

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheSpiritXIII
Copy link
Member

Reintroduces code from last year to detect the local cluster.

This allows you to run a single test locally, e.g. via go test or your IDE.

This is a minimal PR:

  • You must clean-up your cluster manually before and after the test, e.g. kubectl delete -f manifests/operator.yaml && kubectl delete -f manifests/setup.yaml.
  • You cannot run multiple tests due to the above restriction.
  • You must build your image manunally before the test, e,g, DOCKER_PUSH=1 make operator.

@TheSpiritXIII TheSpiritXIII changed the title tests(e2e): detect local cluster for local e2e tests test(e2e): detect local cluster for local e2e tests Jun 13, 2024
@TheSpiritXIII TheSpiritXIII marked this pull request as ready for review June 14, 2024 13:18
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.

None yet

1 participant