docs: copy generated JSON schema to host

After the JSON schema is generated in a build container, copy it over to the host, so it becomes a part of the codebase.

This is required as the location of the schema changed recently from being under `pkg/machinery/config/types/` to be under `pkg/machinery/config/schemas/`.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
This commit is contained in:
Utku Ozdemir 2024-01-26 13:46:27 +01:00
parent f11139c229
commit cf0603330a
No known key found for this signature in database
GPG Key ID: 65933E76F0549B0D
3 changed files with 15 additions and 0 deletions

View File

@ -300,6 +300,7 @@ COPY --from=generate-build /api/inspect/*.pb.go /pkg/machinery/api/inspect/
COPY --from=go-generate /src/pkg/flannel/ /pkg/flannel/
COPY --from=go-generate /src/pkg/imager/profile/ /pkg/imager/profile/
COPY --from=go-generate /src/pkg/machinery/resources/ /pkg/machinery/resources/
COPY --from=go-generate /src/pkg/machinery/config/schemas/ /pkg/machinery/config/schemas/
COPY --from=go-generate /src/pkg/machinery/config/types/ /pkg/machinery/config/types/
COPY --from=go-generate /src/pkg/machinery/nethelpers/ /pkg/machinery/nethelpers/
COPY --from=go-generate /src/pkg/machinery/extensions/ /pkg/machinery/extensions/

View File

@ -2604,6 +2604,13 @@
"description": "Kernel driver, supports matching by wildcard.\n",
"markdownDescription": "Kernel driver, supports matching by wildcard.",
"x-intellij-html-description": "\u003cp\u003eKernel driver, supports matching by wildcard.\u003c/p\u003e\n"
},
"physical": {
"type": "boolean",
"title": "physical",
"description": "Select only physical devices.\n",
"markdownDescription": "Select only physical devices.",
"x-intellij-html-description": "\u003cp\u003eSelect only physical devices.\u003c/p\u003e\n"
}
},
"additionalProperties": false,

View File

@ -2604,6 +2604,13 @@
"description": "Kernel driver, supports matching by wildcard.\n",
"markdownDescription": "Kernel driver, supports matching by wildcard.",
"x-intellij-html-description": "\u003cp\u003eKernel driver, supports matching by wildcard.\u003c/p\u003e\n"
},
"physical": {
"type": "boolean",
"title": "physical",
"description": "Select only physical devices.\n",
"markdownDescription": "Select only physical devices.",
"x-intellij-html-description": "\u003cp\u003eSelect only physical devices.\u003c/p\u003e\n"
}
},
"additionalProperties": false,