CircleCI Plugin
The Quali Jarvis plugin lets developers trigger application environments on-demand directly from their CircleCI pipelines. CircleCI users can easily integrate the Jarvis environments-as-a-service platform into their projects by utilizing by utilizing the Jarvis orbβs pre-defined commands.
To integrate Jarvis with the CircleCI plugin, make sure to complete the next few steps.
1. Installβ
-
In the CircleCI web app, navigate to the Projects section and select Project Settings from the menu next to your repository.
-
Open the Environment Variables page.
-
Add the following three variables:
- TORQUE_SERVER: The URL of your Jarvis server (https://portal.qtorque.io).
- TORQUE_SPACE: The name of your space in Jarvis.
- TORQUE_TOKEN: Use the token you generate below
-
Click the Generate New Token button in the plugin's instructions pane.
2. Configureβ
Using the torque orb in your config file
-
In your repository, edit the .circleci/config.yml file and add torque to the orbs list. Example:
orbs:
torque: quali/torque@1.1.0
It is recommended to use the latest release version.
3. Verify and launchβ
Use Jarvis's tasks in your CircleCI workflow
Add the torque/start-sandbox and torque/end-sandbox commands to start and stop the environment in Jarvis. Review examples here. See the parameters list for orb behavior command customization here.