* Use ynh NPM

* Use ynh NPM

* improve runner_name

* improve runner_name

* peertube_url

* peertube_url

* peertube_url

* test new npm command

* fix syntax

* fix syntax

* change npm commands

* fix npm command

* fix parameters

* fix parameters

* use npm_node

* use npm_node

* fix typo

* relative path

* debugging

* fix debug

* improve debug

* fix node_module

* fix command syntax

* fix syntax

* debug

* Fix binary path

* Fix remove

* Cleaning

* Delete doc/screenshots directory

* Auto-update README

* cleaning + remove nginx

* Delete nginx.conf

* cleaning + remove nginx

* Delete POST_UPGRADE.md

* Delete PRE_UPGRADE.md

* Delete PRE_INSTALL_fr.md

* Delete PRE_INSTALL.md

* Update POST_INSTALL.md

* Update POST_INSTALL.md

* Update DESCRIPTION.md

* Auto-update README

* Update DESCRIPTION_fr.md

* Auto-update README

* Delete ADMIN.md

* better doc link

* Create PRE_INSTALL.md

* Create PRE_INSTALL_fr.md

* Fix change_url

* Add path + help messages

* Improvements

* change hostname to unique ID

* change hostname to unique ID

* cleaning

* register the runner (again)

* fix id

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

* cleaning

* cleaning

* Update manifest.toml

* fix linter

* Update tests.toml

---------

Co-authored-by: lapineige <lapineige@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
eric_G 2023-09-14 11:01:42 +02:00 committed by GitHub
parent f2d89895e7
commit f86b190d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View file

@ -3,7 +3,7 @@ packaging_format = 2
id = "peertube_remote_runner"
name = "PeerTube Remote Runner"
description.en = "Remote runner to offload high CPU/long job (such as transcoding) from Peertube main server"
description.fr = "Un runner distant pour décharger le travail intense en ressources CPU (comme le transcodage) d'un serveur PeerTube principal"
description.fr = "Runner distant pour décharger le travail intense en ressources CPU (comme le transcodage) d'un serveur PeerTube principal"
version = "1.0~ynh2"
@ -16,7 +16,7 @@ admindoc = "https://docs.joinpeertube.org/maintain/tools#peertube-runner"
code = "https://github.com/Chocobozzz/PeerTube/tree/develop/packages/peertube-runner"
[integration]
yunohost = ">= 11.1.21"
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = false
@ -28,8 +28,7 @@ ram.runtime = "1000M"
[install]
[install.domain]
type = "domain"
full_domain = false
[install.path]
type = "path"
default = "/peertube_runner"

10
tests.toml Normal file
View file

@ -0,0 +1,10 @@
test_format = 1.0
[default]
# -------------------------------
# Default args to use for install
# -------------------------------
args.peertube_url = "https://domain.tld"
args.runner_token = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"