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

e2e test: new framework + gen2 EKS cluster (MachineDeployment, MachinePool, AWSMachinePool) deployment & teardown #101

Closed
6 tasks done
bcle opened this issue Jun 23, 2022 · 6 comments

Comments

@bcle
Copy link
Collaborator

bcle commented Jun 23, 2022

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:

(More subtasks will be added as we progress)

Aha! Link: https://pf9.aha.io/features/ARLON-136

@bcle bcle added the size:XL label Jul 1, 2022
@cre8minus1 cre8minus1 added this to the 0.9.0 milestone Jul 6, 2022
@cre8minus1 cre8minus1 added the Needs Review For all new issues that are unplanned, have no milestone or project. label Jul 6, 2022
@cruizen
Copy link
Member

cruizen commented Aug 5, 2022

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.

@bcle
Copy link
Collaborator Author

bcle commented Aug 5, 2022

Sure, will do.

@bcle bcle self-assigned this Aug 17, 2022
@bcle bcle modified the milestones: 0.9.0, 0.10.0 Aug 24, 2022
@cruizen
Copy link
Member

cruizen commented Sep 13, 2022

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

@bcle bcle changed the title integration (e2e) test integration (e2e) tests Sep 20, 2022
@cruizen
Copy link
Member

cruizen commented Sep 30, 2022

The following frameworks look good candidates for integration test frameworks

Reference: https://dev.to/danquack/kubernetes-integration-testing-283d

@bcle bcle changed the title integration (e2e) tests e2e test: new framework, and gen2 EKS cluster (MachineDeployment, MachinePool, AWSMachinePool) deployment & teardown Sep 30, 2022
@bcle bcle changed the title e2e test: new framework, and gen2 EKS cluster (MachineDeployment, MachinePool, AWSMachinePool) deployment & teardown e2e test: possible new framework + gen2 EKS cluster (MachineDeployment, MachinePool, AWSMachinePool) deployment & teardown Sep 30, 2022
@bcle bcle assigned cruizen and Rohitrajak1807 and unassigned bcle Sep 30, 2022
@bcle
Copy link
Collaborator Author

bcle commented Sep 30, 2022

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.

@bcle bcle changed the title e2e test: possible new framework + gen2 EKS cluster (MachineDeployment, MachinePool, AWSMachinePool) deployment & teardown e2e test: new framework + gen2 EKS cluster (MachineDeployment, MachinePool, AWSMachinePool) deployment & teardown Sep 30, 2022
@cruizen cruizen added the testing label Oct 4, 2022
@Rohitrajak1807
Copy link
Member

@cruizen , @bcle, @jayanth-tjvrr and @ShaunakJoshi1407 Should we close this issue once #317 is closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

6 participants