Commit Graph

97 Commits

Author SHA1 Message Date
kenc
2b9dc9f17c
Add test for locking behaviour (#211) 2022-06-27 09:03:34 +02:00
kenc
465bc037c2
Add lock tests (#209)
* Add lock tests

* Refactor setLock to accept key value pairs

This allows SetCron and Lock to use the same function setLockValue. It
also removes the need to call getLock explicitly in tests by returning
the lock object.
2022-06-06 12:59:47 +02:00
kenc
37a043afff
Add location unit tests (#208) 2022-06-02 17:05:44 +02:00
kenc
e91b632181
Add backend unit tests (#207) 2022-06-01 14:58:38 +02:00
kenc
2b30998b9a
Add options parsing unit tests (#205)
* Add options parsing unit tests

* Refactor into subtests
2022-05-30 12:56:25 +02:00
3bc091f826
lean flag 2022-04-27 00:55:31 +02:00
5bcf5c9217
1.7.0 (#188)
* stream the output (#186)

* dont duplicate global flags (#187)

* docs for tagging

* fix self update path (#190)

* version bump & changelog
2022-04-27 00:48:52 +02:00
ff2e3714d1
1.6.2 2022-04-14 17:44:54 +02:00
434862ed4e
1.6.0 (#180)
* fix for #178

* restore options

* error codes

* update docs

* forget docs

* add option to auto forget

* add copy option

* update go version to enable generics

* copy docs

* changelog & version bump
2022-04-14 11:51:32 +02:00
8b74a98836
better error handling 2022-03-18 13:06:19 +01:00
8a713e497d
add ssh & update deps 2022-03-12 14:13:29 +01:00
5afad86e37
1.5.6 2022-03-10 16:36:26 +01:00
d85470459f
fix home directory 2022-02-16 21:58:09 +01:00
db9f5dea66
1.5.4 2022-02-16 21:42:54 +01:00
92feaef5bb
version bump 2022-02-16 21:28:13 +01:00
2a7e233cdb
only check on config if it is getting used 2022-02-16 21:22:42 +01:00
ec9e2aebcd
1.5.2 2022-02-13 16:25:09 +01:00
Jan
65ba1f6ac1 Make a copy of config before overriding it 2022-02-09 20:35:29 +01:00
982f9e0b5c
better error handling 2021-12-06 12:13:18 +01:00
0c37af5588
#140 Docker version pinning 2021-12-06 11:59:58 +01:00
2b14e6b1af
remove print 2021-11-24 09:35:31 +01:00
1810af8d02
Merge pull request #137 from g-a-c/issues/130
refactor downloading of binaries
2021-11-23 13:01:09 +01:00
252968e15e
ensure config is loaded before lock 2021-11-23 12:32:35 +01:00
26de4385ea
version bump 2021-11-23 12:32:22 +01:00
0c71bea93e
use own docker image 2021-11-21 21:10:32 +01:00
Gavin Chappell
389f7c25dd refactor downloading of binaries
* If `/tmp` is a `tmpfs` or somehow not the same filesystem, `os.Rename()` will fail so use `io.Copy()` instead
* don't defer cleanup of `to` as this removes the newly-created file if the operation is successful, making `install` and `upgrade` _functionally_ `uninstall`
* defer cleanup of the temporary file since it will still be in place if `os.Rename()` fails

Fixes: #130
2021-11-20 19:30:46 +00:00
ed3c17d678
migration docs 2021-11-20 17:09:42 +01:00
c55e91b8ff
version bump 2021-11-20 16:55:20 +01:00
170bdb81ad
tags 2021-11-07 11:48:03 +01:00
113a97c283
add config version to ensure compatibility 2021-11-06 22:00:44 +01:00
cd7a5cbc13
also enable azure and google cloud 2021-11-01 00:19:32 +01:00
3dd3956d64
support for rclone 2021-11-01 00:16:54 +01:00
59035da46a
remove output 2021-10-31 23:58:08 +01:00
a68e3e426e
simplify options handling 2021-10-31 23:07:12 +01:00
27e82c8529
Merge branch 'master' into multiple-paths 2021-10-31 22:54:14 +01:00
05c3458a95
version bump 2021-10-31 22:45:54 +01:00
2826f9586d
allow all values from envs 2021-10-31 22:45:03 +01:00
4fe241e6f3
support for multiple sources 2021-10-31 22:33:02 +01:00
d0b1b86fdd
docker runner 2021-10-31 22:32:55 +01:00
bcfc734cd1
describe multiple sources 2021-10-31 22:32:30 +01:00
6817f494ef
util to check if volume exists 2021-10-31 22:32:01 +01:00
7ad6f7ce9e
Merge remote-tracking branch 'origin/master' into multiple-paths 2021-10-30 15:06:13 +02:00
8c30134f7c
error handling for upgrade and uninstall 2021-10-30 14:50:27 +02:00
246e6fc0d8
enable generic env variables 2021-10-30 13:48:44 +02:00
c2f9ed9204
multiple paths 2021-10-30 13:01:31 +02:00
6be0a80b29
use built in function 2021-10-29 18:35:21 +02:00
efd4a7dfea
version bump 2021-10-28 18:10:33 +02:00
440609220c
support for global flags 2021-10-28 18:10:14 +02:00
83905d2993
specific location 2021-10-28 17:29:32 +02:00
0b5f4017e4
version bump 2021-10-26 15:59:49 +02:00