Update New CLI (#500)

* Update New CLI

* Fix shell

* ssh: Include hassio bash completion (#501)
This commit is contained in:
Pascal Vizeli
2019-01-09 13:59:44 +01:00
committed by GitHub
parent d8bbc59e95
commit e8fa8aa5c8
47 changed files with 25 additions and 43 deletions

View File

@@ -1,8 +1,8 @@
# Changelog # Changelog
## 2 ## 2.0
- Use new native Alpine RPi library for 64bit - Use new native Alpine RPi library for 64bit
## 1 ## 1.0
- Add support for Raspberry-pi 64bit - Add support for Raspberry-pi 64bit
- Update libCEC to 4.0.3 - Update libCEC to 4.0.3

View File

@@ -37,7 +37,6 @@ ENV LD_LIBRARY_PATH=/opt/vc/lib:${LD_LIBRARY_PATH}
# Copy data # Copy data
COPY run.sh / COPY run.sh /
RUN chmod a+x /run.sh
WORKDIR / WORKDIR /
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
cec_scan/run.sh Normal file → Executable file
View File

View File

@@ -9,6 +9,5 @@ RUN apk add --no-cache \
# Copy data # Copy data
COPY run.sh / COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
check_config/run.sh Normal file → Executable file
View File

View File

@@ -11,6 +11,4 @@ RUN apk add --no-cache tzdata jq dhcp
COPY run.sh / COPY run.sh /
COPY dhcpd.conf /etc/ COPY dhcpd.conf /etc/
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
dhcp_server/run.sh Normal file → Executable file
View File

View File

@@ -11,6 +11,4 @@ RUN apk add --no-cache jq dnsmasq
COPY run.sh / COPY run.sh /
COPY dnsmasq.conf /etc/ COPY dnsmasq.conf /etc/
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
dnsmasq/run.sh Normal file → Executable file
View File

View File

@@ -12,6 +12,5 @@ RUN apk add --no-cache jq curl libressl \
# Copy data # Copy data
COPY *.sh / COPY *.sh /
RUN chmod a+x /*.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
duckdns/hooks.sh Normal file → Executable file
View File

0
duckdns/run.sh Normal file → Executable file
View File

View File

@@ -1,12 +1,15 @@
# Changelog # Changelog
## 7.0
- Update Hass.io CLI to 2.0.1
## 6.1 ## 6.1
- Bugfix in git diff command while comparing commits - Bugfix in git diff command while comparing commits
## 6 ## 6.0
- Allow to disable Home Assistant restart for specific file changes - Allow to disable Home Assistant restart for specific file changes
## 5 ## 5.0
- Update Hass.io CLI to 1.4.0 - Update Hass.io CLI to 1.4.0
- Add new API role profile - Add new API role profile

View File

@@ -16,6 +16,5 @@ RUN apk add --no-cache curl \
# Copy data # Copy data
COPY run.sh / COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

View File

@@ -1,5 +1,5 @@
{ {
"args": { "args": {
"CLI_VERSION": "1.4.0" "CLI_VERSION": "2.0.1"
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "Git pull", "name": "Git pull",
"version": "6.1", "version": "7.0",
"slug": "git_pull", "slug": "git_pull",
"description": "Simple git pull to update the local configuration", "description": "Simple git pull to update the local configuration",
"url": "https://home-assistant.io/addons/git_pull/", "url": "https://home-assistant.io/addons/git_pull/",

0
git_pull/run.sh Normal file → Executable file
View File

View File

@@ -19,6 +19,4 @@ RUN apt-get update \
COPY run.sh / COPY run.sh /
COPY *.py / COPY *.py /
RUN chmod a+x /run.sh
ENTRYPOINT [ "/run.sh" ] ENTRYPOINT [ "/run.sh" ]

0
google_assistant/run.sh Normal file → Executable file
View File

View File

@@ -55,7 +55,6 @@ COPY rfd.conf hs485d.conf crRFD.conf log4j.xml /etc/config/
# Setup start script # Setup start script
COPY run.sh / COPY run.sh /
COPY hm-firmware.sh /usr/lib/ COPY hm-firmware.sh /usr/lib/
RUN chmod a+x /run.sh
WORKDIR /data WORKDIR /data
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
homematic/run.sh Normal file → Executable file
View File

View File

@@ -9,6 +9,5 @@ RUN apk add --no-cache jq certbot py2-future
# Copy data # Copy data
COPY run.sh / COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
letsencrypt/run.sh Normal file → Executable file
View File

View File

@@ -9,6 +9,5 @@ RUN apk add --no-cache jq mariadb mariadb-client
# Copy data # Copy data
COPY run.sh / COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
mariadb/run.sh Normal file → Executable file
View File

View File

@@ -1,9 +1,9 @@
# Changelog # Changelog
## 4 ## 4.0
- Use Alpine 3.7 because libwebsocket 3.0.0 is broken on Alpine 3.8 - 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 - Use auto setup (discovery) on Home Assistant
- Publish his service to Hass.io - Publish his service to Hass.io
- Attach to Home Assistant user system - Attach to Home Assistant user system

View File

@@ -27,7 +27,5 @@ COPY run.sh /
COPY auth_srv.sh /bin/ COPY auth_srv.sh /bin/
COPY mosquitto.conf /etc/ COPY mosquitto.conf /etc/
RUN chmod a+x /run.sh /bin/auth_srv.sh
WORKDIR / WORKDIR /
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

1
mosquitto/auth_srv.sh Normal file → Executable file
View File

@@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# shellcheck disable=SC2244
set -e set -e
CONFIG_PATH=/data/options.json CONFIG_PATH=/data/options.json

0
mosquitto/run.sh Normal file → Executable file
View File

View File

@@ -1,6 +1,6 @@
# Changelog # Changelog
## 2 ## 2.0
- Update nginx to version 1.14.0 - Update nginx to version 1.14.0
## 1.2 ## 1.2

View File

@@ -11,6 +11,4 @@ RUN apk add --no-cache nginx libressl
COPY run.sh / COPY run.sh /
COPY nginx.conf /etc/ COPY nginx.conf /etc/
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
nginx_proxy/run.sh Normal file → Executable file
View File

View File

@@ -9,6 +9,5 @@ RUN apk add --no-cache jq samba-common-tools samba-common
# Copy data # Copy data
COPY run.sh / COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
rpc_shutdown/run.sh Normal file → Executable file
View File

View File

@@ -1,17 +1,17 @@
# Changelog # Changelog
## 8 ## 8.0
- Fix access to /backup - Fix access to /backup
## 7 ## 7.0
- Remove guest access - Remove guest access
- Cleanup structure - Cleanup structure
- Use hostname for samba device name - Use hostname for samba device name
## 6 ## 6.0
- Enable ntlm auth for Windows10 - Enable ntlm auth for Windows10
## 5 ## 5.0
- Update Samba to version 4.8.4 - Update Samba to version 4.8.4
## 4.1 ## 4.1

View File

@@ -12,6 +12,4 @@ RUN apk add --no-cache \
COPY run.sh / COPY run.sh /
COPY smb.conf /etc/ COPY smb.conf /etc/
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
samba/run.sh Normal file → Executable file
View File

View File

@@ -23,9 +23,6 @@ RUN apt-get update \
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y snips-platform-voice snips-asr snips-watch \ && 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/* \ && 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_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 \ && curl -L -o /assistant_Hass_en.zip https://s3.amazonaws.com/hassio-addons-data/assistant_Hass_en.zip \

0
snips/customtts.sh Normal file → Executable file
View File

0
snips/run.sh Normal file → Executable file
View File

View File

@@ -1,6 +1,9 @@
# Changelog # 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 - Update Hass.io CLI to 1.4.0
- Add new API role profile - Add new API role profile
- Update OpenSSH to 7.7 - Update OpenSSH to 7.7

View File

@@ -21,12 +21,11 @@ ARG BUILD_ARCH
ARG CLI_VERSION ARG CLI_VERSION
RUN apk add --no-cache curl \ 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} \ && 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 data
COPY run.sh / COPY run.sh /
COPY motd /etc/ COPY motd /etc/
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

View File

@@ -1,5 +1,5 @@
{ {
"args": { "args": {
"CLI_VERSION": "1.4.0" "CLI_VERSION": "2.0.1"
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "SSH server", "name": "SSH server",
"version": "4", "version": "5.0",
"slug": "ssh", "slug": "ssh",
"description": "Allows connections over SSH", "description": "Allows connections over SSH",
"url": "https://home-assistant.io/addons/ssh/", "url": "https://home-assistant.io/addons/ssh/",

0
ssh/run.sh Normal file → Executable file
View File

View File

@@ -22,6 +22,5 @@ RUN apk add --no-cache \
# Copy data for add-on # Copy data for add-on
COPY run.sh / COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]

0
tellstick/run.sh Normal file → Executable file
View File