Update-deployment (#2281)

* Update deployment

* fix workflow

* Fix order

* restruct v1

* Fix style v2

* Cleanup style v3

* fix style v4

* Last style fix

* Address comments

* Update builder to 2021.11.3

* Fix let's encrypt

* fix lint

* Use ghcr.io

* fix

* Update versions

* fix readme
This commit is contained in:
Pascal Vizeli
2021-11-24 11:43:54 +01:00
committed by GitHub
parent fe641dfad2
commit 69c68bfac9
96 changed files with 1190 additions and 1189 deletions

View File

@@ -1,12 +0,0 @@
{
"build_from": {
"aarch64": "ghcr.io/home-assistant/aarch64-base:3.13",
"amd64": "ghcr.io/home-assistant/amd64-base:3.13",
"armhf": "ghcr.io/home-assistant/armhf-base:3.13",
"armv7": "ghcr.io/home-assistant/armv7-base:3.13",
"i386": "ghcr.io/home-assistant/i386-base:3.13"
},
"args": {
"CLI_VERSION": "4.12.2"
}
}

11
git_pull/build.yaml Normal file
View File

@@ -0,0 +1,11 @@
build_from:
aarch64: ghcr.io/home-assistant/aarch64-base:3.13
amd64: ghcr.io/home-assistant/amd64-base:3.13
armhf: ghcr.io/home-assistant/armhf-base:3.13
armv7: ghcr.io/home-assistant/armv7-base:3.13
i386: ghcr.io/home-assistant/i386-base:3.13
codenotary:
signer: notary@home-assistant.io
base_image: notary@home-assistant.io
args:
CLI_VERSION: 4.12.2

View File

@@ -1,50 +0,0 @@
{
"name": "Git pull",
"version": "7.13.1",
"slug": "git_pull",
"description": "Simple git pull to update the local configuration",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/git_pull",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"advanced": true,
"init": false,
"startup": "services",
"boot": "manual",
"hassio_api": true,
"hassio_role": "homeassistant",
"map": ["config:rw"],
"options": {
"deployment_key": [],
"deployment_key_protocol": "rsa",
"deployment_user": "",
"deployment_password": "",
"git_branch": "master",
"git_command": "pull",
"git_remote": "origin",
"git_prune": false,
"repository": null,
"auto_restart": false,
"restart_ignore": ["ui-lovelace.yaml", ".gitignore"],
"repeat": {
"active": false,
"interval": 300
}
},
"schema": {
"deployment_key": ["str"],
"deployment_key_protocol": "match(rsa|dsa|ecdsa|ed25519|rsa)",
"deployment_user": "str",
"deployment_password": "password",
"git_branch": "str",
"git_command": "list(pull|reset)",
"git_remote": "str",
"git_prune": "bool",
"repository": "str",
"auto_restart": "bool",
"restart_ignore": ["str"],
"repeat": {
"active": "bool",
"interval": "int"
}
},
"image": "homeassistant/{arch}-addon-git_pull"
}

54
git_pull/config.yaml Normal file
View File

@@ -0,0 +1,54 @@
version: 7.13.1
slug: git_pull
name: Git pull
description: Simple git pull to update the local configuration
url: https://github.com/home-assistant/hassio-addons/tree/master/git_pull
advanced: true
arch:
- armhf
- armv7
- aarch64
- amd64
- i386
boot: manual
hassio_api: true
hassio_role: homeassistant
image: homeassistant/{arch}-addon-git_pull
init: false
map:
- config:rw
options:
auto_restart: false
deployment_key: []
deployment_key_protocol: rsa
deployment_password: ""
deployment_user: ""
git_branch: master
git_command: pull
git_prune: false
git_remote: origin
repeat:
active: false
interval: 300
repository: null
restart_ignore:
- ui-lovelace.yaml
- .gitignore
schema:
auto_restart: bool
deployment_key:
- str
deployment_key_protocol: match(rsa|dsa|ecdsa|ed25519|rsa)
deployment_password: password
deployment_user: str
git_branch: str
git_command: list(pull|reset)
git_prune: bool
git_remote: str
repeat:
active: bool
interval: int
repository: str
restart_ignore:
- str
startup: services