Tim Möhlmann
2a20c1e8ee
Tests for initial admin create
2019-08-21 17:50:14 +03:00
Manuel Vázquez Acosta
6cc6f2742b
Activate ClamAV in filters tests.
...
See https://github.com/Mailu/Mailu/pull/907#issuecomment-462043036
2019-02-09 10:29:15 -05:00
Ionut Filip
cb1c90b423
Removed DISABLE_FTS_LUCENE
2019-01-11 15:18:42 +02:00
Dario Ernst
bbb24a8863
Add more tests: Auto-forwarding, sending to an alias and auto-reply
...
Add simple test for auto-reply
2019-01-06 21:47:01 +01:00
Daniel Huber
d357ed67f5
Add DOCKER_PREFIX in tests and setup files
2018-12-21 18:13:08 +01:00
Tim Möhlmann
f0906073e3
Merge remote-tracking branch 'upstream/master' into feat-subnet2
2018-12-07 11:08:28 +02:00
Tim Möhlmann
c0972face6
Correct subnetting functionality for the tests and setup
2018-12-06 16:44:12 +02:00
Ionut Filip
35be1710a6
Changed user creation command
2018-12-06 12:36:56 +02:00
Ionut Filip
8acf9451fa
Changed admin and user creation command
2018-12-06 12:34:56 +02:00
Tim Möhlmann
8172f3eab8
Move the Mailu Docker network to a fixed subnet.
...
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility.
However, their usage have become optional.
2018-12-06 12:08:22 +02:00
Tim Möhlmann
d84254ccd8
Update user creation to python3
2018-12-05 16:23:16 +02:00
Ionut Filip
76d9fc3865
Rewrite of email test script and added eicar virus file
2018-11-05 17:28:40 +02:00
Ionut Filip
4032e7128d
Calling email test as hook with msg as arg
2018-11-05 12:34:52 +02:00
Ionut Filip
fca3dc4e70
Flushing stream before calling subprocess
2018-11-03 19:34:47 +02:00
Ionut Filip
9a7fc1416a
Replaces os.popen with subprocess.check_output
2018-11-03 19:15:05 +02:00
Ionut Filip
982e586e49
Replaced os.system calls with native python calls
2018-11-02 16:25:55 +02:00
Ionut Filip
fd8ed3dfa6
Moved certs copy in travis
2018-11-02 15:17:59 +02:00
Ionut Filip
88f5e6e4cf
Moved users creation in core
2018-11-02 15:05:16 +02:00
Ionut Filip
c3bc7988c9
Implemented email test for travis
2018-11-02 14:27:46 +02:00
Ionut Filip
4e9dc0c3c9
Implemented sending/reading email(local tests)
2018-11-01 11:40:54 +02:00
Tim Möhlmann
a46d0fe581
Fix path for hooks
2018-10-25 18:45:24 +03:00
Tim Möhlmann
35e0fa1b9d
Drop IPv6 for travis
2018-10-25 18:23:42 +03:00
Tim Möhlmann
dde7ccca97
Created test cases from latest setup revision
2018-10-25 17:35:53 +03:00
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
2018-10-25 15:27:09 +03:00
Tim Möhlmann
238d4e7f20
Provide test cases created with the new setup utility
2018-10-24 12:02:28 +03:00
Tim Möhlmann
f3ebf35c75
Fix autotest
2018-10-16 12:56:12 +03:00
Tim Möhlmann
acbb586e71
Option to send logs to journald or syslog
2018-10-16 12:38:17 +03:00
Tim Möhlmann
c316c040c5
Use travis_wait for sleep
2018-10-07 14:08:45 +03:00
Tim Möhlmann
f7d8f20c87
Move DOCKER_ORG default to travis.yml
2018-10-06 17:24:42 +03:00
Tim Möhlmann
a19e11d552
Clean terminal distortion from docker-compose in travis
2018-10-06 17:06:23 +03:00
Tim Möhlmann
bb6b984610
Exclude fetchmail for the time being. See Mailu/Mailu#412
2018-10-06 16:46:01 +03:00
Tim Möhlmann
39c159bae9
Make the code a bit more DRY. Put sleep back into main loop
2018-10-06 16:34:57 +03:00
Tim Möhlmann
508796eaab
Verbose sleep
2018-10-06 16:25:12 +03:00
Tim Möhlmann
59eb4a5a00
Minor script flow restructure
2018-10-06 16:12:05 +03:00
Tim Möhlmann
42f557ff38
Cleanup containers
2018-10-06 16:03:07 +03:00
Tim Möhlmann
4133bab280
Default to mailu for DOCKER_ORG
2018-10-06 15:52:39 +03:00
Ionut Filip
38db35f1d6
Make docker ps more verbose
2018-10-05 15:04:04 +03:00
Tim Möhlmann
3224a8ecad
Further introduction of the DOCKER_ORG variable
2018-10-05 12:52:19 +03:00
Ionut Filip
20f37607bb
Added docker ps and logs
2018-10-05 11:55:01 +03:00
Ionut Filip
71eed72e21
Changed exit condition
2018-10-04 17:58:34 +03:00
Ionut Filip
027b8f36df
Added a check for container status
2018-10-04 17:58:34 +03:00
Ionut Filip
bc70be35c2
Added function to check docker containers
2018-10-04 17:58:34 +03:00
Ionut Filip
645a7f3c96
Removed BIND_ADDRESS6
2018-10-04 17:58:34 +03:00
Ionut Filip
28ebcd5007
Fixed paths to files
2018-10-04 17:58:34 +03:00
Ionut Filip
ebe90fc447
Added run script for travis
2018-10-04 17:58:34 +03:00
Ionut Filip
0067d97f26
Copied docs/compose/.env to tests/compose/core.env
2018-10-04 17:58:34 +03:00
Ionut Filip
5cc5b7c40a
Copied docs/compose/docker-compose.yml to tests/compose/run.yml
...
Edit for test environment
2018-10-04 17:58:34 +03:00