Skip to content

malkiqmuki/CI-CD-Exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔄 CI/CD Exercise

CI GitHub last commit GitHub repo size Made with

This repository demonstrates CI/CD concepts and automation.

Pipeline


📖 Description

This repository demonstrates core concepts of Continuous Integration (CI) and Continuous Delivery/Deployment (CD).
The goal is to show:

  • How to automatically build and test a project
  • How to use GitHub Actions (or another pipeline tool)
  • How to implement a good workflow for team collaboration

🛠️ Technologies Used

  • GitHub Actions – automating builds and tests
  • Node.js / Java / Python – (replace with your project language)
  • Docker – (optional, for containerization)
  • Unit/Integration Tests – to validate functionality
  • GitHub – for version control and CI/CD pipeline

🚀 How It Works

  1. CI Steps:
    • Install dependencies
    • Run unit tests
    • Check code style and quality (linting)
  2. CD Steps (if any):
    • Build the project
    • Deploy to a test environment
    • (Optional) Automatic deployment to production

🔍 Example GitHub Actions Workflow

name: CI Pipeline

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

jobs:
  build-and-test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Set up Node.js
        uses: actions/setup-node@v3
        with:
          node-version: "18"

      - name: Install dependencies
        run: npm install

      - name: Run tests
        run: npm test

✅ Benefits

Demonstrates automated testing

Shows DevOps skills

Easy to extend with linters, Docker, and deployment steps

🔥 Ideas for Improvements

Add Code Coverage Reports ✅

Automatically generate Docker images

Integrate with Slack/Teams for notifications

Deploy to cloud platforms (Heroku, AWS, Azure)

👨‍💻 Author

GitHub: malkiqmuki

About

Demonstrates a full CI/CD pipeline using GitHub Actions, with automated builds, tests, and optional deployments. (Това показва DevOps умения и разбиране на автоматизацията.)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors