This application was made specially for the Test and Devops workshops, it was fully inspired from one of freeCodeCamp.org tutorials and it was a great opportunity to work with flask.
A simple task manager app created with flask and SQLite :
- It contains 2 models : User and Task
- User can sign up , sign in and have his own space to manage his to do lists
As part of The Software Testing Lab, We will be performing four levels of tests : in each folder you'll find more details about tests treated :
CI/CD Pipeline on Push in the Main Branch :
- Test: Run Unit Tests , Integration Tests and E2E tests.
- Build and Release: Build the Docker Image and push it to Dockerhub.
- Deploy:
- SSH into the EC2 instance.
- Kill the docker container that's currently running and remove it.
- Pull the new image.
- Run the new image.