Add some tests and simplify push syntax

This commit is contained in:
ViViDboarder
2020-05-18 18:08:06 -07:00
parent 33594bbc59
commit 21ad3e9eeb
6 changed files with 65 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
---
version: '2.4'
services:
webdav:
image: sashgorokhov/webdav
environment:
USERNAME: jdoe
PASSWORD: hunter2
plugin:
build:
context: ../
dockerfile: Dockerfile
volumes:
- './test.txt:/test.txt'
environment:
PLUGIN_FILE: '/test.txt'
PLUGIN_DESTINATION: 'http://webdav/'
PLUGIN_USERNAME: jdoe
PLUGIN_PASSWORD: hunter2
PLUGIN_ATTEMPTS: 4
+16
View File
@@ -0,0 +1,16 @@
---
version: '2.4'
services:
webdav:
image: sashgorokhov/webdav
plugin:
build:
context: ../
dockerfile: Dockerfile
volumes:
- './test.txt:/test.txt'
environment:
PLUGIN_FILE: '/test.txt'
PLUGIN_DESTINATION: 'http://webdav/'
PLUGIN_ATTEMPTS: 4
+1
View File
@@ -0,0 +1 @@
ohai