This project is currently in development and is only for educational purposes. Happy Coding !
Warning : This project is still WIP !!!
To get started, clone this repository using :
git clone https://github.com/IM-TECHNO/devops-meta.git
cd devops-metaInstall all the dependencies using pip :
pip install -r requirements.txtThen, start the webserver using :
python main.pyClone this repository :
git clone https://github.com/IM-TECHNO/devops-meta.git
cd devops-metaBuild using docker build :
docker build --no-cache -t metazord-devops .Run using docker run on port 5005 :
docker run -p 5005:5005 metazord-devops- 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=reportsAfter completion, you can now view the report using :
allure serve reportsNOTE : you may need to install Allure Command Line Tool and add it to your path.
- 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.
-
Additional browser support
-
Fully automate Jenkins deployment