Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.33 KB

File metadata and controls

50 lines (31 loc) · 1.33 KB

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

Installation

Clone the repository and change into the project directory:

git clone https://github.com/hpcclab/CICD-assignment
cd CICD-assignment

Running the Application

Build and start the services with Docker Compose:

(simple)

python .\app.py

Using Docker -

docker-compose up --build

By Default

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.