From 71e08f0f83d94e0c5e70ef5da2852e1e59fc5fc4 Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Thu, 4 Nov 2021 19:33:19 +0000 Subject: [PATCH] :arrow_up: Updating add-on Glances to 6d2a4de --- README.md | 6 ++-- glances/CHANGELOG.md | 8 +++++ glances/README.md | 4 +-- glances/config.json | 82 -------------------------------------------- glances/config.yaml | 71 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+), 87 deletions(-) delete mode 100644 glances/config.json create mode 100644 glances/config.yaml diff --git a/README.md b/README.md index 427b498d9..dc3e0b0bc 100644 --- a/README.md +++ b/README.md @@ -782,10 +782,10 @@ SOFTWARE. [foldingathome-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [foldingathome-armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg [foldingathome-i386-shield]: https://img.shields.io/badge/i386-no-red.svg -[addon-glances]: https://github.com/hassio-addons/addon-glances/tree/f2caa5c -[addon-doc-glances]: https://github.com/hassio-addons/addon-glances/blob/f2caa5c/README.md +[addon-glances]: https://github.com/hassio-addons/addon-glances/tree/6d2a4de +[addon-doc-glances]: https://github.com/hassio-addons/addon-glances/blob/6d2a4de/README.md [glances-issue]: https://github.com/hassio-addons/addon-glances/issues -[glances-version-shield]: https://img.shields.io/badge/version-f2caa5c-blue.svg +[glances-version-shield]: https://img.shields.io/badge/version-6d2a4de-blue.svg [glances-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [glances-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [glances-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg diff --git a/glances/CHANGELOG.md b/glances/CHANGELOG.md index 46dadca7b..7d7ad8301 100644 --- a/glances/CHANGELOG.md +++ b/glances/CHANGELOG.md @@ -1,4 +1,12 @@ # Changelog since v0.13.0 +- Migrate JSON config to YAML (#227) + +* Migrate JSON config to YAML + +* Prettified Code! + +Co-authored-by: frenck +- Switch to centralized GitHub Action Workflows (#226) - ⬆️ Bump zeroconf from 0.36.8 to 0.36.11 in /glances (#222) Bumps [zeroconf](https://github.com/jstasiak/python-zeroconf) from 0.36.8 to 0.36.11. diff --git a/glances/README.md b/glances/README.md index 5bff3ccd5..b5578fa3d 100644 --- a/glances/README.md +++ b/glances/README.md @@ -49,6 +49,6 @@ If you are more interested in stable releases of our add-ons: [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg -[release-shield]: https://img.shields.io/badge/version-f2caa5c-blue.svg -[release]: https://github.com/hassio-addons/addon-glances/tree/f2caa5c +[release-shield]: https://img.shields.io/badge/version-6d2a4de-blue.svg +[release]: https://github.com/hassio-addons/addon-glances/tree/6d2a4de [screenshot]: https://github.com/hassio-addons/addon-glances/raw/main/images/screenshot.png \ No newline at end of file diff --git a/glances/config.json b/glances/config.json deleted file mode 100644 index 17901e33b..000000000 --- a/glances/config.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "name": "Glances", - "version": "f2caa5c", - "slug": "glances", - "description": "A cross-platform system monitoring tool", - "url": "https://github.com/hassio-addons/addon-glances", - "ingress": true, - "ingress_port": 0, - "ingress_stream": true, - "panel_icon": "mdi:speedometer", - "startup": "services", - "homeassistant": "0.92.0b2", - "arch": [ - "aarch64", - "amd64", - "armhf", - "armv7", - "i386" - ], - "ports": { - "80/tcp": null - }, - "ports_description": { - "80/tcp": "Web interface (Not required for Ingress)" - }, - "map": [ - "addons", - "backup", - "config:rw", - "share", - "ssl", - "media" - ], - "hassio_api": true, - "auth_api": true, - "docker_api": true, - "host_network": true, - "host_pid": true, - "apparmor": false, - "options": { - "log_level": "info", - "process_info": false, - "refresh_time": 10, - "ssl": false, - "certfile": "fullchain.pem", - "keyfile": "privkey.pem", - "influxdb": { - "enabled": false, - "host": "a0d7b954-influxdb", - "port": 8086, - "username": "glances", - "password": "", - "database": "glances", - "prefix": "localhost", - "interval": 60 - } - }, - "schema": { - "log_level": "list(trace|debug|info|notice|warning|error|fatal)", - "process_info": "bool", - "refresh_time": "int", - "ssl": "bool", - "certfile": "str", - "keyfile": "str", - "influxdb": { - "enabled": "bool", - "host": "str", - "port": "port", - "username": "str", - "password": "password", - "database": "str", - "prefix": "str", - "interval": "int", - "ssl": "bool?" - }, - "leave_front_door_open": "bool?" - }, - "environment": { - "LOG_FORMAT": "{LEVEL}: {MESSAGE}" - }, - "image": "ghcr.io/hassio-addons/glances/{arch}" -} \ No newline at end of file diff --git a/glances/config.yaml b/glances/config.yaml new file mode 100644 index 000000000..42d6bebc2 --- /dev/null +++ b/glances/config.yaml @@ -0,0 +1,71 @@ +apparmor: false +arch: +- aarch64 +- amd64 +- armhf +- armv7 +- i386 +auth_api: true +description: A cross-platform system monitoring tool +docker_api: true +environment: + LOG_FORMAT: '{LEVEL}: {MESSAGE}' +hassio_api: true +homeassistant: 0.92.0b2 +host_network: true +host_pid: true +image: ghcr.io/hassio-addons/glances/{arch} +ingress: true +ingress_port: 0 +ingress_stream: true +map: +- addons +- backup +- config:rw +- share +- ssl +- media +name: Glances +options: + certfile: fullchain.pem + influxdb: + database: glances + enabled: false + host: a0d7b954-influxdb + interval: 60 + password: '' + port: 8086 + prefix: localhost + username: glances + keyfile: privkey.pem + log_level: info + process_info: false + refresh_time: 10 + ssl: false +panel_icon: mdi:speedometer +ports: + 80/tcp: null +ports_description: + 80/tcp: Web interface (Not required for Ingress) +schema: + certfile: str + influxdb: + database: str + enabled: bool + host: str + interval: int + password: password + port: port + prefix: str + ssl: bool? + username: str + keyfile: str + leave_front_door_open: bool? + log_level: list(trace|debug|info|notice|warning|error|fatal) + process_info: bool + refresh_time: int + ssl: bool +slug: glances +startup: services +url: https://github.com/hassio-addons/addon-glances +version: 6d2a4de