Skip to content

DevOps-Meta is a hands-on project that teaches students the core principles of DevOps. They'll learn Git, Jenkins, Docker, Grafana, and Ansible, and gain practical experience building and deploying an application.

License

Notifications You must be signed in to change notification settings

IM-TECHNO/devops-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devops-Metazord-Dockerize

This project is currently in development and is only for educational purposes. Happy Coding !

Warning : This project is still WIP !!!

Get Started locally

To get started, clone this repository using :

  git clone https://github.com/IM-TECHNO/devops-meta.git
  cd devops-meta

Install all the dependencies using pip :

  pip install -r requirements.txt

Then, start the webserver using :

  python main.py

Installation with Docker

Clone this repository :

  git clone https://github.com/IM-TECHNO/devops-meta.git
  cd devops-meta

Build using docker build :

    docker build --no-cache -t metazord-devops .

Run using docker run on port 5005 :

    docker run -p 5005:5005 metazord-devops

Running Tests

  • Before running any tests, create a 'reports' directory in the 'TestCase' folder. To run tests, run the following command :
  cd TestCase
  pytest -s -v testcase.py --disable-warnings --alluredir=reports

After completion, you can now view the report using :

  allure serve reports

NOTE : you may need to install Allure Command Line Tool and add it to your path.

Setting up Jenkins

  • Create a new Free-Style project with a title.
  • In the General>Advanced, enable 'Use custom workspace' and enter the project directory
  • In Build steps, select 'Execute a Windows batch command and enter the commands given below'
  call .\venv\Scripts\activate.bat
  pytest -s -v --disable-warnings --alluredir=reports TestCase\testcase.py
  • Select 'Post-build actions and select 'Allure Report'
  • In the path field, enter 'reports'
  • Click apply and you're done.

Roadmap

  • Additional browser support

  • Fully automate Jenkins deployment

License

MIT License

Authors

About

DevOps-Meta is a hands-on project that teaches students the core principles of DevOps. They'll learn Git, Jenkins, Docker, Grafana, and Ansible, and gain practical experience building and deploying an application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •