Skip to content

Commit

Permalink
Update configurator to 0.2.8 (home-assistant#283)
Browse files Browse the repository at this point in the history
* Update configurator

* Update CHANGELOG.md

* Update config.json

* Create build.json

* Update Dockerfile
  • Loading branch information
danielperna84 authored and pvizeli committed May 7, 2018
1 parent 6f7e48e commit c6c764d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions configurator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions configurator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions configurator/build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"args": {
"CONFIGURATOR_VERSION": "0.2.8"
}
}
2 changes: 1 addition & 1 deletion configurator/config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c6c764d

Please sign in to comment.