The build and deploy pipeline, environments, and where things run.
How it works
The pipeline
When you push to a connected branch:
- A webhook tells Light Cloud there is a new commit.
- The commit is built with Cloud Build. If the repo needs a Dockerfile and has none, one is generated for your framework.
- A static build is uploaded to object storage and served from a global CDN. A container build is pushed to Artifact Registry and deployed to Cloud Run.
- The deploy is recorded with its commit, author, duration, status, and logs.
Applications and environments
An application is linked to one repository. It has one or more environments, one per connected branch. Each environment has its own URL, build settings, and environment variables. One environment is production and is protected. The rest are previews you can create and remove freely. See Preview environments.
Where it runs
Light Cloud runs on Google Cloud and a Cloudflare CDN. Containers run on Cloud Run, images are built by Cloud Build and stored in Artifact Registry, and static sites are served from the CDN. Databases run on Cloud SQL.