nullstone-io / nullstone

Nullstone is a customizable developer platform launched on your cloud accounts.
https://nullstone.io
MIT License
39 stars 1 forks source link

Preview Environments #71

Open BSick7 opened 2 years ago

BSick7 commented 2 years ago

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)

  1. An org admin configures the cloud provider hosting the preview infrastructure.
  2. A user creates a preview environment.
    nullstone envs new --name=<name> --stack=<stack> --preview
  3. A user launches a preview environment.
    nullstone envs up --stack=<stack> --env=<env-name-from-previous-step>
  4. Nullstone provisions all infrastructure.
  5. If auto-build is enabled, builds and deploys code automatically.
  6. The user can build and deploy any code manually.