From ae250d5b8f12cc0ae2f4c54a376324a0958c1040 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 9 Nov 2021 19:21:50 +0100 Subject: [PATCH] Migrate JSON config to YAML (#340) --- vscode/build.json | 6 ------ vscode/build.yaml | 4 ++++ vscode/config.json | 37 ------------------------------------- vscode/config.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 vscode/build.json create mode 100644 vscode/build.yaml delete mode 100755 vscode/config.json create mode 100644 vscode/config.yaml diff --git a/vscode/build.json b/vscode/build.json deleted file mode 100644 index fa62d86..0000000 --- a/vscode/build.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "build_from": { - "aarch64": "ghcr.io/hassio-addons/debian-base/aarch64:5.0.0", - "amd64": "ghcr.io/hassio-addons/debian-base/amd64:5.0.0" - } -} diff --git a/vscode/build.yaml b/vscode/build.yaml new file mode 100644 index 0000000..bec450d --- /dev/null +++ b/vscode/build.yaml @@ -0,0 +1,4 @@ +--- +build_from: + aarch64: ghcr.io/hassio-addons/debian-base/aarch64:5.0.0 + amd64: ghcr.io/hassio-addons/debian-base/amd64:5.0.0 diff --git a/vscode/config.json b/vscode/config.json deleted file mode 100755 index 64afdd5..0000000 --- a/vscode/config.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "Visual Studio Code", - "version": "dev", - "slug": "vscode", - "description": "Fully featured VSCode experience, to edit your HA config in the browser, including auto-completion!", - "url": "https://github.com/hassio-addons/addon-vscode", - "ingress": true, - "ingress_port": 1337, - "ingress_stream": true, - "panel_icon": "mdi:microsoft-visual-studio-code", - "startup": "services", - "init": false, - "arch": ["aarch64", "amd64"], - "uart": true, - "hassio_api": true, - "hassio_role": "manager", - "homeassistant_api": true, - "map": [ - "config:rw", - "ssl:rw", - "addons:rw", - "media:rw", - "share:rw", - "backup:rw" - ], - "services": ["mysql:want", "mqtt:want"], - "options": { - "packages": [], - "init_commands": [] - }, - "schema": { - "log_level": "list(trace|debug|info|notice|warning|error|fatal)?", - "config_path": "str?", - "packages": ["str"], - "init_commands": ["str"] - } -} diff --git a/vscode/config.yaml b/vscode/config.yaml new file mode 100644 index 0000000..653a293 --- /dev/null +++ b/vscode/config.yaml @@ -0,0 +1,39 @@ +--- +name: Visual Studio Code +version: dev +slug: vscode +description: Fully featured VSCode experience, to edit your HA config in the browser, including auto-completion! +url: https://github.com/hassio-addons/addon-vscode +ingress: true +ingress_port: 1337 +ingress_stream: true +panel_icon: mdi:microsoft-visual-studio-code +startup: services +init: false +arch: + - aarch64 + - amd64 +uart: true +hassio_api: true +hassio_role: manager +homeassistant_api: true +map: + - config:rw + - ssl:rw + - addons:rw + - media:rw + - share:rw + - backup:rw +services: + - mysql:want + - mqtt:want +options: + packages: [] + init_commands: [] +schema: + log_level: list(trace|debug|info|notice|warning|error|fatal)? + config_path: str? + packages: + - str + init_commands: + - str