Adding support for deployment_key for git_pull addon (#196)

* adding support for deployment_key for git_pull addon

* safer usage of bash vars

* fixed $HOME vs ~ typo

* more specific schema for deployment_key_protocol

* adding ssh-client to git pull addon image

* only ...-client package needed

* Pump version to 2.0
This commit is contained in:
Alex Barcelo
2017-10-29 10:22:40 +01:00
committed by Pascal Vizeli
parent 0e117c07ee
commit ea5d7b5920
3 changed files with 21 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Git pull",
"version": "1.1",
"version": "2.0",
"slug": "git_pull",
"description": "Simple git pull to update the local configuration",
"url": "https://home-assistant.io/addons/git_pull/",
@@ -9,6 +9,8 @@
"hassio_api": true,
"map": ["config:rw"],
"options": {
"deployment_key": [],
"deployment_key_protocol": "rsa",
"repository": null,
"auto_restart": false,
"repeat": {
@@ -17,6 +19,8 @@
}
},
"schema": {
"deployment_key": ["str"],
"deployment_key_protocol": "match(rsa|dsa|ecdsa|ed25519|rsa)",
"repository": "url",
"auto_restart": "bool",
"repeat": {