mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-01 19:25:32 +01:00
* Fix StrictHostKeyChecking-related failure For ssh-through git connections, the git pull fails because the host key will not be automatically added to known_hosts. This should fix that by allowing the key to be put into the known_hosts. Note that if the remote server ssh key changes, the git operation will fail. That seems a reasonably safe security fallback. * Update config.json
33 lines
828 B
JSON
33 lines
828 B
JSON
{
|
|
"name": "Git pull",
|
|
"version": "2.3",
|
|
"slug": "git_pull",
|
|
"description": "Simple git pull to update the local configuration",
|
|
"url": "https://home-assistant.io/addons/git_pull/",
|
|
"startup": "services",
|
|
"boot": "manual",
|
|
"hassio_api": true,
|
|
"map": ["config:rw"],
|
|
"options": {
|
|
"deployment_key": [],
|
|
"deployment_key_protocol": "rsa",
|
|
"repository": null,
|
|
"auto_restart": false,
|
|
"repeat": {
|
|
"active": false,
|
|
"interval": 300
|
|
}
|
|
},
|
|
"schema": {
|
|
"deployment_key": ["str"],
|
|
"deployment_key_protocol": "match(rsa|dsa|ecdsa|ed25519|rsa)",
|
|
"repository": "match((?:.+):(\/\/)?(.*?)(\\.git)(\/?|\\#[-\\d\\w._]+?))",
|
|
"auto_restart": "bool",
|
|
"repeat": {
|
|
"active": "bool",
|
|
"interval": "int"
|
|
}
|
|
},
|
|
"image": "homeassistant/{arch}-addon-git_pull"
|
|
}
|