From f86b190d169edcb676f5916e1c01dc309d40b893 Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 14 Sep 2023 11:01:42 +0200 Subject: [PATCH] Testing (#5) * 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 * cleaning * cleaning * Update manifest.toml * fix linter * Update tests.toml --------- Co-authored-by: lapineige Co-authored-by: yunohost-bot Co-authored-by: Alexandre Aubin --- manifest.toml | 7 +++---- tests.toml | 10 ++++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 tests.toml diff --git a/manifest.toml b/manifest.toml index 613ab24..b908d98 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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" diff --git a/tests.toml b/tests.toml new file mode 100644 index 0000000..56320b7 --- /dev/null +++ b/tests.toml @@ -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"