Torque provides on-demands sandbox environments integrating with test tools and storage providers to pull the artifacts and push to Production.
Using this orb you can integrate the Torque sandboxes into your CI/CD pipeline configure in CircleCI
-
Follow the instructions at the Orb Quick Start Guide to enable usage of Orbs in your projects workflow.
-
Set up the following environment variables in CircleCI project settings:
TORQUE_SERVER
- The url of Torque serverTORQUE_TOKEN
- The Torque Token which could be generate on integrations page of Torque SettingsTORQUE_SPACE
- The name of your Torque space -
In the config.yml, call the
torque/start-sandbox
andtorque/end-sandbox
to start and stop sandbox in Torque -
Supply parameters to customize orb behaviour (see the list of parameters for orb commands here
-
After starting Torque sandbox (
torque/start-sandbox
command) you can use the following environment variables in your job steps (the names of variable could be overridden):SANDBOX_ID
- the id of launched sandboxSANDBOX_DETAILS
- the full description of sandbox in json formatSB_<SANDBOX_ID>_SHORTCUT_<1...N>
- quick links of the sandbox