From 11ff061051a7edf0df727c4d12365bbfc3480222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 25 Mar 2022 22:53:54 +0100 Subject: [PATCH] Testing (#107) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add doctl test files * Fix nodejs installation * Improve droplet create * Improve droplet create * Improve droplet create * Modify pkgchk config * Modify pkgchk config * Add testconfig again * Use new helpers and restrict arch * Upgrade test setup * Add selamanses key * Add fingerprint as key id * Use prebuilt image * Remove variables in app.src * Add cleanup cmds * Fix upgrade * Remove apt-key warning * Revert travis * Revert apt-key setting and restore modifications (#70) * Fix linter issues * Fix linter issues * Fix ynh_replace_string arguments * Update README.md * Enh testing (#77) * Make it work again (#71) * Auto-update README * Fix linter * Fix * Fix * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update systemd.service * Update install * Update install * Update install * Fix * 3.16.2 * Auto-update README * Update install * Update install * Update install * fix * Update install * Update install * Update install * Update systemd.service * Update install * Update install * Fix * Update install * Update install * Update systemd.service * Update systemd.service * Update install * Fix * Update systemd.service * Fix * Auto-update README * Fix * Update systemd.service * Update install * 4.1.2 * Auto-update README * Add logrotate * Update install * Add templates * Fix * Update upgrade * Fix * Fix * Fix * Fix * Fix * Add description * Auto-update README * fix * Fix * Fix * Set admin (#85) * Add admin * Delete updater.yml * 4.2.0 * Auto-update README * Update install * Update check_process * 4.2.1 (#90) * 4.2.1 * 4.2.2 (#93) * 4.2.2 * 4.3.0 (#96) * 4.3.0 * 4.3.1 (#99) * fix * Update app.src * Auto-update README Co-authored-by: Yunohost-Bot <> * Fédération * Auto-update README * Update manifest.json * Auto-update README * 4.3.2 (#101) * 4.3.2 * Update _common.sh * 4.4.0 (#103) * 4.4.0 * Auto-update README Co-authored-by: Yunohost-Bot <> * Fix linter * 4.5.0 * Auto-update README * Update manifest.json * 4.5.3 * Auto-update README * Update remove (#106) * 4.5.4 * Auto-update README * Auto-update README Co-authored-by: Selamanse Co-authored-by: Selamanse Co-authored-by: Yunohost-Bot <> Co-authored-by: yunohost-bot --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- scripts/remove | 7 +++++++ 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bd9170e..264cf86 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript for organizations with high standards of data protection. -**Shipped version:** 4.5.3~ynh1 +**Shipped version:** 4.5.4~ynh1 **Demo:** https://cloud.rocket.chat/trial diff --git a/README_fr.md b/README_fr.md index 649af98..7d95946 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Rocket.Chat est une plate-forme de communication open source entièrement personnalisable développée en JavaScript pour les organisations avec des normes élevées de protection des données. -**Version incluse :** 4.5.3~ynh1 +**Version incluse :** 4.5.4~ynh1 **Démo :** https://cloud.rocket.chat/trial diff --git a/conf/app.src b/conf/app.src index 6cf1e57..00bd076 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://releases.rocket.chat/4.5.3/download -SOURCE_SUM=62ee447a14e52fdbdd6003a0de81ee438e810f43633b3fb3df56e657cb9b4ec5 +SOURCE_URL=https://releases.rocket.chat/4.5.4/download +SOURCE_SUM=bba7e1c8df36261e7533d464b061c585f15a90b7f2fdc4c12905e50d2288fbff SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 67d3d27..b844907 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Team collaboration communication platform", "fr": "Plateforme de communication collaborative en équipe" }, - "version": "4.5.3~ynh1", + "version": "4.5.4~ynh1", "url": "https://rocket.chat", "upstream": { "license": "GPL-3.0", diff --git a/scripts/remove b/scripts/remove index 8c4db16..1c9299b 100644 --- a/scripts/remove +++ b/scripts/remove @@ -35,6 +35,12 @@ then yunohost service remove $app fi +if ynh_exec_warn_less yunohost service status "$mongodb_servicename" >/dev/null +then + ynh_script_progression --message="Removing $mongodb_servicename service integration..." + yunohost service remove "$mongodb_servicename" +fi + #================================================= # STOP AND REMOVE SERVICE #================================================= @@ -42,6 +48,7 @@ ynh_script_progression --message="Stopping and removing the systemd service..." # Remove the dedicated systemd config ynh_remove_systemd_config +ynh_remove_systemd_config --service=$mongodb_servicename #================================================= # REMOVE LOGROTATE CONFIGURATION