mirror of
https://github.com/ViViDboarder/drone-webdav.git
synced 2025-01-04 19:47:33 +00:00
Add multi file test
This commit is contained in:
parent
55ea8f5fe7
commit
eaf8993535
@ -1,6 +1,6 @@
|
||||
FROM alpine:3.11
|
||||
|
||||
RUN apk --no-cache add bash=~5.0 curl=~7.67 ca-certificates=~20191127
|
||||
RUN apk --no-cache add bash=~5.0 curl=~7.79 ca-certificates=~20191127
|
||||
COPY push.sh /bin/
|
||||
RUN chmod +x /bin/push.sh
|
||||
|
||||
|
@ -12,9 +12,9 @@ services:
|
||||
context: ../
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- './test.txt:/test.txt'
|
||||
- '.:/test'
|
||||
environment:
|
||||
PLUGIN_FILE: '/test.txt'
|
||||
PLUGIN_FILE: '/test/test{1,2}.txt'
|
||||
PLUGIN_DESTINATION: 'http://webdav/'
|
||||
PLUGIN_USERNAME: jdoe
|
||||
PLUGIN_PASSWORD: hunter2
|
||||
|
@ -9,9 +9,9 @@ services:
|
||||
context: ../
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- './test.txt:/test.txt'
|
||||
- '.:/test'
|
||||
environment:
|
||||
PLUGIN_FILE: '/test.txt'
|
||||
PLUGIN_FILE: '/test/test{1,2}.txt'
|
||||
PLUGIN_DESTINATION: 'http://webdav/'
|
||||
PLUGIN_TIMEOUT: 10
|
||||
PLUGIN_ATTEMPTS: 4
|
||||
|
1
tests/test2.txt
Normal file
1
tests/test2.txt
Normal file
@ -0,0 +1 @@
|
||||
ohai
|
Loading…
Reference in New Issue
Block a user