-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support running e2e tests on AWS #45
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work @eaudetcobello, added couple of comments
we should probably get #22 in before this.
4764011
to
923b3cf
Compare
a259d47
to
9b7796f
Compare
f9ec39a
to
2f54e43
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final comments, then we should be good to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great stuff @eaudetcobello
Thanks for pushing through it.
cluster_upgrade_test.go → Here we replace the hardcoded reference to docker infrastructure and instead tell the test suite to resolve `. This is then read from the config. file of the test (I think), which lives at test/config/ck8s-{docker,aws}.yaml
create_test.go → same as above.
test/e2e/data/infrastructure-aws folder → this folder contains the templates that will be applied to the cluster during the test.
test/e2e/shared/v1beta1 → this defines the major and minor contract version of the core cluster api components that we use for the tests. (See ck8s-aws.yaml line 25)
test/e2e/shared/v1beta1_aws → this defines the major and minor contract version of the CAPA resources we deploy. (See ck8s-aws.yaml Line 38)
kcp_remediation_test.go, md_remediation_test.go, node_scale_test.go → Changed the hardcoded docker provider to clusterctl.DefaultInfrastructureProvider. Also, skip remediation tests on cloud provider.
Makefile -> added E2E_INFRA variable that can be specified like
E2E_INFRA=aws make test-e2e