App Spec Job
data class AppSpecJob(val alerts: List<AppSpecJobAlert>? = null, val buildCommand: String? = null, val dockerfilePath: String? = null, val environmentSlug: String? = null, val envs: List<AppSpecJobEnv>? = null, val git: AppSpecJobGit? = null, val github: AppSpecJobGithub? = null, val gitlab: AppSpecJobGitlab? = null, val image: AppSpecJobImage? = null, val instanceCount: Int? = null, val instanceSizeSlug: String? = null, val kind: String? = null, val logDestinations: List<AppSpecJobLogDestination>? = null, val name: String, val runCommand: String? = null, val sourceDir: String? = null)
Constructors
Link copied to clipboard
fun AppSpecJob(alerts: List<AppSpecJobAlert>? = null, buildCommand: String? = null, dockerfilePath: String? = null, environmentSlug: String? = null, envs: List<AppSpecJobEnv>? = null, git: AppSpecJobGit? = null, github: AppSpecJobGithub? = null, gitlab: AppSpecJobGitlab? = null, image: AppSpecJobImage? = null, instanceCount: Int? = null, instanceSizeSlug: String? = null, kind: String? = null, logDestinations: List<AppSpecJobLogDestination>? = null, name: String, runCommand: String? = null, sourceDir: String? = null)
Types
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git
, github
, gitlab
, or image
may be set.
Link copied to clipboard
A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git
, github
, gitlab
, or image
may be set.
Link copied to clipboard
Link copied to clipboard
The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (doctl apps tier instance-size list
). Default: basic-xxs
Link copied to clipboard
Link copied to clipboard