OpenShift · Schema

BuildStrategy

Describes how to perform the build.

CI/CDCloud NativeContainersDevOpsEnterpriseKubernetesPaaS

Properties

Name Type Description
type string The type of build strategy.
sourceStrategy object
dockerStrategy object
customStrategy object
View JSON Schema on GitHub

JSON Schema

openshift-buildstrategy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BuildStrategy",
  "title": "BuildStrategy",
  "type": "object",
  "description": "Describes how to perform the build.",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of build strategy.",
      "enum": [
        "Source",
        "Docker",
        "Custom"
      ],
      "example": "Source"
    },
    "sourceStrategy": {
      "$ref": "#/components/schemas/SourceBuildStrategy"
    },
    "dockerStrategy": {
      "$ref": "#/components/schemas/DockerBuildStrategy"
    },
    "customStrategy": {
      "$ref": "#/components/schemas/CustomBuildStrategy"
    }
  }
}