mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
Fix tests
This commit is contained in:
parent
099f0568b8
commit
10659e224c
2 changed files with 30 additions and 56 deletions
|
@ -1,31 +0,0 @@
|
|||
;; Test complet
|
||||
; Manifest
|
||||
server="dst.domain.tld"
|
||||
ssh_user="sam"
|
||||
passphrase="APassphrase"
|
||||
conf=1
|
||||
port=2222
|
||||
backup_path=src.domain.tld
|
||||
data=1
|
||||
app="all"
|
||||
allow_extra_space_use=1
|
||||
on_calendar="Daily"
|
||||
check_on_calendar="*-*-8,15,22 3:15"
|
||||
check_read_data_on_calendar="*-*-1 3:15"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=0
|
||||
setup_root=0
|
||||
setup_nourl=1
|
||||
setup_private=0
|
||||
setup_public=0
|
||||
upgrade=1
|
||||
# 0.12.0~ynh9
|
||||
upgrade=1 from_commit=526944051f68f4149e415be4e862ce3c69d69f18
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
port_already_use=0
|
||||
change_url=0
|
||||
;;; Options
|
||||
Email=restic-ynh@coupouchetty-ramouchetty.fr
|
||||
Notification=down
|
55
tests.toml
55
tests.toml
|
@ -4,35 +4,40 @@ test_format = 1.0
|
|||
|
||||
[default]
|
||||
|
||||
args.repository = "ssh://sam@domain.tld:22/~/backup"
|
||||
args.passphrase = "A_Passphrase"
|
||||
args.server = "dst.domain.tld"
|
||||
args.ssh_user = "sam"
|
||||
args.passphrase = "APassphrase"
|
||||
args.conf = 1
|
||||
args.port = 2222
|
||||
args.backup_path = "src.domain.tld"
|
||||
args.data = 1
|
||||
args.apps = "all"
|
||||
args.app = "all"
|
||||
args.allow_extra_space_use = 1
|
||||
args.on_calendar = "Daily"
|
||||
args.mailalert = "errors_only"
|
||||
args.check_on_calendar = "*-*-8,15,22 3:15"
|
||||
args.check_read_data_on_calendar = "*-*-1 3:15"
|
||||
|
||||
# -------------------------------
|
||||
# Commits to test upgrade from
|
||||
# -------------------------------
|
||||
# # -------------------------------
|
||||
# # Commits to test upgrade from
|
||||
# # -------------------------------
|
||||
|
||||
[default.test_upgrade_from.d1cd666ee27f5cfb8e40c6f44a09370381b41b35]
|
||||
name = "Older ynh 11 version"
|
||||
args.server = "domain.tld:22"
|
||||
args.ssh_user = "package_checker"
|
||||
args.passphrase = "A_Passphrase"
|
||||
args.conf = 1
|
||||
args.data = 1
|
||||
args.apps = "all"
|
||||
args.on_calendar = "Daily"
|
||||
args.mailalert = "never"
|
||||
# [default.test_upgrade_from.d1cd666ee27f5cfb8e40c6f44a09370381b41b35]
|
||||
# name = "Older ynh 11 version"
|
||||
# args.server = "domain.tld:22"
|
||||
# args.ssh_user = "package_checker"
|
||||
# args.passphrase = "A_Passphrase"
|
||||
# args.conf = 1
|
||||
# args.data = 1
|
||||
# args.apps = "all"
|
||||
# args.on_calendar = "Daily"
|
||||
# args.mailalert = "never"
|
||||
|
||||
|
||||
[local_directory]
|
||||
args.repository = "/mnt/backup"
|
||||
args.passphrase = "A_Passphrase"
|
||||
args.conf = 1
|
||||
args.data = 1
|
||||
args.apps = "all"
|
||||
args.on_calendar = "Daily"
|
||||
args.mailalert = "errors_only"
|
||||
# [local_directory]
|
||||
# args.repository = "/mnt/backup"
|
||||
# args.passphrase = "A_Passphrase"
|
||||
# args.conf = 1
|
||||
# args.data = 1
|
||||
# args.apps = "all"
|
||||
# args.on_calendar = "Daily"
|
||||
# args.mailalert = "errors_only"
|
||||
|
|
Loading…
Reference in a new issue