- This is a small python application that I made to try on 4 types of software testing and a DevOps pipeline.
-
The user login then manages products (CRUD). He can buy a product or get the price average.
-
I used sqlite3 for the database. It is initialised with databaseinit.py.
-
I used Flask for the web development.
- In each folder you will find one level of testing with its Readme file:
-
I integrated a CI/CD pipeline using GitHub Actions, Docker and Amazon ECS.
-
The main workflow consists of 3 jobs :
- Test
- 2 parallel jobs: Tests on python 3.8 and 3.9
- Build
- A docker image is built and pushed to Docker Hub
- Deploy
- The image is deployed to ECS with a service of 2 tasks and exposed on port 5000.
- If service is running, check App4Test here
- Test