mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-01 19:25:32 +01:00
* - Add git option to use reset instead of pull. - Add check that we are using the correct origin URL - Add options to specify git branch * Fix bug in git-synchronise function Modify validate-config to report when restart is required if AUTO_RESTART is false * Tidy up output * Added double quotes * Add extra line so that Travis build checks pass
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "Git pull",
|
|
"version": "4.8",
|
|
"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",
|
|
"deployment_user": "",
|
|
"deployment_password": "",
|
|
"git_branch": "master",
|
|
"git_command": "pull",
|
|
"git_remote": "origin",
|
|
"repository": null,
|
|
"auto_restart": false,
|
|
"repeat": {
|
|
"active": false,
|
|
"interval": 300
|
|
}
|
|
},
|
|
"schema": {
|
|
"deployment_key": ["str"],
|
|
"deployment_key_protocol": "match(rsa|dsa|ecdsa|ed25519|rsa)",
|
|
"deployment_user": "str",
|
|
"deployment_password": "str",
|
|
"git_branch": "str",
|
|
"git_command": "match(pull|reset)",
|
|
"git_remote": "str",
|
|
"repository": "match((?:.+):(\/\/)?(.*?)(\\.git)(\/?|\\#[-\\d\\w._]+?))",
|
|
"auto_restart": "bool",
|
|
"repeat": {
|
|
"active": "bool",
|
|
"interval": "int"
|
|
}
|
|
},
|
|
"image": "homeassistant/{arch}-addon-git_pull"
|
|
}
|