Commit Graph

260 Commits

Author SHA1 Message Date
Einar Forselv 33b81a52f0 Detect running backup process container 2019-04-17 03:17:50 +02:00
Einar Forselv 5f06c3bb98 Add more docstrings to container module 2019-04-17 03:09:33 +02:00
Einar Forselv 2c9c418c6e Add basic type hints 2019-04-17 03:01:12 +02:00
Einar Forselv d809496eb2 Test exclude patterns 2019-04-17 02:45:01 +02:00
Einar Forselv 9397a87655 Handle exclude patterns 2019-04-17 02:44:48 +02:00
Einar Forselv ae2b1c3fc2 Ensure volumes without filters are returned 2019-04-17 01:18:49 +02:00
Einar Forselv d2f9bf2217 Working include test 2019-04-17 00:09:52 +02:00
Einar Forselv 5a9378441c Rework include/exclude 2019-04-17 00:09:36 +02:00
Einar Forselv 4a88cd04da Add test service with volumes and include label 2019-04-17 00:09:13 +02:00
Einar Forselv 95defe9e8a Update cli.py 2019-04-17 00:08:24 +02:00
Einar Forselv b9c7aad467 Tests: Incude filter 2019-04-16 22:47:20 +02:00
Einar Forselv 5a8411c822 Extend tests 2019-04-16 20:56:00 +02:00
Einar Forselv fb14d65878 Support getting a service by name 2019-04-16 20:55:22 +02:00
Einar Forselv 65b7050930 Generate random sha256 for each container fixture 2019-04-16 18:22:28 +02:00
Einar Forselv ac33ee39dd Create config in list_containers 2019-04-16 18:22:03 +02:00
Einar Forselv 9d3d87d9d5 Make config check skippable for tests 2019-04-16 18:21:42 +02:00
Einar Forselv 21843c8b7f Basic test passing 2019-04-16 02:57:06 +02:00
Einar Forselv 1e43c91d85 Remove test code in utils 2019-04-16 02:22:23 +02:00
Einar Forselv ab160b3eaa Fixtures module for generating containers 2019-04-16 02:19:20 +02:00
Einar Forselv 167fc4e214 Instantiate Config instance instead of using class namespace 2019-04-16 02:18:49 +02:00
Einar Forselv 2884fc1eec Make docker URI part of config 2019-04-15 19:49:57 +02:00
Einar Forselv e441c1fe91 Notes on db uris 2019-04-15 19:49:15 +02:00
Einar Forselv 8d392f89a6 Basic testcase setup 2019-04-15 19:07:14 +02:00
Einar Forselv 97ed56feb9 Move container listing to utils module for each mocking 2019-04-15 19:06:48 +02:00
Einar Forselv cf76803d3f Remove unnecessary imports 2019-04-15 18:31:26 +02:00
Einar Forselv fc47cd993d Basic argparser 2019-04-15 18:31:08 +02:00
Einar Forselv 6c25628ecb Map project into container in dev 2019-04-15 18:30:49 +02:00
Einar Forselv f7d7dcbf58 nuke old console command 2019-04-15 17:44:36 +02:00
Einar Forselv 5fd6542da2 Create console command 2019-04-15 17:44:17 +02:00
Einar Forselv 0e7d5308db Entrypoint working from cron and command line 2019-04-15 17:26:04 +02:00
Einar Forselv f6ce330d56 Split up modules 2019-04-15 17:25:42 +02:00
Einar Forselv 5202353e03 Compose file for dev 2019-04-15 17:04:16 +02:00
Einar Forselv 271749615f Basic env file 2019-04-15 17:03:47 +02:00
Einar Forselv 9cbd0ca321 Ignore build files 2019-04-15 17:03:33 +02:00
Einar Forselv b85d375ed3 Basic test instructions 2019-04-15 16:59:53 +02:00
Einar Forselv 738d23421f Update .dockerignore 2019-04-15 16:59:38 +02:00
Einar Forselv bf18ebfbc3 Build new package 2019-04-15 16:24:57 +02:00
Einar Forselv ffb0c501b8 Ignore irellevant files in the root 2019-04-15 16:24:44 +02:00
Einar Forselv fb889e4f2f Set up tests dir 2019-04-15 16:24:21 +02:00
Einar Forselv abff33f2dd Delete requirements.txt 2019-04-15 16:24:09 +02:00
Einar Forselv fc6ecd951d Major repo reorganizaion 2019-04-15 16:16:06 +02:00
Einar Forselv f76c91e549 Filter mounts based on include/exclude patterns 2019-04-14 21:22:11 +02:00
Einar Forselv 6d896757b7 Remove unnecessary mount properties 2019-04-14 20:55:35 +02:00
Einar Forselv 12a1b3d97e derp 2019-04-14 01:48:36 +02:00
Einar Forselv 2a4b0e78f5 Link backend specific env vars for restic 2019-04-14 01:40:42 +02:00
Einar Forselv 871e8a127d Container spawner mockup 2019-04-14 01:35:45 +02:00
Einar Forselv 8d93d478de Temp disable local backup run 2019-04-14 01:35:14 +02:00
Einar Forselv 3e0861c85e Exclude / include info 2019-04-14 01:34:39 +02:00
Einar Forselv 5287f7be8e Indent issue 2019-04-14 00:58:28 +02:00
Einar Forselv bb14fc7d8e exclude / incude label example 2019-04-14 00:57:38 +02:00