Unary · Prebuilds
Creates a prebuild for a project.
Use this method to:
- Create on-demand prebuilds for faster environment startup
- Trigger prebuilds after repository changes
- Generate prebuilds for specific environment classes
Examples
-
Create basic prebuild:
Creates a prebuild for a project using default settings.
-
Create prebuild with custom environment class:
Creates a prebuild with a specific environment class and timeout.
Endpoint
https://app.ona.com with that domain.
Request example
Request
gitpod.v1.CreatePrebuildRequest
Response
gitpod.v1.CreatePrebuildResponse
Related types
Prebuild
Prebuild
Prebuild represents a prebuild for a project that creates a snapshot
for faster environment startup times.
gitpod.v1.PrebuildPrebuildMetadata
PrebuildMetadata
PrebuildMetadata contains metadata about the prebuild
gitpod.v1.PrebuildMetadataPrebuildSpec
PrebuildSpec
PrebuildSpec contains the configuration used to create a prebuild
gitpod.v1.PrebuildSpecPrebuildStatus
PrebuildStatus
PrebuildStatus contains the current status and progress of a prebuild
gitpod.v1.PrebuildStatusPrebuildTrigger
PrebuildTrigger
PrebuildTrigger indicates how the prebuild was triggered
PrebuildPhase
PrebuildPhase
PrebuildPhase represents the lifecycle phase of a prebuild