Static-site json schema updated to match the default values.yaml

This commit is contained in:
Laszlo Fogas
2023-08-22 14:47:01 +02:00
parent ea74075201
commit 5eca12d8e1
+4 -4
View File
@@ -25,21 +25,21 @@
"type": "string", "type": "string",
"title": "Repo url", "title": "Repo url",
"description": "The static site's git repository", "description": "The static site's git repository",
"default": "https://github.com/gimlet-io/hugo-site.git" "default": "https://github.com/gimlet-io/reactjs-test-app.git"
}, },
"buildImage": { "buildImage": {
"$id": "#/properties/buildImage", "$id": "#/properties/buildImage",
"type": "string", "type": "string",
"title": "Build image", "title": "Build image",
"description": "The image that will be used for the build proccess", "description": "The image that will be used for the build proccess",
"default": "bitnami/git:latest" "default": "node:latest"
}, },
"buildScript": { "buildScript": {
"$id": "#/properties/buildScript", "$id": "#/properties/buildScript",
"type": "string", "type": "string",
"title": "Build script", "title": "Build script",
"description": "Commands required for the build to be completed", "description": "Commands required for the build to be completed",
"default": "# !/usr/bin/env bash\n# pre -reqs\napt-get update && apt-get install -y wget\n\n# Setting up Hugo \nwget https://github.com/gohugoio/hugo/releases/download/v0.111.3/hugo_0.111.3_Linux-64bit.tar.gz &&\ntar -xzf hugo_0.111.3_Linux-64bit.tar.gz &&\nchmod +x hugo\n\n./hugo" "default": "# !/usr/bin/env bash\n\nnpm install\nnpm run build"
}, },
"builtAssets": { "builtAssets": {
@@ -47,7 +47,7 @@
"type": "string", "type": "string",
"title": "Built assets", "title": "Built assets",
"description": "The folder containing the build's generated files", "description": "The folder containing the build's generated files",
"default": "public/" "default": "build/"
}, },
"ingress": { "ingress": {
"$id": "#/properties/ingress", "$id": "#/properties/ingress",