Einar Forselv
|
6a46632716
|
Remove temp comments
|
2019-04-18 05:18:44 +02:00 |
|
Einar Forselv
|
b5951e484c
|
Remove old debug method
|
2019-04-18 05:12:08 +02:00 |
|
Einar Forselv
|
e553125854
|
backup process container should belong to the current project
|
2019-04-18 05:08:35 +02:00 |
|
Einar Forselv
|
820a78a10f
|
Remove dead code
|
2019-04-18 05:07:39 +02:00 |
|
Einar Forselv
|
c37435ea34
|
Split cli commands into functions
|
2019-04-18 05:01:02 +02:00 |
|
Einar Forselv
|
15c91d5970
|
Pass env vars and volumes from the backup container to the backup process container
|
2019-04-18 04:44:10 +02:00 |
|
Einar Forselv
|
58b3220a2e
|
Support generating volume list in create/run format
|
2019-04-18 04:43:42 +02:00 |
|
Einar Forselv
|
ce50a1ff0e
|
Support getting configured container env vars
|
2019-04-18 04:26:30 +02:00 |
|
Einar Forselv
|
f67e9968f5
|
Trim container fixtures of unused info
|
2019-04-18 04:26:08 +02:00 |
|
Einar Forselv
|
fb32d55ea8
|
Make container fixtures compatible with new format
|
2019-04-18 03:55:23 +02:00 |
|
Einar Forselv
|
30246a2346
|
Ensure the backup_process label is set for the backup process container
|
2019-04-18 03:53:03 +02:00 |
|
Einar Forselv
|
f97986c0af
|
Include env vars in backup_runner
|
2019-04-18 03:52:28 +02:00 |
|
Einar Forselv
|
a5480fd645
|
Include a sample of container json data
|
2019-04-18 03:50:53 +02:00 |
|
Einar Forselv
|
d2d5c0aa0f
|
Make Container class compatible with new json format
|
2019-04-18 03:50:24 +02:00 |
|
Einar Forselv
|
6bcb31da98
|
Query containers using the most recent API version
This means we will also get the Config section with env vars
|
2019-04-18 03:49:47 +02:00 |
|
Einar Forselv
|
dd091041b8
|
Extend backup_runner with additonal parameters
|
2019-04-17 20:20:52 +02:00 |
|
Einar Forselv
|
2913398564
|
Spelling error
|
2019-04-17 20:13:23 +02:00 |
|
Einar Forselv
|
8bae4712da
|
Remove deprecated code
|
2019-04-17 19:16:47 +02:00 |
|
Einar Forselv
|
15a0952355
|
Don't allow oneoff containers
|
2019-04-17 19:15:58 +02:00 |
|
Einar Forselv
|
268a945af8
|
Bug: Ensure container properties are fetched safely
|
2019-04-17 04:40:56 +02:00 |
|
Einar Forselv
|
357e387ed2
|
Working container spawner
|
2019-04-17 04:38:15 +02:00 |
|
Einar Forselv
|
7a647c06b7
|
Upgrade to recent docker client
|
2019-04-17 03:45:51 +02:00 |
|
Einar Forselv
|
197cc16b01
|
Rename backup process label
|
2019-04-17 03:28:31 +02:00 |
|
Einar Forselv
|
d819200b7e
|
runner -> backup_runner
|
2019-04-17 03:28:07 +02:00 |
|
Einar Forselv
|
e9d4f3edce
|
Test detection of running bacup process container
|
2019-04-17 03:18:12 +02:00 |
|
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 |
|
Einar Forselv
|
0559e76a3a
|
Clarify volume differences in example
|
2019-04-14 00:02:40 +02:00 |
|
Einar Forselv
|
88c3b5c00e
|
Quick example compose yaml
|
2019-04-13 23:59:54 +02:00 |
|
Einar Forselv
|
73c3648617
|
Support backup labels
|
2019-04-13 23:19:34 +02:00 |
|
Einar Forselv
|
de94bf2107
|
Improve short project description
|
2019-04-13 23:12:56 +02:00 |
|
Einar Forselv
|
d9d6b5922a
|
Use tmp path for docker socket file by default
|
2019-04-13 20:19:49 +02:00 |
|
Einar Forselv
|
600b1a4392
|
Allow any repository path/backend
|
2019-04-13 20:12:25 +02:00 |
|
Einar Forselv
|
10a1dea271
|
Populate gitignore
|
2019-04-13 19:27:41 +02:00 |
|
Einar Forselv
|
ea479941c2
|
Remove vscode
|
2019-04-13 19:27:32 +02:00 |
|
Einar Forselv
|
a3cdb38239
|
Initial
|
2019-04-13 19:04:54 +02:00 |
|