cleaning
This commit is contained in:
parent
29450e107b
commit
582a5bb255
3 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Gitea Runner
|
Description=Forgejo Runner
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -21,9 +21,9 @@ yunohost = ">= 11.2"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
|
|
||||||
ldap = false
|
ldap = "not_relevant"
|
||||||
|
|
||||||
sso = false
|
sso = "not_relevant"
|
||||||
|
|
||||||
disk = "50M"
|
disk = "50M"
|
||||||
ram.build = "50M"
|
ram.build = "50M"
|
||||||
|
@ -34,8 +34,8 @@ ram.runtime = "50M"
|
||||||
type = "domain"
|
type = "domain"
|
||||||
|
|
||||||
[install.token]
|
[install.token]
|
||||||
ask.en = "This token can be retrieved at this location: domain.tld/admin/actions/runners"
|
ask.en = "This token can be retrieved at this location: https://forgejo.domain.tld/admin/actions/runners"
|
||||||
ask.fr = "Ce token peut être récupéré à cet emplacement : domain.tld/admin/actions/runners"
|
ask.fr = "Ce token peut être récupéré à cet emplacement : https://forgejo.domain.tld/admin/actions/runners"
|
||||||
type = "string"
|
type = "string"
|
||||||
example = "xxxx"
|
example = "xxxx"
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ yunohost service add $app --description="Runner for Forgejo" --log="/var/log/$ap
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
./forgejo-runner register --no-interactive --token $token --name runner --instance $forgejo_url
|
./forgejo-runner register --instance $forgejo_url --token $token --name runner --no-interactive
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue