Commit Graph
100 Commits
Author SHA1 Message Date
einarf be3b3668bc Bump version + bump reqs and base image 2023-03-08 23:09:05 +01:00
Einar Forselv b52655a23b Merge pull request #37 from wehrstedt/email-allow-empty-password
Allow empty password for smpt
2021-06-18 09:54:06 +02:00
einarf 5c33ccf0b1 Bump version 2020-05-28 01:27:06 +02:00
einarf 764aac6744 Docs for EXCLUDE_BIND_MOUNTS and INCLUDE_PROJECT_NAME 2020-05-28 01:18:21 +02:00
einarf bbe57dfd69 Broken test intialization 2020-05-28 00:18:04 +02:00
einarf 4517880846 pep8 2020-05-28 00:13:27 +02:00
einarf 1fefd63c72 Use py38 in tests 2020-05-28 00:13:04 +02:00
Einar Forselv 4e1af219e2 Merge pull request #27 from jannikw/exclude-bind-mounts
Allow excluding all bind mounts from backups
2020-05-28 00:03:35 +02:00
Einar Forselv 93f080d5b3 Merge pull request #26 from jannikw/project-names
Allow grouping of backup directories by project name
2020-05-27 23:59:27 +02:00
Einar Forselv 8b934dc12f Update README.md 2020-05-15 23:37:44 +02:00
Einar Forselv 8e9105fed5 Install wheel 2020-05-15 23:37:39 +02:00
Einar Forselv d7492e51f6 Test command for listing swarm nodes 2020-03-08 18:36:29 +01:00
Einar Forselv 07a19f7f42 Get swarm nodes + robust fallback 2020-03-08 18:36:07 +01:00
Einar Forselv 13d8e07a33 Add swarm node json example 2020-03-08 18:35:37 +01:00
Einar Forselv 25b39b9908 Missing label in swarm test file 2020-03-08 17:38:01 +01:00
Einar Forselv d0fdf2d1d3 README: dev note about joining and leaving swarm 2020-03-08 17:37:40 +01:00
Einar Forselv 3aa0704045 Add service with volume in local dev stack sample 2020-03-08 14:51:15 +01:00
Einar Forselv cf668e2153 Bump version 2020-03-07 03:10:48 +01:00
Einar Forselv d4c77cf43d Bug: Properly resolve conainer service name 2020-03-07 03:05:40 +01:00
Einar Forselv cecc647a10 Include swarm containers when SWARM_MODE is set 2020-03-07 02:56:36 +01:00
Einar Forselv 61ec487e24 Support SWARM_MODE 2020-03-07 02:55:22 +01:00
Einar Forselv 0bab85f5cf Update local dev compose and stack setup 2020-03-07 02:54:56 +01:00
Einar Forselv 1a100d73ab Update README.md 2020-03-07 02:28:46 +01:00
Einar Forselv 270137d931 README: Local dev setup 2020-03-07 02:24:22 +01:00
Einar Forselv e4263822bf Container: Stack name + reorganize 2020-03-07 01:27:24 +01:00
Einar Forselv 311bedb5ab Store stack and compose project sample json 2020-03-07 00:14:58 +01:00
Einar Forselv 88cf894689 Simple swarm stack 2020-03-07 00:14:11 +01:00
Einar Forselv 6817f0999f Update release.md 2019-12-17 00:32:29 +01:00
Einar Forselv 74c0954e6f pep8 2019-12-16 22:38:52 +01:00
Einar Forselv f6995eb506 Update env var docs including docker config 2019-12-16 22:36:23 +01:00
Einar Forselv ef28baed5e Update fixtures 2019-12-16 22:36:04 +01:00
Einar Forselv 336cace237 Bump version 2019-12-16 22:21:11 +01:00
Einar Forselv cab4676b91 Create docker client from standard env vars 2019-12-16 22:19:57 +01:00
Einar Forselv d002ad9390 Update env example 2019-12-16 22:19:05 +01:00
Einar Forselv 98a10bf994 Mark backup process container with env variable 2019-12-16 21:51:37 +01:00
Einar Forselv 2535ce3421 Add sponsor 2019-12-11 13:17:32 +01:00
Einar Forselv 8858f88ba4 Broken test 2019-12-10 17:28:35 +01:00
Einar Forselv c5b7f11db7 Attempt to partly fix #18 2019-12-10 07:57:37 +01:00
Einar Forselv a099060b2e Bump version 2019-12-09 06:33:31 +01:00
Einar Forselv dd40152fe1 dev compose mapping incorrect tests dir 2019-12-09 06:32:31 +01:00
Einar Forselv f77d61410d Notes for advanced docs 2019-12-09 06:24:32 +01:00
Einar Forselv 272244fecf rcb docs 2019-12-09 06:21:52 +01:00
Einar Forselv 7b2ffd8e7c toctree issue 2019-12-09 05:16:59 +01:00
Einar Forselv be173ff5cb configuration: Compose labels 2019-12-09 05:05:25 +01:00
Einar Forselv df92579e10 Update README.md 2019-12-09 04:31:44 +01:00
Einar Forselv fb3c564d7a First doc version 2019-12-09 03:57:16 +01:00
Einar Forselv 151f3cfeeb Update README.md 2019-12-08 15:13:06 +01:00
Einar Forselv 2848738789 Update README.md 2019-12-08 15:10:06 +01:00
Einar Forselv cf402d77ed Simplify README 2019-12-08 14:57:17 +01:00
Einar Forselv ae835f30d3 Make crontab configurable 2019-12-08 06:38:56 +01:00
Einar Forselv 1e21ff422f Detect if a repository should be initialized
This is better than trying to initialize it every time
2019-12-08 05:09:05 +01:00
Einar Forselv 6347529701 Alert when nothing is found to back up + check repo after backup 2019-12-08 04:52:30 +01:00
Einar Forselv 3dacc0bfab Update containers.py 2019-12-08 04:51:07 +01:00
Einar Forselv fa14880742 Indicate we might want to run check with --with-cache 2019-12-08 04:50:33 +01:00
Einar Forselv 5eb773eb34 Fx broken backup process container test 2019-12-08 04:50:09 +01:00
Einar Forselv e8123922df Backup process label is now unique for each project 2019-12-08 03:51:57 +01:00
Einar Forselv be74715595 Already running backup process container is an error message 2019-12-08 03:33:11 +01:00
Einar Forselv 515702ae78 Truncate field sizes in discord webhook 2019-12-08 03:32:42 +01:00
Einar Forselv ff49d9c018 Bump version 2019-12-08 03:32:14 +01:00
Einar Forselv 187787425a Sane default buffer size in backup_from_stdin 2019-12-08 01:16:10 +01:00
Einar Forselv fa1c982bf5 pep8 2019-12-08 01:14:57 +01:00
Einar Forselv 2bbd329047 Alert when backup process is already running 2019-12-08 01:05:26 +01:00
Einar Forselv 8097ac79af Remove stale backup process containers 2019-12-08 00:57:23 +01:00
Einar Forselv 5082244949 Gather stale backup process containers 2019-12-08 00:32:39 +01:00
Einar Forselv d9e5a62458 List all containers including non-running ones 2019-12-08 00:26:02 +01:00
Einar Forselv 6085f5fc03 README: Docker version note 2019-12-08 00:10:40 +01:00
Einar Forselv d89ed781ef Comment on log streaming for docker ce 17 and 18 2019-12-08 00:08:41 +01:00
Einar Forselv e2dec9ffa0 Move all labels into enums module
This way we have more control over them
2019-12-07 23:59:27 +01:00
Einar Forselv 2b3a702f21 Mising docstrings 2019-12-07 09:19:16 +01:00
Einar Forselv 3456e1a899 Update README.md 2019-12-07 09:15:34 +01:00
Einar Forselv 105cdbb65e Incorrect pip install in travis.yml 2019-12-07 09:12:01 +01:00
Einar Forselv d671ffb626 Fix broken travis config 2019-12-07 09:05:48 +01:00
Einar Forselv f988b42881 Create .travis.yml 2019-12-07 08:43:07 +01:00
Einar Forselv 5d653c2c3c Clean up dockerignore 2019-12-07 08:39:05 +01:00
Einar Forselv c80b2774d4 Better handling of stdout/stderr logging 2019-12-06 17:19:51 +01:00
Einar Forselv 12da998538 Incorrect requirements dir after moving test package 2019-12-06 17:19:06 +01:00
Einar Forselv d17d776339 More comments in dev compose file 2019-12-06 10:53:51 +01:00
Einar Forselv 758c3075f1 Bump version 2019-12-06 09:09:05 +01:00
Einar Forselv 9cad6a5c71 Update cli.py 2019-12-06 09:08:48 +01:00
Einar Forselv 4ebe16af14 Properly get the container exit code 2019-12-06 08:21:21 +01:00
Einar Forselv fd87ddc388 More logging during backup 2019-12-06 08:21:06 +01:00
Einar Forselv 2cbc5aa6fa bump version 2019-12-06 07:36:30 +01:00
Einar Forselv ffa2dfc119 rcb version 2019-12-06 07:35:14 +01:00
Einar Forselv cfc92b2284 Bug: The log stream from docker can be str or bytes
We don't know why this is the case..
2019-12-06 07:30:39 +01:00
Einar Forselv 216202dec7 Bump version 2019-12-06 06:07:03 +01:00
Einar Forselv fab988a05e status command should display repository 2019-12-05 12:57:15 +01:00
Einar Forselv 164834d3a9 bug: cleanup should return integer exit code 2019-12-05 12:55:13 +01:00
Einar Forselv a0dfb04aa7 Run repo init in status command 2019-12-05 12:54:34 +01:00
Einar Forselv 7f588c57ab bug: forget and prune was never executed 2019-12-05 12:42:21 +01:00
Einar Forselv e01f7c6cff Update README.md 2019-12-05 12:33:24 +01:00
Einar Forselv 102073cb70 Bug: Do not refer to old tag 2019-12-05 12:30:50 +01:00
Einar Forselv e060c28c93 Update README.md 2019-12-05 11:26:11 +01:00
Einar Forselv 14903f3bbd Fully working tox run 2019-12-05 11:23:33 +01:00
Einar Forselv 96bd419a24 Move tests into src 2019-12-05 11:23:14 +01:00
Einar Forselv 75ab549370 re-add pytest.ini 2019-12-05 11:15:14 +01:00
Einar Forselv 6f06d25db5 pep8 2019-12-05 11:09:36 +01:00
Einar Forselv 0a9e5edfe4 Add basic tox setup 2019-12-05 11:08:40 +01:00
Einar Forselv 130be30268 Move package to src/ to properly separate what goes into docker image 2019-12-05 10:26:46 +01:00
Einar Forselv 0af9f2e8ee Catch exceptions in backup_runner 2019-12-05 10:16:34 +01:00
Einar Forselv c59f022a55 Properly log exceptions 2019-12-05 10:15:49 +01:00