AWSDetonationLab
AWSDetonationLab copied to clipboard
Add automated tests and continuous integration
It would help a lot to have each PR automatically tested using a CI service such as Travis or Jenkins.
Hello again!
I have been doing some research on this issue. This is a huge project with lots of different components involved: we're deploying lots of instances with different roles inside the lab and test all that together in a single script is a crazy idea.
I propose doing a divide and conquer approach: that means, testing all our scripts separately. There are Amazon Linux Docker images we can use to run the deployment scripts of each linux instance in the detlab (we must take out hardcoded scripts from the CF template).
I am not yet sure about how to properly test the powershell deploy scripts for the Windows host.
To test the template there is no need to actually run the template. We know Amazon CF works properly, what needs to be tested is the content of the template. That means it would be nice to run some kind of validator to see all defined resources and syntax are correct. To do so we can use:
I have also been looking through the github marketplace and found several apps that could be helpful for us:
Best regards, Marta