-
Notifications
You must be signed in to change notification settings - Fork 15
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
[POC] HANA scale-up e2e tests with a real cluster #1337
Conversation
a87d462
to
c9f3888
Compare
e2be05c
to
77fa296
Compare
77fa296
to
36beb6a
Compare
- name: Checkout terraform repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: fabriziosestito/trento-e2e |
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.
MEMO to self: change to main repo when decided which AMI to use
36beb6a
to
b02762b
Compare
0ce3822
to
bdf35ac
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.
Great job @fabriziosestito
Really valuable
PD: I think unfortunately already got outdated with the latest changes on the trento-ansible
project
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!
So this is only dispatched on demand, right?
Super cool
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.
Cool! 🚀
This PR is a PoC that adds an automated test that spins up a HANA scale-up cluster.
The test involves running checks and comparing the output with the expected results.
It can be used as a base to script other automated tests or scenarios.
It uses Terraform to deploy a real infrastructure on AWS, ansible to deploy trento server and the agents, and cypress to run the e2e tests.
Destroying the infrastructure requires a workaround since the VPC is created with some dependencies that Terraform doesn't seem to be able to manage.
I've added a Cypress env variable to skip photofinish scenario loading at the beginning of the test, and to make the test skippable in the current e2e tests. Maybe in the future we should separate the test folders.
As for now, the action can be triggered by a
workflow_dispatch
event (manually) and only works with the rolling version of trento.In the future, we could consider deploying a specific commit, generalize the version for another scenario, and use composite actions.