Zaroz
Git builds

Limits

These are the default limits. Some organizations have different ones: new organizations without a credit limit start with tighter limits, and support can raise them for an organization. Your own limits are shown where they apply, for example in the timeout field of the build settings.

Builds

LimitValueWhen it is reached
Builds running at once, per organization2 (1 for new organizations without a credit limit)The next builds wait in the queue.
Builds waiting, per organization20A new build is refused.
Builds per service1 running and 1 waitingA newer push replaces the waiting one, shown as Replaced by a newer build. A running build is never cancelled by a newer push.
Time in the queue6 hoursThe build expires: Expired in the queue.
Build time limit20 minutes by default, 5 to 60 (up to 30 for new organizations without a credit limit)The build stops with timeout.
Builder sizeSmall, medium and large. New organizations without a credit limit: up to mediumThe build is refused with builder_size_above_pool_max or builder_size_exceeds_pool_slots when a region does not offer it.

If the builders are busy, a build waits and the build page says why: your organization is at its limit, every builder is busy, or the spend cap has no room until a running build finishes. Waiting is fair between organizations: one organization at its limit never blocks the others.

Repository and image

LimitValueWhen it is reached
Repository, when cloned2 GiBrepo_too_large. Set a root directory, remove large files or use Git LFS.
Git LFS files1 GiBThe same.
Image size (compressed)10 GiBimage_too_large. Use a multi-stage build.

Caches and storage

LimitValue
Build layer cache5 GiB per service
Dependency cache3 GiB each, 5 GiB per service. Not used for 14 days: removed. Oldest first when full
Builder storage (images and cache)20 GiB per service. Over it: builder_storage_full
Images keptLive deployments, the previous deployment, the 10 latest successful builds and everything from the last 7 days. See Rollbacks

Logs and history

LimitValue
Build log size50,000 lines or 20 MiB. Past it the log is cut, with a marker
Build logs are kept30 days
Build history is kept13 months

Secrets, hooks and triggers

LimitValue
Build secrets50 per service, 64 KiB each. Names of up to 64 characters
Deploy hooks3 per service, 30 calls a minute each
Check for new commits (plain git)Every 3 minutes by default. A repository with a very large number of tags is checked less often
Wait for the build API callUp to 10 minutes per call. Call it again to keep waiting
Pre-deploy command10 minutes by default, up to 30
Health check wait5 minutes by default

Minutes

Build minutes, builder sizes, extra minutes and the spend cap are explained in Build minutes. The part of your limit that is about money lives in Settings > Builds: see Build settings.

Ask for more

If you hit a limit that your work needs, contact support and say which one and why. Limits that protect the builders, such as the build time, are raised for an organization after a look, not by default.

Last modified on