CloudShell Colony 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 CloudShell Colony 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:
CS_COLONY_SERVER- The url of CloudShell Colony serverCS_COLONY_TOKEN- The Colony Token which could be generate on integrations page of Colony SettingsCS_COLONY_SPACE- The name of your CloudShell Colony space -
In the config.yml, call the
cloudshell-colony/start-sandboxandcloudshell-colony/end-sandboxto start and stop sandbox in Colony -
Supply parameters to customize orb behaviour (see the list of parameters for orb commands here
-
After starting colony sandbox (
cloudshell-colony/start-sandboxcommand) 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