Skip to content

Commit

Permalink
chore: bump schema version to v4beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-prindle committed Feb 9, 2023
1 parent 896dda5 commit 1a98ce6
Show file tree
Hide file tree
Showing 142 changed files with 6,776 additions and 168 deletions.
2 changes: 1 addition & 1 deletion docs-v2/content/en/docs/references/cli/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ Options:
--overwrite=false: Overwrite original config with fixed config
--remote-cache-dir='': Specify the location of the git repositories cache (default $HOME/.skaffold/repos)
--sync-remote-cache='missing': Controls how Skaffold manages the remote config cache (see `remote-cache-dir`). One of `always` (default), `missing`, or `never`. `always` syncs remote repositories to latest on access. `missing` only clones remote repositories if they do not exist locally. `never` means the user takes responsibility for updating remote repositories.
--version='skaffold/v4beta2': Target schema version to upgrade to
--version='skaffold/v4beta3': Target schema version to upgrade to
Usage:
skaffold fix [options]
Expand Down
147 changes: 122 additions & 25 deletions docs-v2/content/en/schemas/v4beta2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3049,6 +3049,71 @@
"description": "additional flags passed on the command line to kubectl either on every command (Global), on creations (Apply) or deletions (Delete).",
"x-intellij-html-description": "additional flags passed on the command line to kubectl either on every command (Global), on creations (Apply) or deletions (Delete)."
},
"KubernetesClusterVerifier": {
"properties": {
"defaultNamespace": {
"type": "string",
"description": "default namespace passed to kubectl on deployment if no other override is given.",
"x-intellij-html-description": "default namespace passed to kubectl on deployment if no other override is given."
},
"flags": {
"$ref": "#/definitions/KubectlFlags",
"description": "additional flags passed to `kubectl`.",
"x-intellij-html-description": "additional flags passed to <code>kubectl</code>."
},
"testCases": {
"items": {
"$ref": "#/definitions/KubernetesClusterVerifyTestCase"
},
"type": "array"
}
},
"preferredOrder": [
"testCases",
"flags",
"defaultNamespace"
],
"additionalProperties": false,
"type": "object",
"description": "uses the `kubectl` CLI to create veriy test case container in a kubernetes cluster.",
"x-intellij-html-description": "uses the <code>kubectl</code> CLI to create veriy test case container in a kubernetes cluster."
},
"KubernetesClusterVerifyTestCase": {
"required": [
"name"
],
"properties": {
"container": {
"description": "container information for the verify test.",
"x-intellij-html-description": "container information for the verify test."
},
"jobManifestPath": {
"type": "string",
"description": "...",
"x-intellij-html-description": "..."
},
"name": {
"type": "string",
"description": "name descriptor for the verify test.",
"x-intellij-html-description": "name descriptor for the verify test."
},
"overrides": {
"type": "string",
"description": "...",
"x-intellij-html-description": "..."
}
},
"preferredOrder": [
"name",
"container",
"overrides",
"jobManifestPath"
],
"additionalProperties": false,
"type": "object",
"description": "a list of tests to run on images that Skaffold builds.",
"x-intellij-html-description": "a list of tests to run on images that Skaffold builds."
},
"Kustomize": {
"properties": {
"buildArgs": {
Expand Down Expand Up @@ -3153,6 +3218,47 @@
"description": "*beta* describes how to do a build on the local docker daemon and optionally push to a repository.",
"x-intellij-html-description": "<em>beta</em> describes how to do a build on the local docker daemon and optionally push to a repository."
},
"LocalVerifier": {
"properties": {
"testCases": {
"items": {
"$ref": "#/definitions/LocalVerifyTestCase"
},
"type": "array"
}
},
"preferredOrder": [
"testCases"
],
"additionalProperties": false,
"type": "object",
"description": "uses the `docker` CLI to create verify test case containers on the host machine in Docker.",
"x-intellij-html-description": "uses the <code>docker</code> CLI to create verify test case containers on the host machine in Docker."
},
"LocalVerifyTestCase": {
"required": [
"name"
],
"properties": {
"container": {
"description": "container information for the verify test.",
"x-intellij-html-description": "container information for the verify test."
},
"name": {
"type": "string",
"description": "name descriptor for the verify test.",
"x-intellij-html-description": "name descriptor for the verify test."
}
},
"preferredOrder": [
"name",
"container"
],
"additionalProperties": false,
"type": "object",
"description": "a list of tests to run on images that Skaffold builds.",
"x-intellij-html-description": "a list of tests to run on images that Skaffold builds."
},
"LogsConfig": {
"properties": {
"jsonParse": {
Expand Down Expand Up @@ -3414,10 +3520,7 @@
"x-intellij-html-description": "describes how images are tested."
},
"verify": {
"items": {
"$ref": "#/definitions/VerifyTestCase"
},
"type": "array",
"$ref": "#/definitions/VerifyConfig",
"description": "describes how images are verified (via verification tests).",
"x-intellij-html-description": "describes how images are verified (via verification tests)."
}
Expand Down Expand Up @@ -3841,10 +3944,7 @@
"x-intellij-html-description": "describes how images are tested."
},
"verify": {
"items": {
"$ref": "#/definitions/VerifyTestCase"
},
"type": "array",
"$ref": "#/definitions/VerifyConfig",
"description": "describes how images are verified (via verification tests).",
"x-intellij-html-description": "describes how images are verified (via verification tests)."
}
Expand Down Expand Up @@ -4303,29 +4403,26 @@
"description": "describes the supported kpt validators.",
"x-intellij-html-description": "describes the supported kpt validators."
},
"VerifyTestCase": {
"required": [
"name"
],
"VerifyConfig": {
"properties": {
"container": {
"description": "container information for the verify test.",
"x-intellij-html-description": "container information for the verify test."
},
"name": {
"type": "string",
"description": "name descriptor for the verify test.",
"x-intellij-html-description": "name descriptor for the verify test."
"kubernetesCluster": {
"$ref": "#/definitions/KubernetesClusterVerifier",
"description": "uses the `kubectl` CLI to create veriy test case container in a kubernetes cluster.",
"x-intellij-html-description": "uses the <code>kubectl</code> CLI to create veriy test case container in a kubernetes cluster."
},
"local": {
"$ref": "#/definitions/LocalVerifier",
"description": "uses the `docker` CLI to create verify test case containers on the host machine in Docker.",
"x-intellij-html-description": "uses the <code>docker</code> CLI to create verify test case containers on the host machine in Docker."
}
},
"preferredOrder": [
"name",
"container"
"local",
"kubernetesCluster"
],
"additionalProperties": false,
"type": "object",
"description": "a list of tests to run on images that Skaffold builds.",
"x-intellij-html-description": "a list of tests to run on images that Skaffold builds."
"description": "VerifyuConfig contains all the configuration needed by the deploy steps.",
"x-intellij-html-description": "VerifyuConfig contains all the configuration needed by the deploy steps."
}
}
}
Loading

0 comments on commit 1a98ce6

Please sign in to comment.