Continuous Deployments
Leapcell supports GitOps workflows, enabling automated application deployments through Git repositories. This approach enhances developer productivity, reduces human errors, and ensures code reliability.
What is GitOps?
GitOps is a Git-based continuous delivery model that stores application configurations and deployment states in a Git repository. In a GitOps workflow, changes made to the Git repository trigger automated processes to deploy and manage applications.
Currently, Leapcell monitors code changes in your main
branch. When new code is committed, Leapcell automatically builds and deploys the latest version of your application.
What is a Deployment?
Leapcell uses containers as the standard for deployment. The process is as follows:
-
Source Retrieval
- Clone your source code from the configured Git repository (commonly GitHub) and branch.
-
Build Command Execution
- Run your build command defined in project settings.
- Example:
- Python:
pip install -r requirements.txt
- Node.js:
npm install
- Python:
-
Image Build
- Send your code to Leapcell’s sandbox environment.
- Build a Docker image using
docker build
.
-
Frontend Optimization (Conditional)
- If your project matches Leapcell’s frontend deployment optimization:
- We will extract the static files from your build.
- Upload them automatically to your workspace’s default CDN for high-performance delivery.
- If your project matches Leapcell’s frontend deployment optimization: