arlon
arlon copied to clipboard
e2e test: new framework + gen2 EKS cluster (MachineDeployment, MachinePool, AWSMachinePool) deployment & teardown
We need an integration test to regression test the main features of arlon:
- cluster creation from base cluster, with optional profile
- applying a profile to a base cluster
- modifying a base cluster (for e.g. k8s version upgrade) and verifying that linked clusters created from it are updated
- modifying a profile (e.g. its app/bundle composition) and verifying that clusters linked to it are updated
Subtasks:
- [x] #256
- [x] #257
- [ ] #264
- [ ] #273 (More subtasks will be added as we progress)
Aha! Link: https://pf9.aha.io/features/ARLON-136
Hi @bcle , Rohit and I would like to contribute here but have no experience with the related frameworks for our tech-stack. Can you get us started with the framework selection and some initial examples? I can help you with a spike next week for any related investigations.
The rest of us can will then chime in a couple of weeks later to add integration tests for respective areas that we have worked on.
Sure, will do.
It will be good to add the following to the existing framework
- programmatic assertions
- integration in CI/CD
- Use of golang/ python framework that can be integrated in CI system
The following frameworks look good candidates for integration test frameworks
Reference: https://dev.to/danquack/kubernetes-integration-testing-283d
Renamed issue. We currently have the bash script based smoke test using testing/ensure_testbed.sh
and testing/test_basecluster_deploy_with_capd.sh
. The smoke test uses CAPD and might be lightweight enough to run in a Github Action VM.
We probably need a new framework/setup for true E2E test, and since EKS has become the most important type of cluster, I combined the framework with the EKS e2e test(s) for this issue.
@cruizen , @bcle, @jayanth-tjvrr and @ShaunakJoshi1407 Should we close this issue once #317 is closed?