Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new storage backend: Dropbox (#103) #251

Merged
merged 49 commits into from
Aug 24, 2023
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
4e04cb9
Add new storage backend: Dropbox (#103)
MaxJa4 Aug 20, 2023
6362b32
Remove duplicate check
MaxJa4 Aug 21, 2023
05c7a15
Add concurrency level for parallel upload to dropbox.
MaxJa4 Aug 21, 2023
f29b4c0
Fixed some instabilites. Changed default concurrency to 6.
MaxJa4 Aug 21, 2023
c5d596d
Added some env config vars to readme. WIP
MaxJa4 Aug 21, 2023
ddca5c4
Wrap errors for storage backend creation.
MaxJa4 Aug 21, 2023
70275ea
Fixed token issue, added OAuth2 including recipe and docs.
MaxJa4 Aug 21, 2023
894608f
Readme typo fix
MaxJa4 Aug 21, 2023
cd49b8c
Test for dropbox integration
MaxJa4 Aug 22, 2023
2ea59a6
Update info and TOC
MaxJa4 Aug 22, 2023
c7b9ef7
Missed a file
MaxJa4 Aug 22, 2023
f60f633
Docker-compose fix
MaxJa4 Aug 22, 2023
5f6b547
Fix endpoint connection
MaxJa4 Aug 22, 2023
2db707c
Fix container names
MaxJa4 Aug 22, 2023
a64c6ab
Fix log fetching
MaxJa4 Aug 22, 2023
385d692
Fix log fetching (again)
MaxJa4 Aug 22, 2023
08ae3c7
Print command output to logs
MaxJa4 Aug 22, 2023
c304b4f
Addressing comments part 1
MaxJa4 Aug 23, 2023
5147753
Address comments part 2
MaxJa4 Aug 23, 2023
7ddeb99
Add OAuth2 mock server for CI testing
MaxJa4 Aug 23, 2023
0e46fc3
Fix env name of oauth2 endpoint
MaxJa4 Aug 23, 2023
a5ce440
Remove hostname
MaxJa4 Aug 23, 2023
955f98e
Add forgotten change to commit...
MaxJa4 Aug 23, 2023
396a75d
Fix oauth2 endpoint
MaxJa4 Aug 23, 2023
155f0e4
Try again
MaxJa4 Aug 23, 2023
4f7fb2c
Try suggested hostname again
MaxJa4 Aug 23, 2023
1b5e449
Fix docker internal DNS resolving issues (as suggested by oauth2 mock…
MaxJa4 Aug 23, 2023
84fc0c2
Add docker network, remove hostname
MaxJa4 Aug 23, 2023
f539240
Network not external
MaxJa4 Aug 23, 2023
569f74e
Last hostname try
MaxJa4 Aug 23, 2023
4d7af32
Add more delay, add oauth2 endpoint log
MaxJa4 Aug 23, 2023
4c4c431
Temp CI log output of command even when failing
MaxJa4 Aug 23, 2023
fe2ffa0
Try different config and method
MaxJa4 Aug 23, 2023
30159de
Add custom server-hostname. Rename test folder to accellerate debugging
MaxJa4 Aug 23, 2023
4dbfc76
Try that fix again
MaxJa4 Aug 23, 2023
bf73fa0
Adding quotes
MaxJa4 Aug 23, 2023
8b626c3
Port fix attempt
MaxJa4 Aug 23, 2023
3e32fe5
Try localhost
MaxJa4 Aug 23, 2023
1ba97e9
Try extra hosts
MaxJa4 Aug 23, 2023
58758dd
Change network mode
MaxJa4 Aug 23, 2023
cb0f79e
Undo some changes
MaxJa4 Aug 23, 2023
159a9d5
Use static IP
MaxJa4 Aug 23, 2023
4d415bc
Remove specific IP binding
MaxJa4 Aug 23, 2023
8654234
Change to default net driver
MaxJa4 Aug 23, 2023
32462de
Fix static IP
MaxJa4 Aug 23, 2023
e9b617b
Squash for revert
MaxJa4 Aug 23, 2023
b2b9e3a
Merge branch 'dropbox-storage-backend' of https://github.com/MaxJa4/d…
MaxJa4 Aug 23, 2023
3899afb
Revert "Squash for revert"
MaxJa4 Aug 23, 2023
1da61c5
Actual fix for CI testing from #257
MaxJa4 Aug 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions test/dropbox/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ version: '3'
services:
openapi_mock:
image: muonsoft/openapi-mock
volumes:
- dropbox_backup_data:/var/lib/dav
- ./user_v2.yaml:/etc/openapi/user_v2.yaml
- ./openapi-mock.yaml:/etc/openapi/openapi-mock.yaml
environment:
- OPENAPI_MOCK_USE_EXAMPLES: if_present
- OPENAPI_MOCK_SPECIFICATION_URL: https://raw.githubusercontent.com/offen/docker-volume-backup/2ea59a649be79d6cb22b8b5ad29e24377d4ab9d4/test/dropbox/user_v2.yaml
OPENAPI_MOCK_USE_EXAMPLES: if_present
OPENAPI_MOCK_SPECIFICATION_URL: https://raw.githubusercontent.com/offen/docker-volume-backup/2ea59a649be79d6cb22b8b5ad29e24377d4ab9d4/test/dropbox/user_v2.yaml
MaxJa4 marked this conversation as resolved.
Show resolved Hide resolved
ports:
- 8080:8080

Expand Down Expand Up @@ -44,6 +40,4 @@ services:
- app_data:/var/opt/offen

volumes:
dropbox_backup_data:
name: dropbox_backup_data
app_data: