From e4ea67c64d9a6377aa268d30df5111703c9c0301 Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Tue, 26 Mar 2019 18:08:31 +0100 Subject: [PATCH] Adding snips-injection (#546) * Adding snips-injection - Update dockerfile - Snips injection version print - Start snips-injection in run - Versionbump to 5.2 * remove backtick accident * Less run blocks * format change in snips dockerfile * Update CHANGELOG.md --- snips/CHANGELOG.md | 4 ++++ snips/Dockerfile | 2 +- snips/config.json | 2 +- snips/run.sh | 1 + snips/snips-entrypoint.sh | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/snips/CHANGELOG.md b/snips/CHANGELOG.md index c15654d..bb67d9a 100644 --- a/snips/CHANGELOG.md +++ b/snips/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 5.2 +- Updated to snips 0.62.3 +- Add snips-injection + ## 5.1 - Updated to snips 0.60.8 - Containers built from base images diff --git a/snips/Dockerfile b/snips/Dockerfile index 1ba6699..9498e0b 100644 --- a/snips/Dockerfile +++ b/snips/Dockerfile @@ -22,7 +22,7 @@ RUN apt-get update \ fi 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-injection snips-watch \ && 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 \ diff --git a/snips/config.json b/snips/config.json index 544140b..641361a 100644 --- a/snips/config.json +++ b/snips/config.json @@ -1,6 +1,6 @@ { "name": "Snips.AI", - "version": "5.1", + "version": "5.2", "slug": "snips", "description": "Local voice control platform", "url": "https://home-assistant.io/addons/snips/", diff --git a/snips/run.sh b/snips/run.sh index 7dda038..f6b8e03 100755 --- a/snips/run.sh +++ b/snips/run.sh @@ -94,6 +94,7 @@ echo "[INFO] Starting snips-watch" ( sleep 2; /usr/bin/snips-watch -vvv --no_color ) & /usr/bin/snips-asr --version +/usr/bin/snips-injection --version /usr/bin/snips-audio-server --version /usr/bin/snips-dialogue --version /usr/bin/snips-hotword --version diff --git a/snips/snips-entrypoint.sh b/snips/snips-entrypoint.sh index da4a9f7..52be959 100755 --- a/snips/snips-entrypoint.sh +++ b/snips/snips-entrypoint.sh @@ -73,7 +73,7 @@ fi # Read "global" arguments USE_INTERNAL_MQTT=true -ALL_SNIPS_COMPONENTS=("snips-asr-google" "snips-asr" "snips-audio-server" "snips-tts" "snips-hotword" "snips-nlu" "snips-dialogue" "snips-analytics" "snips-debug") +ALL_SNIPS_COMPONENTS=("snips-asr-google" "snips-asr" "snips-injection" "snips-audio-server" "snips-tts" "snips-hotword" "snips-nlu" "snips-dialogue" "snips-analytics" "snips-debug") declare -A SNIPS_COMPONENTS for c in "${ALL_SNIPS_COMPONENTS[@]}" do