If you have forked this repo, then connect with Razorops to create your demo pipeline by following the below button
This is an example code to demonstrate how to create Python based pipeline on Razorops.
It's a simple API written in Flask framework in Python and includes a test suite.
-
Use
pip
to install the dependencies -pip install -r requirements.txt
-
To start the server in development mode run -
python app.py
Run following commands to execute the test suite -
python test.py
If you're new to Razorops, feel free to fork this repository and use it to create a project.
.razorops.yaml
contains the pipeline code to build and execute the tests for this project. To know more about how to write and customize, refer to the documentation. Here is the link of the pipeline workflows page.
- This example uses the Ubuntu based Linux-VM build envirement, which has a subset of python versions available. If you want to customize version, you can use Docker based build envioronment. For more details, please refer to "Choose Python version"
- How to integrate Junit reports with Razorops.
- How to cache dependencies to speed-up the workflow.
Copyright (c) 2024 Razorops LLC
Distributed under the MIT License. See the file LICENSE.md.