mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 17:09:30 +00:00
add test for myjdownloader credentials/config
This commit is contained in:
parent
8a636a7f50
commit
712249d5c6
3 changed files with 16 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ for image in "${images[@]}"; do
|
||||||
|
|
||||||
echo "Testing again with UID and GID"
|
echo "Testing again with UID and GID"
|
||||||
GOSS_FILES_PATH=./tests/uid-test dgoss run -e UID=1001 -e GID=101 $tag
|
GOSS_FILES_PATH=./tests/uid-test dgoss run -e UID=1001 -e GID=101 $tag
|
||||||
|
|
||||||
|
echo "Testing again with EMAIL and PASSWORD"
|
||||||
|
GOSS_FILES_PATH=./tests/credentials-test dgoss run -e EMAIL=mymail@example.com -e PASSWORD=mypassword $tag
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
11
tests/credentials-test/goss.yaml
Normal file
11
tests/credentials-test/goss.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
file:
|
||||||
|
/opt/JDownloader/cfg/org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json:
|
||||||
|
exists: true
|
||||||
|
mode:
|
||||||
|
or:
|
||||||
|
- "0664"
|
||||||
|
- "0644"
|
||||||
|
filetype: file
|
||||||
|
contains:
|
||||||
|
- mymail@example.com
|
||||||
|
- mypassword
|
||||||
|
|
@ -30,6 +30,8 @@ file:
|
||||||
package:
|
package:
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
installed: true
|
installed: true
|
||||||
|
jq:
|
||||||
|
installed: true
|
||||||
user:
|
user:
|
||||||
jdownloader:
|
jdownloader:
|
||||||
exists: true
|
exists: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue