Migrate JSON config to YAML (#340)

This commit is contained in:
Franck Nijhof 2021-11-09 19:21:50 +01:00 committed by GitHub
parent 3a7923b042
commit ae250d5b8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 43 deletions

View file

@ -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"
}
}

4
vscode/build.yaml Normal file
View file

@ -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

View file

@ -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"]
}
}

39
vscode/config.yaml Normal file
View file

@ -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