Remove custom_dep & update arch tags

This commit is contained in:
Pascal Vizeli
2019-03-06 15:38:18 +01:00
parent cd020b0566
commit 06c9c94f94
22 changed files with 17 additions and 90 deletions

View File

@@ -4,6 +4,7 @@
"slug": "cec_scan",
"description": "Scan HDMI CEC devices",
"url": "https://home-assistant.io/addons/cec_scan/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "once",
"boot": "manual",
"devices": [

View File

@@ -4,6 +4,7 @@
"slug": "check_config",
"description": "Check current Home Assistant configuration against a new version",
"url": "https://home-assistant.io/addons/check_config/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "once",
"boot": "manual",
"map": ["config", "ssl"],

View File

@@ -4,6 +4,7 @@
"slug": "configurator",
"description": "Browser-based configuration file editor for Home Assistant.",
"url": "https://home-assistant.io/addons/configurator",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "application",
"webui": "[PROTO:ssl]://[HOST]:[PORT:3218]",
"homeassistant_api": true,

View File

@@ -1,13 +0,0 @@
# Changelog
## 1
- Bug fix multiple pip packages v2
## 0.3
- Bug fix multiple pip packages
## 0.2
- Bug fix pip prefix settings
## 0.1
- Initial release

View File

@@ -1,15 +0,0 @@
ARG BUILD_FROM
FROM $BUILD_FROM
# Add env
ENV LANG C.UTF-8
# Setup base
RUN apk add --no-cache \
gcc g++ make cmake git
# Copy data
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]

View File

@@ -1,8 +0,0 @@
{
"build_from": {
"amd64": "homeassistant/amd64-base-python:3.6",
"i386": "homeassistant/i386-base-python:3.6",
"armhf": "homeassistant/armhf-base-python:3.6",
"aarch64": "homeassistant/aarch64-base-python:3.6"
}
}

View File

@@ -1,19 +0,0 @@
{
"name": "Custom deps deployment",
"version": "1",
"slug": "custom_deps",
"description": "Manage custom python modules in Home Assistant deps",
"url": "https://home-assistant.io/addons/custom_deps/",
"startup": "once",
"boot": "manual",
"map": ["config:rw"],
"options": {
"pypi": [null],
"apk": []
},
"schema": {
"pypi": ["str"],
"apk": ["str"]
},
"image": "homeassistant/{arch}-addon-custom_deps"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,33 +0,0 @@
#!/bin/bash
set -e
CONFIG_PATH=/data/options.json
PYPI="$(jq --raw-output '.pypi | join(" ")' ${CONFIG_PATH})"
APK="$(jq --raw-output '.apk | join(" ") // empty' ${CONFIG_PATH})"
# Cleanup old deps
echo "[Info] Remove old deps"
rm -rf /config/deps/*
# Need custom apk for build?
if [ -n "${APK}" ]; then
echo "[Info] Install apks for build"
# shellcheck disable=SC2086
if ! ERROR="$(apk add --no-cache ${APK})"; then
echo "[Error] Can't install packages!"
echo "${ERROR}" && exit 1
fi
fi
# Install pypi modules
echo "[Info] Install pypi modules into deps"
export PYTHONUSERBASE=/config/deps
# shellcheck disable=SC2086
if ! ERROR="$(pip3 install --user --no-cache-dir --prefix= --no-dependencies ${PYPI})"; then
echo "[Error] Can't install PyPI packages!"
echo "${ERROR}" && exit 1
fi
echo "[Info] done"

View File

@@ -4,6 +4,7 @@
"slug": "dhcp_server",
"description": "A simple DHCP server",
"url": "https://home-assistant.io/addons/dhcp_server/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "system",
"boot": "auto",
"host_network": true,

View File

@@ -4,6 +4,7 @@
"slug": "dnsmasq",
"description": "A simple DNS server",
"url": "https://home-assistant.io/addons/dnsmasq/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "system",
"boot": "auto",
"ports": {

View File

@@ -4,6 +4,7 @@
"slug": "duckdns",
"description": "Free Dynamic DNS (DynDNS or DDNS) service with Let's Encrypt support",
"url": "https://www.home-assistant.io/addons/duckdns/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "services",
"boot": "auto",
"map": ["ssl:rw"],

View File

@@ -4,6 +4,7 @@
"slug": "git_pull",
"description": "Simple git pull to update the local configuration",
"url": "https://home-assistant.io/addons/git_pull/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "services",
"boot": "manual",
"hassio_api": true,

View File

@@ -4,6 +4,7 @@
"slug": "letsencrypt",
"description": "Manage certificate from Let's Encrypt",
"url": "https://home-assistant.io/addons/lets_encrypt/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "once",
"boot": "manual",
"ports": {

View File

@@ -4,6 +4,7 @@
"slug": "mariadb",
"description": "An SQL database server",
"url": "https://home-assistant.io/addons/mariadb/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "system",
"boot": "auto",
"ports": {

View File

@@ -4,6 +4,7 @@
"slug": "mosquitto",
"description": "An Open Source MQTT broker",
"url": "https://home-assistant.io/addons/mosquitto/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "system",
"boot": "auto",
"map": ["ssl", "share"],

View File

@@ -4,6 +4,7 @@
"slug": "nginx_proxy",
"description": "An SSL/TLS proxy",
"url": "https://home-assistant.io/addons/nginx_proxy/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "application",
"boot": "auto",
"ports": {

View File

@@ -4,6 +4,7 @@
"slug": "rpc_shutdown",
"description": "Simple way for remote windows shutdowns",
"url": "https://home-assistant.io/addons/rpc_shutdown/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "services",
"boot": "auto",
"stdin": true,

View File

@@ -4,6 +4,7 @@
"slug": "samba",
"description": "Expose Hass.io folders with SMB/CIFS",
"url": "https://home-assistant.io/addons/samba/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "services",
"boot": "auto",
"host_network": true,

View File

@@ -4,9 +4,9 @@
"slug": "snips",
"description": "Local voice control platform",
"url": "https://home-assistant.io/addons/snips/",
"arch": ["armhf", "amd64"],
"startup": "application",
"boot": "auto",
"arch": ["armhf", "amd64"],
"map": ["share"],
"tmpfs": "size=10m",
"audio": true,

View File

@@ -4,6 +4,7 @@
"slug": "ssh",
"description": "Allows connections over SSH",
"url": "https://home-assistant.io/addons/ssh/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "services",
"boot": "auto",
"hassio_api": true,

View File

@@ -4,6 +4,7 @@
"slug": "tellstick",
"description": "TellStick and TellStick Duo service.",
"url": "https://home-assistant.io/addons/tellstick/",
"arch": ["armhf", "aarch64", "amd64", "i386"],
"startup": "system",
"stdin": true,
"boot": "auto",