Add multi file test

This commit is contained in:
ViViDboarder 2022-04-24 09:58:00 -07:00
parent 55ea8f5fe7
commit eaf8993535
5 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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
View File

@ -0,0 +1 @@
ohai