add autoupdate strategy
This commit is contained in:
parent
8627232b9f
commit
9374d80e24
1 changed files with 27 additions and 22 deletions
|
@ -7,7 +7,7 @@ description.fr = "Forge logiciel légère"
|
||||||
|
|
||||||
version = "1.21.5-0~ynh1"
|
version = "1.21.5-0~ynh1"
|
||||||
|
|
||||||
maintainers = ["Emmanuel Averty"]
|
maintainers = [ "Emmanuel Averty" ]
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -18,7 +18,7 @@ code = "https://codeberg.org/forgejo/forgejo"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.2"
|
yunohost = ">= 11.2"
|
||||||
architectures = ["amd64", "arm64", "armhf"]
|
architectures = [ "amd64", "arm64", "armhf" ]
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = true
|
ldap = true
|
||||||
sso = true
|
sso = true
|
||||||
|
@ -55,33 +55,38 @@ ram.runtime = "2G"
|
||||||
armhf.url = "https://codeberg.org/forgejo/forgejo/releases/download/v1.21.5-0/forgejo-1.21.5-0-linux-arm-6.xz"
|
armhf.url = "https://codeberg.org/forgejo/forgejo/releases/download/v1.21.5-0/forgejo-1.21.5-0-linux-arm-6.xz"
|
||||||
armhf.sha256 = "7bb71546249d1a69f1146d6bd5f6b537661af18c82b27ca5d459e209b1f8249d"
|
armhf.sha256 = "7bb71546249d1a69f1146d6bd5f6b537661af18c82b27ca5d459e209b1f8249d"
|
||||||
format = "whatever"
|
format = "whatever"
|
||||||
extract = false # will be extracted during install script
|
extract = false # will be extracted during install script
|
||||||
rename = "forgejo.xz"
|
rename = "forgejo.xz"
|
||||||
|
|
||||||
[resources.system_user]
|
autoupdate.asset.amd64 = "^forgejo-.*-linux-amd64.xz$"
|
||||||
allow_ssh = true
|
autoupdate.asset.arm64 = "^forgejo-.*-linux-arm64.xz$"
|
||||||
|
autoupdate.asset.armhf = "^forgejo-.*-linux-arm-6.xz$"
|
||||||
|
autoupdate.strategy = "latest_forgejo_release"
|
||||||
|
|
||||||
[resources.ports]
|
[resources.system_user]
|
||||||
main.default = 6000
|
allow_ssh = true
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.ports]
|
||||||
|
main.default = 6000
|
||||||
|
|
||||||
[resources.data_dir]
|
[resources.install_dir]
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.data_dir]
|
||||||
main.url = "/"
|
|
||||||
|
|
||||||
admin.show_tile = false
|
[resources.permissions]
|
||||||
admin.auth_header = false
|
main.url = "/"
|
||||||
admin.protected = true
|
|
||||||
|
|
||||||
api.url = "/api"
|
admin.show_tile = false
|
||||||
api.show_tile = false
|
admin.auth_header = false
|
||||||
api.allowed = "visitors"
|
admin.protected = true
|
||||||
api.auth_header = false
|
|
||||||
|
|
||||||
[resources.apt]
|
api.url = "/api"
|
||||||
packages = "postgresql"
|
api.show_tile = false
|
||||||
|
api.allowed = "visitors"
|
||||||
|
api.auth_header = false
|
||||||
|
|
||||||
[resources.database]
|
[resources.apt]
|
||||||
type = "postgresql"
|
packages = "postgresql"
|
||||||
|
|
||||||
|
[resources.database]
|
||||||
|
type = "postgresql"
|
||||||
|
|
Loading…
Reference in a new issue