689 Commits

Author SHA1 Message Date
7a117d5cc9 Add support for Borg 2's "sftp://" repository URLs.
All checks were successful
build / test (push) Successful in 4m51s
build / docs (push) Successful in 1m10s
2024-10-26 11:58:26 -07:00
fe0fe27c36 Adjust for Borg 2's change from "rclone://" repository URLs to just "rclone:".
All checks were successful
build / test (push) Successful in 4m55s
build / docs (push) Successful in 1m11s
2024-10-26 09:41:01 -07:00
83bc737185 Borg 2 changes: Default the "archive_name_format" option to just "{hostname}". Update the "--match-archives"/"--archive" flags to support series names / archive hashes. Add a "--match-archives" flag to the "prune" action.
All checks were successful
build / test (push) Successful in 5m38s
build / docs (push) Successful in 2m1s
2024-10-25 14:26:31 -07:00
ad21eb41ae Add support for Borg 2's "rclone://" repository URLs.
All checks were successful
build / test (push) Successful in 6m5s
build / docs (push) Successful in 1m38s
2024-10-23 11:10:40 -07:00
bd4c672382 Apply the "working_directory" option to all actions, not just "create". Also fix the glob expansion of "source_directories" values to respect the "working_directory" option (#609).
All checks were successful
build / test (push) Successful in 5m44s
build / docs (push) Successful in 1m36s
2024-10-20 16:04:41 -07:00
c71da46963 Fix change-passphrase to actually prompt for a new passphrase when an old one is configured (#911). 2024-10-19 09:58:32 -07:00
29d5b36a78 Change soft failure command hooks to skip only the current repository (#921).
All checks were successful
build / test (push) Successful in 4m48s
build / docs (push) Successful in 1m16s
2024-10-06 17:39:02 -07:00
6fdce2a4a6 Fix a confusing apparent hang when when the repository location changes, and instead show a helpful error message (#914).
All checks were successful
build / test (push) Successful in 5m1s
build / docs (push) Successful in 1m15s
2024-10-03 16:48:34 -07:00
b7efa0d3f0 When databases are configured, don't auto-enable the "one_file_system" option (#918).
All checks were successful
build / test (push) Successful in 5m0s
build / docs (push) Successful in 1m17s
2024-10-01 10:16:30 -07:00
88b945dcb9 Add missing test (#911).
All checks were successful
build / test (push) Successful in 5m8s
build / docs (push) Successful in 1m57s
2024-10-01 09:31:03 -07:00
34305d686c Revert "Add missing test (#911)" which accidentally included unrelated changes.
This reverts commit bf1e8bc44ec460980fad19372c04eb37c039fa1f.
2024-10-01 09:28:39 -07:00
bf1e8bc44e Add missing test (#911).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-10-01 09:26:00 -07:00
fd4f69f6c3 Rename repository actions for compatibility with recent Borg 2 changes (#915).
All checks were successful
build / test (push) Successful in 6m23s
build / docs (push) Successful in 1m59s
2024-09-09 10:05:32 -07:00
1fe6ae83a8 Add a "key change-passphrase" action to change the passphrase protecting a repository key (#911).
All checks were successful
build / test (push) Successful in 6m22s
build / docs (push) Successful in 1m53s
2024-09-01 11:13:39 -07:00
e0298685a1 Fix the "source_directories_must_exist" option to work with relative "source_directories" paths when a "working_directory" is set (#905).
All checks were successful
build / test (push) Successful in 4m3s
build / docs (push) Successful in 53s
2024-08-20 13:52:06 -07:00
c5633227bf Add glob ("*") support to the "--repository" flag (#898).
All checks were successful
build / test (push) Successful in 5m49s
build / docs (push) Successful in 1m38s
2024-08-20 12:49:50 -07:00
548aceb3d5 Fix config validation broken by schema change (#904).
All checks were successful
build / test (push) Successful in 4m5s
build / docs (push) Successful in 1m37s
2024-08-12 23:09:55 -07:00
Theo Brigitte
4c4fd92013
update logger unit tests
* update color config structure
  * add check for color: True in config
  * ensure interactive_console is called wherever it should
2024-08-09 00:07:46 +02:00
66aa953371 Add additional tests (#298).
All checks were successful
build / test (push) Successful in 4m15s
build / docs (push) Successful in 50s
2024-07-04 08:42:05 -07:00
2f844d65d5 Automated tests complete (#298). 2024-07-02 23:11:58 -07:00
2dca5e1834 Initial automated tests for delete action (#298). 2024-07-02 20:26:29 -07:00
e9a0226ee0 Initial work on delete/rdelete actions (#298). 2024-06-28 16:20:10 -07:00
4a0c167c1c Add Uptime Kuma monitoring hook (#885).
All checks were successful
build / test (push) Successful in 4m15s
build / docs (push) Successful in 1m2s
Reviewed-on: #885
Reviewed-by: Dan Helfman <witten@torsion.org>
2024-06-26 22:50:11 +00:00
593c956d33 Add an "only_run_on" option to consistency checks so you can limit a check to running on particular days of the week (#785).
All checks were successful
build / test (push) Successful in 6m0s
build / docs (push) Successful in 1m28s
2024-06-26 14:57:59 -07:00
Paul Wilde
067c79c606 renamed push_monitor back to ping_monitor in uptime kuma hook 2024-06-26 20:57:37 +01:00
b50996b864 change uptimekuma method names to 'push_*' instead of 'ping' 2024-06-24 11:07:09 +01:00
14ce88e04b black formatting on test_uptimekuma.py 2024-06-24 10:37:44 +01:00
f97968b72d variable renaming 2024-06-24 10:34:52 +01:00
612f867ea8 Merge remote-tracking branch 'upstream/main' 2024-06-24 10:28:02 +01:00
303d6609e4 removed unecessary tests for 'default urls' as these would never really be used anyway 2024-06-24 10:27:23 +01:00
52aa7c5d21 switched to using full 'push_url' instead of separate 'server' and 'push_code' 2024-06-24 10:21:31 +01:00
f4fcf92bd6 Add an "upload_buffer_size" option to set the size of the upload buffer used in "create" action (#865).
All checks were successful
build / test (push) Successful in 6m17s
build / docs (push) Successful in 1m28s
2024-06-23 16:26:22 -07:00
a2c139245d Add a "--max-duration" flag to the "check" action and a "max_duration" option to the repository check configuration (#817).
All checks were successful
build / test (push) Successful in 6m14s
build / docs (push) Successful in 1m29s
2024-06-22 16:19:06 -07:00
Paul Wilde
a509cdedd5 Added Uptime Kuma tests 2024-06-22 10:46:17 +01:00
Paul Wilde
dcbc30b164 WIP add uptime kuma tests 2024-06-22 10:19:34 +01:00
7894600408 Fix "Unrecognized argument" error when the same value is with different command-line flags (#881).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-06-20 11:53:52 -07:00
df4668754d Fix "Argument list too long" error in the "spot" check when checking 100k+ files (#866).
All checks were successful
build / test (push) Successful in 6m20s
build / docs (push) Successful in 1m29s
2024-06-09 22:53:56 -07:00
08d6f83b2e In the "spot" check, don't try to hash symlinked directories.
All checks were successful
build / test (push) Successful in 4m25s
build / docs (push) Successful in 51s
2024-06-09 15:58:16 -07:00
f821d2c909 Calling interpolated variable "repository_label" instead of "label" for clarity (#874).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-06-05 14:56:21 -07:00
1ef2218919 Remove obsolute "version:" from Docker Compose files. 2024-06-05 14:50:52 -07:00
177c958572 Add configured repository "label" to the interpolated variables passed to command hooks (#874).
All checks were successful
build / test (push) Successful in 4m26s
build / docs (push) Successful in 52s
2024-06-05 14:47:37 -07:00
de304f83de
Avoid requiring network in test_healthchecks.py
Some test environments (e.g., the one of the Nix build system) don't
allow network requests while building and testing.
2024-05-16 16:11:40 +02:00
5752373009 When color output is disabled (explicitly or implicitly), don't prefix each log line with the log level (#863).
All checks were successful
build / test (push) Successful in 7m59s
build / docs (push) Successful in 2m26s
2024-05-11 22:40:13 -07:00
38bc4fbfe2 Fix interaction between environment variable interpolation in constants and shell escaping (#860).
All checks were successful
build / test (push) Successful in 7m52s
build / docs (push) Successful in 2m19s
2024-04-30 09:36:26 -07:00
7f735cbe59 Fix a traceback with "check --only spot" when the "spot" check is unconfigured (#857).
All checks were successful
build / test (push) Successful in 7m42s
build / docs (push) Successful in 2m10s
2024-04-24 16:12:58 -07:00
7a110c7acd Add Healthchecks auto-provisionning (#815).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
Reviewed-on: #852
Reviewed-by: Dan Helfman <witten@torsion.org>
2024-04-23 16:23:26 +00:00
4b7f7bba04 Issue warning if using UUID URL scheme with create_slug 2024-04-22 20:45:36 +02:00
cfdc0a1f2a Fix Healthchecks UUID regex 2024-04-22 20:44:31 +02:00
f926055e67 Fix a traceback when the "data" consistency check is used (#854).
All checks were successful
build / test (push) Successful in 7m36s
build / docs (push) Successful in 2m26s
2024-04-21 14:55:02 -07:00
2e4c0cc7e7 Support for healthchecks auto provisionning 2024-04-19 10:43:45 +02:00