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

Add e2e test suite #29

Merged
merged 21 commits into from
Jan 23, 2021
Merged

Add e2e test suite #29

merged 21 commits into from
Jan 23, 2021

Conversation

annismckenzie
Copy link
Owner

@annismckenzie annismckenzie commented Jan 11, 2021

This closes #27.

TODO:

  • add envtest binaries
  • add e2e test for K3OSConfig controller

@annismckenzie annismckenzie added this to the v0.3.0 milestone Jan 11, 2021
@annismckenzie annismckenzie self-assigned this Jan 11, 2021
@annismckenzie annismckenzie added go Pull requests that update Go code testing labels Jan 11, 2021
@annismckenzie annismckenzie force-pushed the add-e2e-test-suite branch 4 times, most recently from d81450a to 4237da4 Compare January 11, 2021 15:40
This completely replaces the configuration management that was kept
in various places with constants for environment variable names and
now there’s only once place to look for the configuration.
The configuration is now also strictly passed to the components that
need it so there’s no global config struct anywhere.
The whole feature was deprecated in the controller-runtime version
v0.8.0 and turned out to be rather easy to remove.
This was fun to put together. It’s still rather rough around the edges
and right now cares mostly about the happy path.
This was an oversight and was quick to add.
Previously I thought it’d be really hard to figure out whether updates
were necessary but with some TDD it was easy even if it took some time.
@annismckenzie annismckenzie force-pushed the add-e2e-test-suite branch 3 times, most recently from 24cb8ee to 49a1f72 Compare January 17, 2021 16:33
@annismckenzie annismckenzie merged commit e62769e into main Jan 23, 2021
@annismckenzie annismckenzie deleted the add-e2e-test-suite branch January 23, 2021 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add e2e test suite
1 participant