From c6c764d9ec5090ade8ca0e054612135519430f05 Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Mon, 7 May 2018 14:45:18 +0200 Subject: [PATCH] Update configurator to 0.2.8 (#283) * Update configurator * Update CHANGELOG.md * Update config.json * Create build.json * Update Dockerfile --- configurator/CHANGELOG.md | 3 +++ configurator/Dockerfile | 4 ++-- configurator/build.json | 5 +++++ configurator/config.json | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 configurator/build.json diff --git a/configurator/CHANGELOG.md b/configurator/CHANGELOG.md index c8df2929ca1..6d810a6ee01 100644 --- a/configurator/CHANGELOG.md +++ b/configurator/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.3 +- Update Configurator to version 0.2.8 + ## 0.2.7 - Setting SO_REUSEADDR on socket for proper restarts - Using Threading to handle multiple connections diff --git a/configurator/Dockerfile b/configurator/Dockerfile index 0002afaf470..fbc866d65c4 100644 --- a/configurator/Dockerfile +++ b/configurator/Dockerfile @@ -5,10 +5,10 @@ FROM $BUILD_FROM ENV LANG C.UTF-8 # Setup base -ARG BUILD_VERSION +ARG CONFIGURATOR_VERSION RUN apk add --no-cache python3 git curl \ && pip3 install GitPython \ - && curl -s -o /configurator.py https://raw.githubusercontent.com/danielperna84/hass-configurator/"$(echo "$BUILD_VERSION" | cut -d '-' -f 1)"/configurator.py \ + && curl -s -o /configurator.py https://raw.githubusercontent.com/danielperna84/hass-configurator/$CONFIGURATOR_VERSION/configurator.py \ && sed -i "s/GIT = False/GIT = True/g" /configurator.py \ && apk del curl diff --git a/configurator/build.json b/configurator/build.json new file mode 100644 index 00000000000..0d6a7c71048 --- /dev/null +++ b/configurator/build.json @@ -0,0 +1,5 @@ +{ + "args": { + "CONFIGURATOR_VERSION": "0.2.8" + } +} diff --git a/configurator/config.json b/configurator/config.json index b1c3b5ca55a..dfdab8daebe 100644 --- a/configurator/config.json +++ b/configurator/config.json @@ -1,6 +1,6 @@ { "name": "Configurator", - "version": "0.2.7", + "version": "0.3", "slug": "configurator", "description": "Browser-based configuration file editor for Home Assistant.", "url": "https://home-assistant.io/addons/configurator",