nullstone
nullstone copied to clipboard
Preview Environments
Overview
A preview environment is a short-lived, non-production environment for hosting new/in-development functionality to run quality checks, performance verifications, and customer demos.
Most companies require checks to pass before deploying in-development code to their pipeline (i.e., dev, staging, prod). This allows a safe circumvent to allow for rapid iteration and feedback.
How does it work?
(The following workflow can happen through GitHub hooks, the Nullstone CLI, and/or Nullstone UI)
- An org admin configures the cloud provider hosting the preview infrastructure.
- A user creates a preview environment.
nullstone envs new --name=<name> --stack=<stack> --preview
- A user launches a preview environment.
nullstone envs up --stack=<stack> --env=<env-name-from-previous-step>
- Nullstone provisions all infrastructure.
- If auto-build is enabled, builds and deploys code automatically.
- The user can build and deploy any code manually.