Commit Graph

51 Commits

Author SHA1 Message Date
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
a92ebc69ca Add rclone to Docker image
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-27 20:16:25 -07:00
ccc6d4bfbe Add consul and redis to image
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 15:32:05 -07:00
b9bbc6720a Add make docker-build target
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-15 12:10:04 -07:00
61b65afb63 Add prom metrics export 2022-04-15 12:09:14 -07:00
66a7881259 mysqldump password requires = on argument
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-15 10:52:26 -07:00
cc3b630359 Add c headers for mariadb auth
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-15 10:29:45 -07:00
12b1cfbb06 Add more mysql options
All checks were successful
continuous-integration/drone/push Build is passing
Default to --all-databases if none specified and add --no-tablespaces option
2022-04-15 10:25:29 -07:00
ced262d52c Install restic in main container, duh
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-14 15:04:57 -07:00
7935aaff96 Add port specification to mysqldump
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-14 09:14:16 -07:00
2b8b450861 Add bash, mysql, and sqlite commands for scripts
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-13 15:39:52 -07:00
8ccdde459a Fix bin path for docker
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-13 15:15:23 -07:00
bdbd9fb722 Add health apis
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-12 22:28:28 -07:00
d4782bfae2 Buildx
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-11 13:00:22 -07:00
ad8bfda15e Update Docker bin build args
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-11 12:29:37 -07:00
610530cc54 Add Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-07 13:36:26 -07:00
fd64313276 Update apt repos
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-07 13:04:06 -07:00
6b7d7193bb Install restic in test container
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-07 10:17:54 -07:00
0bbf57f3d5 fix .pre-commit-config.yaml hook url
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-05 22:04:52 -07:00
2ef3202af8 Add docker builds
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-04 20:25:05 -07:00
f064b2de12 Add env and readfile functions and a more extensive sample 2022-03-28 22:53:49 -07:00
d65603ba4b Ignore data dir that is sometimes used for local testing 2022-03-28 22:03:25 -07:00
5f0d42190f Rename compiled binary to fix make all 2022-03-28 22:03:00 -07:00
92209822db Add more tests and update config examples 2022-03-28 22:01:18 -07:00
97765853b4 Refactor for restore and add integration testing 2022-03-25 22:44:04 -07:00
a746859386 Add integration test for restic methods 2022-03-24 14:59:40 -07:00
870d19fd27 Deep asserts 2022-03-24 10:09:33 -07:00
3024a496c1 Make Job fulfill cron.Job 2022-02-23 23:09:04 -08:00
1b89470be5 Clean up a bit the Restic methods 2022-02-23 22:53:22 -08:00
57afeab4ca Add a lot more testing 2022-02-23 21:53:48 -08:00
512d924f0c Add job dir to backup paths 2022-02-23 21:43:19 -08:00
2a06097091 Fix go mod indirect 2022-02-23 17:00:22 -08:00
808030099f Add validation and a lot more testing 2022-02-23 14:13:00 -08:00
d00e78174c start adding some tests 2022-02-23 08:05:24 -08:00
048e062102 Linter updates 2022-02-22 16:55:41 -08:00
a1969b681a Some basic functionality 2022-02-22 16:39:01 -08:00
c6201750a7 Some more base methods 2022-02-19 22:09:23 -08:00
8cbaae9c20 Add config skeleton 2022-02-18 14:37:51 -08:00