Ionut Filip
3b1fdc6166
Migrate test script from shell to python
...
- test.py needs to be called with 2 arguments : test_name and timeout
- it will cd to test_name dir and use the test_name.yml from there
- it will sleep for an amount of time equals to timeout in minutes
- it will perform health checks for containers. If healtcheck isn't enabled will check for running state
- it will run hooks inside the test_name dir ( .py and .sh) if there are any
- printing logs in any case
6 years ago
Tim Möhlmann
238d4e7f20
Provide test cases created with the new setup utility
6 years ago
Tim Möhlmann
f3ebf35c75
Fix autotest
6 years ago
Tim Möhlmann
acbb586e71
Option to send logs to journald or syslog
6 years ago
Tim Möhlmann
c316c040c5
Use travis_wait for sleep
6 years ago
Tim Möhlmann
f7d8f20c87
Move DOCKER_ORG default to travis.yml
6 years ago
Tim Möhlmann
a19e11d552
Clean terminal distortion from docker-compose in travis
6 years ago
Tim Möhlmann
bb6b984610
Exclude fetchmail for the time being. See Mailu/Mailu#412
6 years ago
Tim Möhlmann
39c159bae9
Make the code a bit more DRY. Put sleep back into main loop
6 years ago
Tim Möhlmann
508796eaab
Verbose sleep
6 years ago
Tim Möhlmann
59eb4a5a00
Minor script flow restructure
6 years ago
Tim Möhlmann
42f557ff38
Cleanup containers
6 years ago
Tim Möhlmann
4133bab280
Default to mailu for DOCKER_ORG
6 years ago
Ionut Filip
38db35f1d6
Make docker ps more verbose
6 years ago
Tim Möhlmann
3224a8ecad
Further introduction of the DOCKER_ORG variable
6 years ago
Ionut Filip
20f37607bb
Added docker ps and logs
6 years ago
Ionut Filip
71eed72e21
Changed exit condition
6 years ago
Ionut Filip
027b8f36df
Added a check for container status
6 years ago
Ionut Filip
bc70be35c2
Added function to check docker containers
6 years ago
Ionut Filip
645a7f3c96
Removed BIND_ADDRESS6
6 years ago
Ionut Filip
28ebcd5007
Fixed paths to files
6 years ago
Ionut Filip
ebe90fc447
Added run script for travis
6 years ago
Ionut Filip
0067d97f26
Copied docs/compose/.env to tests/compose/core.env
6 years ago
Ionut Filip
5cc5b7c40a
Copied docs/compose/docker-compose.yml to tests/compose/run.yml
...
Edit for test environment
6 years ago