Skip to content

Commit

Permalink
Update New CLI (home-assistant#500)
Browse files Browse the repository at this point in the history
* Update New CLI

* Fix shell

* ssh: Include hassio bash completion (home-assistant#501)
  • Loading branch information
pvizeli authored Jan 9, 2019
1 parent d8bbc59 commit e8fa8aa
Show file tree
Hide file tree
Showing 47 changed files with 25 additions and 43 deletions.
4 changes: 2 additions & 2 deletions cec_scan/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changelog

## 2
## 2.0
- Use new native Alpine RPi library for 64bit

## 1
## 1.0
- Add support for Raspberry-pi 64bit
- Update libCEC to 4.0.3
1 change: 0 additions & 1 deletion cec_scan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ ENV LD_LIBRARY_PATH=/opt/vc/lib:${LD_LIBRARY_PATH}

# Copy data
COPY run.sh /
RUN chmod a+x /run.sh

WORKDIR /
CMD [ "/run.sh" ]
Empty file modified cec_scan/run.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion check_config/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ RUN apk add --no-cache \

# Copy data
COPY run.sh /
RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified check_config/run.sh
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions dhcp_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ RUN apk add --no-cache tzdata jq dhcp
COPY run.sh /
COPY dhcpd.conf /etc/

RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified dhcp_server/run.sh
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions dnsmasq/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ RUN apk add --no-cache jq dnsmasq
COPY run.sh /
COPY dnsmasq.conf /etc/

RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified dnsmasq/run.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion duckdns/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ RUN apk add --no-cache jq curl libressl \

# Copy data
COPY *.sh /
RUN chmod a+x /*.sh

CMD [ "/run.sh" ]
Empty file modified duckdns/hooks.sh
100644 → 100755
Empty file.
Empty file modified duckdns/run.sh
100644 → 100755
Empty file.
7 changes: 5 additions & 2 deletions git_pull/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# Changelog

## 7.0
- Update Hass.io CLI to 2.0.1

## 6.1
- Bugfix in git diff command while comparing commits

## 6
## 6.0
- Allow to disable Home Assistant restart for specific file changes

## 5
## 5.0
- Update Hass.io CLI to 1.4.0
- Add new API role profile

Expand Down
1 change: 0 additions & 1 deletion git_pull/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ RUN apk add --no-cache curl \

# Copy data
COPY run.sh /
RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
2 changes: 1 addition & 1 deletion git_pull/build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"args": {
"CLI_VERSION": "1.4.0"
"CLI_VERSION": "2.0.1"
}
}
2 changes: 1 addition & 1 deletion git_pull/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Git pull",
"version": "6.1",
"version": "7.0",
"slug": "git_pull",
"description": "Simple git pull to update the local configuration",
"url": "https://home-assistant.io/addons/git_pull/",
Expand Down
Empty file modified git_pull/run.sh
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions google_assistant/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ RUN apt-get update \
COPY run.sh /
COPY *.py /

RUN chmod a+x /run.sh

ENTRYPOINT [ "/run.sh" ]
Empty file modified google_assistant/run.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion homematic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ COPY rfd.conf hs485d.conf crRFD.conf log4j.xml /etc/config/
# Setup start script
COPY run.sh /
COPY hm-firmware.sh /usr/lib/
RUN chmod a+x /run.sh

WORKDIR /data
CMD [ "/run.sh" ]
Empty file modified homematic/run.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion letsencrypt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ RUN apk add --no-cache jq certbot py2-future

# Copy data
COPY run.sh /
RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified letsencrypt/run.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ RUN apk add --no-cache jq mariadb mariadb-client

# Copy data
COPY run.sh /
RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified mariadb/run.sh
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions mosquitto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Changelog

## 4
## 4.0
- Use Alpine 3.7 because libwebsocket 3.0.0 is broken on Alpine 3.8

## 3
## 3.0
- Use auto setup (discovery) on Home Assistant
- Publish his service to Hass.io
- Attach to Home Assistant user system
Expand Down
2 changes: 0 additions & 2 deletions mosquitto/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ COPY run.sh /
COPY auth_srv.sh /bin/
COPY mosquitto.conf /etc/

RUN chmod a+x /run.sh /bin/auth_srv.sh

WORKDIR /
CMD [ "/run.sh" ]
1 change: 1 addition & 0 deletions mosquitto/auth_srv.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# shellcheck disable=SC2244
set -e

CONFIG_PATH=/data/options.json
Expand Down
Empty file modified mosquitto/run.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion nginx_proxy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 2
## 2.0
- Update nginx to version 1.14.0

## 1.2
Expand Down
2 changes: 0 additions & 2 deletions nginx_proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ RUN apk add --no-cache nginx libressl
COPY run.sh /
COPY nginx.conf /etc/

RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified nginx_proxy/run.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion rpc_shutdown/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ RUN apk add --no-cache jq samba-common-tools samba-common

# Copy data
COPY run.sh /
RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified rpc_shutdown/run.sh
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions samba/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Changelog

## 8
## 8.0
- Fix access to /backup

## 7
## 7.0
- Remove guest access
- Cleanup structure
- Use hostname for samba device name

## 6
## 6.0
- Enable ntlm auth for Windows10

## 5
## 5.0
- Update Samba to version 4.8.4

## 4.1
Expand Down
2 changes: 0 additions & 2 deletions samba/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ RUN apk add --no-cache \
COPY run.sh /
COPY smb.conf /etc/

RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified samba/run.sh
100644 → 100755
Empty file.
3 changes: 0 additions & 3 deletions snips/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ RUN apt-get update \

RUN apt-get update \
&& apt-get install -y snips-platform-voice snips-asr snips-watch \
&& chmod a+x /run.sh \
&& chmod a+x /usr/bin/customtts.sh \
&& chmod a+x /snips-entrypoint.sh \
&& rm -rf /var/lib/apt/lists/* \
&& curl -L -o /assistant_Hass_de.zip https://s3.amazonaws.com/hassio-addons-data/assistant_Hass_de.zip \
&& curl -L -o /assistant_Hass_en.zip https://s3.amazonaws.com/hassio-addons-data/assistant_Hass_en.zip \
Expand Down
Empty file modified snips/customtts.sh
100644 → 100755
Empty file.
Empty file modified snips/run.sh
100644 → 100755
Empty file.
5 changes: 4 additions & 1 deletion ssh/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog

## 4
## 5.0
- Update Hass.io CLI to 2.0.1, include bash completion

## 4.0
- Update Hass.io CLI to 1.4.0
- Add new API role profile
- Update OpenSSH to 7.7
Expand Down
5 changes: 2 additions & 3 deletions ssh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ ARG BUILD_ARCH
ARG CLI_VERSION
RUN apk add --no-cache curl \
&& curl -Lso /usr/bin/hassio https://github.com/home-assistant/hassio-cli/releases/download/${CLI_VERSION}/hassio_${BUILD_ARCH} \
&& chmod a+x /usr/bin/hassio
&& chmod a+x /usr/bin/hassio \
&& /usr/bin/hassio completion | sed "s/hassio-cli/hassio/g" > /usr/share/bash-completion/completions/hassio

# Copy data
COPY run.sh /
COPY motd /etc/

RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
2 changes: 1 addition & 1 deletion ssh/build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"args": {
"CLI_VERSION": "1.4.0"
"CLI_VERSION": "2.0.1"
}
}
2 changes: 1 addition & 1 deletion ssh/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SSH server",
"version": "4",
"version": "5.0",
"slug": "ssh",
"description": "Allows connections over SSH",
"url": "https://home-assistant.io/addons/ssh/",
Expand Down
Empty file modified ssh/run.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion tellstick/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ RUN apk add --no-cache \

# Copy data for add-on
COPY run.sh /
RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
Empty file modified tellstick/run.sh
100644 → 100755
Empty file.

0 comments on commit e8fa8aa

Please sign in to comment.