mirror of
https://github.com/ViViDboarder/drone-webdav.git
synced 2026-06-14 05:12:42 +08:00
Add some tests and simplify push syntax
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
ohai
|
||||
Reference in New Issue
Block a user