Skip to content

Commit

Permalink
Colorlog is a dependency of the check_config script (home-assistant#535)
Browse files Browse the repository at this point in the history
* Colorlog is a dependency of the check_config script

* Update build.json

* Update Dockerfile

* Update config.json

* Update CHANGELOG.md

* Update config.json
  • Loading branch information
balloob authored and pvizeli committed Mar 8, 2019
1 parent 06c9c94 commit a2fb10a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
4 changes: 4 additions & 0 deletions check_config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog

## 1.0
- Update to Python 3.7
- Add colorlog to pip packages

## 0.9
- Fix build errors with 0.76
4 changes: 2 additions & 2 deletions check_config/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM $BUILD_FROM
# Setup base
RUN apk add --no-cache \
jq gcc \
libffi-dev libressl-dev musl-dev \
&& pip3 install --no-cache --upgrade pip
libffi-dev openssl-dev musl-dev \
&& pip3 install --no-cache --upgrade pip colorlog

# Copy data
COPY run.sh /
Expand Down
9 changes: 5 additions & 4 deletions check_config/build.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"build_from": {
"amd64": "homeassistant/amd64-base-python:3.6",
"i386": "homeassistant/i386-base-python:3.6",
"armhf": "homeassistant/armhf-base-python:3.6",
"aarch64": "homeassistant/aarch64-base-python:3.6"
"amd64": "homeassistant/amd64-base-python:3.7",
"i386": "homeassistant/i386-base-python:3.7",
"armhf": "homeassistant/armhf-base-python:3.7",
"armv7": "homeassistant/armv7-base-python:3.7",
"aarch64": "homeassistant/aarch64-base-python:3.7"
}
}
4 changes: 2 additions & 2 deletions check_config/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "Check Home Assistant configuration",
"version": "0.9",
"version": "1.0",
"slug": "check_config",
"description": "Check current Home Assistant configuration against a new version",
"url": "https://home-assistant.io/addons/check_config/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "once",
"boot": "manual",
"map": ["config", "ssl"],
Expand Down

0 comments on commit a2fb10a

Please sign in to comment.