Skip to content

A workflow pipeline for automatic testing of production modules. Once passed, modules can be deployed to a production server.

Notifications You must be signed in to change notification settings

Sherif-Elshafei/CI-CD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

Introduction

Here I showcase my proficiency in developing a test automation pipeline.

This is an example of the combined practices of continuous integration (CI) and continuous delivery (CD). CI-CD is a subset of prcesses of the DevOps process. I cover the development processes circled in red in the following diagram. devops-png-9

Usage instructions

  1. If you are going to use a self-hosted runner to run this workflow then you will need to create a new self-hosted runner on your system (essentially making your system accessible to Github to run th .yml script). In order to do that, you go to settings -> actions -> create a new runner -> follow the steps given. Whereas if you want to use another runner then you should modify (configure) the .yml file provided in this repository. Specifically, modify the values given to runs-on: to become ubuntu-22.04 or ubuntu-latest.
  2. Write your production code (the example in this repository is implemented in python) and save it as myFile.py
  3. Follow the guidelines provided in the example file to implement the unittest code and save it as test_myFile.py
  4. Push both files to the main branch. If you want to push to another branch you will have to modify (configure) the .yml file provided.

About

A workflow pipeline for automatic testing of production modules. Once passed, modules can be deployed to a production server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages