Commit Graph

88 Commits

Author SHA1 Message Date
3be1bd6ee0 Add some more basic docstrings
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-08 17:02:30 -07:00
abd272635e Move util func to utils 2024-10-08 16:59:12 -07:00
2229437a7f Include original error when restic command fails 2024-10-08 16:59:10 -07:00
4b16dea34e Log when attempting to push metrics to gateway
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-01-23 12:26:10 -08:00
7b313b8f9b Move log line to the proper location
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-22 08:50:49 -08:00
bea338c27a Add log when tasks are stopped
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-22 08:49:46 -08:00
1d0d6b3fe6 More loosly pin tzdata
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-01-06 15:34:02 -08:00
985572d737 Pin pre-commit plugin to specific sha
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2024-01-06 15:12:27 -08:00
cff06cd1c6 Update linters and fumpt all files
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-01-06 15:10:29 -08:00
90cd0ec9e0 Update versions to fix golangci-lint on drone
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-06 14:55:44 -08:00
a0db27be1a Add ability to unlock repos that may have stale locks
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
Defaults to remove all locks, even non-stale
2024-01-06 14:29:14 -08:00
cddc290ee0 Fix exhaustive structs 2024-01-06 14:28:52 -08:00
d049228980 Fix index out of range when reading snapshots list
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2023-11-07 11:03:18 -08:00
390074e048 Add insecure-tls global option
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-11-06 15:02:07 -08:00
e0542a68e5 Add docker healthcheck checking default address
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-25 20:17:18 -07:00
4ddcea9f7d Bump to alpine 3.18 and bump versions
All checks were successful
continuous-integration/drone/push Build is passing
Also, more loosely pinning some dependencies with stable apis.
2023-10-25 20:16:26 -07:00
a2823e09ad Add tzdata
All checks were successful
continuous-integration/drone/push Build is passing
Allows setting container timezone using TZ env variable
2023-08-11 05:53:17 -07:00
b1fe2537e2 Add postgres support for backup and restore
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-08-02 15:58:41 -07:00
f3ecabf4fe Fix mysql test
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-08-02 15:56:06 -07:00
4c7baa46a7 Ignore binary
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-02 15:41:15 -07:00
1d6957f45f Fix mysql restoration
Password and database weren't passed to the mysql command
2023-08-02 15:41:15 -07:00
0de267a4cf Disable depguard 2023-08-02 14:58:18 -07:00
28f081c8d0 Add integration testing to verify backup and restoration
All checks were successful
continuous-integration/drone/push Build is passing
Including databases
2023-08-02 14:55:14 -07:00
9cdf37c680 Fix wrapped snapshot json output
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
If there are a lot of snapshots, the JSON output can sometimes be wrapped to
multiple console lines and need to be joined.
2023-05-09 15:10:44 -07:00
84095f9875 Remove patch version from Nomad binary
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-05-09 14:31:44 -07:00
03cc5e8fa6 Remove darwin binaries from build targets 2023-05-09 14:30:04 -07:00
129dc75d4c Remove failure for coverage
Some checks failed
continuous-integration/drone/push Build is failing
This seems to be broken on newer versions of Golang
2023-05-09 14:23:22 -07:00
f32b5e4afa Bump go version up to 1.20
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-09 14:19:21 -07:00
a19ad94027 Serve metrics from registry
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-09 14:16:39 -07:00
8b9844465c Clean up error messages 2023-05-09 14:16:08 -07:00
95fea5ef30 Add ability to restore specific snapshots
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-25 14:02:28 -07:00
8a8bc23376 Split returned stdout and stderr from Restic commands to improve parsing 2023-04-25 13:59:32 -07:00
fed9224c17 Add some additional test run output 2023-04-25 13:32:37 -07:00
47f1c14c48 Bump alpine and dep versions and add nomad
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-04 16:48:26 -07:00
bd3151e6f8 Add support for prometheus push gateway on single runs 2023-01-06 15:38:05 -08:00
3e550d29ca Add notes for future 2023-01-06 15:37:31 -08:00
0074cced26 Pin Alpine version to 3.16
All checks were successful
continuous-integration/drone/push Build is passing
Package versions always break in builds when a new Alpine version comes
out. Im going to start pinning these.
2022-11-27 21:56:01 -08:00
9c5d597ab4 Add DefaultConfig
Some checks failed
continuous-integration/drone/push Build is failing
Adds DefaultConfig to the config format so that a single config can be
defined for all jobs
2022-11-27 21:05:02 -08:00
57e933c20d Fix error when passing no names
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 09:52:29 -08:00
ed3689eae1 Update golangci-lint linters
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-10 13:30:30 -08:00
e62c83eed8 Increase golangci-lint timeout
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-10 13:24:48 -08:00
fd3c744b4a Fix bug where command would always fail due to lack of one off jobs specified
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-10 13:04:18 -08:00
9a239a68b9 Fix metric help and register failure count metric
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-07 21:01:07 -08:00
6a28cf96a8 Run linters and fixers
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-04 15:18:50 -07:00
dd23da80ee Add check for restic before running
Fixes #2
2022-11-04 15:12:33 -07:00
3103fbde29 Raise an error when an unknown job is requested
Some checks failed
continuous-integration/drone/push Build is failing
Fixes #1
2022-11-04 14:32:28 -07:00
917438471e Fix option adding
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-03 16:43:17 -07:00
5813fe56bf Add ability to mix database dump tasks with other tasks
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-03 16:14:11 -07:00
c0e1795a80 Add global config for passing '--option' flags
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-03 15:34:17 -07:00
8b5d15d4b2 Add more descriptive errors for debugging
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-03 15:16:37 -07:00