2023-10-01 14:04:36 +02:00
|
|
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
|
|
|
|
packaging_format = 2
|
|
|
|
|
2023-10-02 13:41:27 +02:00
|
|
|
id = "woodpecker"
|
|
|
|
name = "Woodpecker"
|
|
|
|
description.en = "CI engine with great extensibility integrated with Github, Gitlab, Gitea, etc."
|
|
|
|
description.fr = "Un outil d'intégration continue extensible intégrable avec Github, Gitlab, Gitea etc."
|
2023-10-01 14:04:36 +02:00
|
|
|
|
2023-10-02 13:41:27 +02:00
|
|
|
version = "1.0.2~ynh1"
|
2023-10-01 14:04:36 +02:00
|
|
|
|
2023-10-02 13:41:27 +02:00
|
|
|
maintainers = ["Salamandar"]
|
2023-10-01 14:04:36 +02:00
|
|
|
|
|
|
|
[upstream]
|
2023-10-02 13:41:27 +02:00
|
|
|
license = "Apache-2.0"
|
|
|
|
website = "https://woodpecker-ci.org"
|
|
|
|
admindoc = "https://woodpecker-ci.org/docs/administration"
|
|
|
|
userdoc = "https://woodpecker-ci.org/docs/intro"
|
|
|
|
code = "https://github.com/woodpecker-ci/woodpecker"
|
|
|
|
cpe = "cpe:2.3:a:woodpecker-ci:woodpecker"
|
|
|
|
|
|
|
|
fund = "https://opencollective.com/woodpecker-ci"
|
2023-10-01 14:04:36 +02:00
|
|
|
|
|
|
|
[integration]
|
|
|
|
yunohost = ">= 11.1.21"
|
2023-10-02 13:41:27 +02:00
|
|
|
architectures = ["amd64", "arm64"]
|
2023-10-01 14:04:36 +02:00
|
|
|
multi_instance = true
|
|
|
|
|
2023-10-02 13:41:27 +02:00
|
|
|
ldap = false
|
|
|
|
sso = false
|
2023-10-01 14:04:36 +02:00
|
|
|
|
|
|
|
disk = "50M"
|
2023-10-02 13:41:27 +02:00
|
|
|
ram.build = "0M"
|
|
|
|
ram.runtime = "200M"
|
2023-10-01 14:04:36 +02:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
type = "path"
|
2023-10-02 13:41:27 +02:00
|
|
|
default = "/woodpecker"
|
2023-10-01 14:04:36 +02:00
|
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
2023-10-02 13:41:27 +02:00
|
|
|
[install.forge_type]
|
|
|
|
ask.en = "Select the kind of forge you're connecting Woodpecker to"
|
|
|
|
ask.fr = "Sélectionnez le type de forge à laquelle vous connectez Woodpecker"
|
2023-10-01 14:04:36 +02:00
|
|
|
type = "select"
|
2023-10-02 13:41:27 +02:00
|
|
|
choices.github = "Github"
|
|
|
|
choices.gitlab = "Gitlab"
|
|
|
|
choices.gitea = "Gitea / Forgejo"
|
|
|
|
choices.bitbucket = "Bitbucket"
|
|
|
|
default = "github"
|
|
|
|
|
|
|
|
[install.forge_url]
|
|
|
|
ask.en = "Provide the forge URL"
|
|
|
|
ask.fr = "Entrez l'URL de la forge"
|
|
|
|
type = "string"
|
|
|
|
default = "https://myforge.tld"
|
|
|
|
help.en = "Useless for Bitbucket and Github.com."
|
|
|
|
help.fr = "Inutile pour Bitbucket et Github.com."
|
|
|
|
|
|
|
|
[install.forge_client]
|
|
|
|
ask.en = "Provide the forge OAuth Client ID"
|
|
|
|
ask.fr = "Entrez l'ID de client OAuth de la forge"
|
|
|
|
type = "string"
|
|
|
|
default = ""
|
|
|
|
|
|
|
|
[install.forge_secret]
|
|
|
|
ask.en = "Provide the forge OAuth secret"
|
|
|
|
ask.fr = "Entrez le secret OAuth de la forge"
|
|
|
|
type = "string"
|
|
|
|
default = ""
|
|
|
|
|
|
|
|
# [install.admin]
|
|
|
|
# type = "user"
|
|
|
|
|
|
|
|
# [install.password]
|
|
|
|
# # this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
|
# # Note that user-provided passwords questions are not automatically saved as setting
|
|
|
|
# help.en = "Use the help field to add an information for the admin about this question."
|
|
|
|
# help.fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
|
|
|
|
# type = "password"
|
2023-10-01 14:04:36 +02:00
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.sources]
|
|
|
|
|
2023-10-02 13:41:27 +02:00
|
|
|
[resources.sources.main]
|
|
|
|
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
|
|
|
# ynh_setup_source --dest_dir="$install_dir"
|
|
|
|
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
|
|
|
amd64.url = "https://github.com/woodpecker-ci/woodpecker/releases/download/v1.0.2/woodpecker-server_linux_amd64.tar.gz"
|
|
|
|
amd64.sha256 = "e7c164db35cc4663cecbe8a1c4db96c8fbe0bd3fb3dae98cf0dd0dd23cfb59f7"
|
|
|
|
|
|
|
|
arm64.url = "https://github.com/woodpecker-ci/woodpecker/releases/download/v1.0.2/woodpecker-server_linux_arm64.tar.gz"
|
|
|
|
arm64.sha256 = "1f41e913b5a743d02d91c2a6c939377595347dee135a035729d8b30779036a9b"
|
2023-10-01 14:04:36 +02:00
|
|
|
|
2023-10-02 13:41:27 +02:00
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
|
|
autoupdate.asset.amd64 = ".*_amd64.tar.gz"
|
|
|
|
autoupdate.asset.arm64 = ".*_arm64.tar.gz"
|
2023-10-01 14:04:36 +02:00
|
|
|
|
2023-10-02 13:41:27 +02:00
|
|
|
in_subdir = false
|
2023-10-01 14:04:36 +02:00
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.data_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
|
|
|
|
[resources.ports]
|
|
|
|
|
|
|
|
[resources.apt]
|
2023-10-02 13:41:27 +02:00
|
|
|
packages = [
|
|
|
|
"postgresql"
|
|
|
|
]
|
2023-10-01 14:04:36 +02:00
|
|
|
|
|
|
|
[resources.database]
|
2023-10-02 13:41:27 +02:00
|
|
|
type = "postgresql"
|