Skip to content

MohamedBabker/CICD-assignment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# CICD-assignment This repository is a sample Python project designed to demonstrate the implementation of Continuous Integration and Continuous Delivery (CI/CD) pipelines. It is intended as an assignment for exploring automated testing, build processes, and deployment strategies. ## Project Structure - **.**: Contains the Flask API backend. - **.github/workflows/**: GitHub Actions configuration files for CI/CD. - **docker-compose.yml**: Orchestrates the dockerfile ## Getting Started ### Prerequisites - [Docker](https://docs.docker.com/get-docker/) - [Docker Compose](https://docs.docker.com/compose/) ### Installation Clone the repository and change into the project directory: ```bash git clone https://github.com/hpcclab/CICD-assignment cd CICD-assignment ``` ## Running the Application Build and start the services with Docker Compose: (simple) ```bash python .\app.py ``` Using Docker - ```bash docker-compose up --build ``` ### By Default - The **React frontend** will be available at [http://localhost:3000](http://localhost:3000) - The **Flask backend API** will run at [http://localhost:5000](http://localhost:5000) ### CI/CD This repository is set up with GitHub Actions to automatically run tests and build Docker images on commits and pull requests. The CI/CD configuration can be found in the `.github/workflows` directory. Triggering CI/CD Triggering CI/CD Trigger pipeline Final deployment test test deploy fix trigger login fix using environment secrets test environment secrets fix cleaned up duplicate YAML file

About

This is a CICD pipeline assignment for the software engineering course

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 57.9%
  • Dockerfile 42.1%