Skip to content

MelekElloumi/software-testing-devops-pipeline

Repository files navigation

App 4 Software Testing & DevOps Pipeline

  • This is a small python application that I made to try on 4 types of software testing and a DevOps pipeline.

App4Test Description

  • 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.

    Execution:

    2014-10-22 11_35_09

Software Testing

DevOps Pipeline

example workflow

  • I integrated a CI/CD pipeline using GitHub Actions, Docker and Amazon ECS.

  • The main workflow consists of 3 jobs :

    1. Test
      • 2 parallel jobs: Tests on python 3.8 and 3.9
    2. Build
      • A docker image is built and pushed to Docker Hub
    3. 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

    Pipeline:

    Imgur

    Deployed app:

    Imgur