mirror of
https://github.com/ViViDboarder/drone-webdav.git
synced 2026-06-04 10:15:09 +08:00
Add multi file test
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ohai
|
||||
Reference in New Issue
Block a user