Daniel Huber
16c47faf35
Fix default docker prefix value of traefik certdumper
...
docker-compose logs a warning if a environment variable is not set and has no default value.
This adds a default string as the default for traefik certdumper which was added in 7c7b52d9
.
6 years ago
Daniel Huber
b4f6f6b354
Merge branch 'master' into fix-docker-prefix
6 years ago
Tim Möhlmann
7c7b52d935
Include certdumper in autobuild
6 years ago
Daniel Huber
d357ed67f5
Add DOCKER_PREFIX in tests and setup files
6 years ago
Tim Möhlmann
a5d6acfb96
Use MAILU_VERSION from Travis for Docs build
6 years ago
kaiyou
f6520eace6
Merge branch 'feat-psql-support' of https://github.com/usrpro/Mailu into usrpro-feat-psql-support
6 years ago
Tim Möhlmann
f0906073e3
Merge remote-tracking branch 'upstream/master' into feat-subnet2
6 years ago
Tim Möhlmann
c0972face6
Correct subnetting functionality for the tests and setup
6 years ago
Ionut Filip
35be1710a6
Changed user creation command
6 years ago
Ionut Filip
8acf9451fa
Changed admin and user creation command
6 years ago
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.
6 years ago
hoellen
02367d1447
Merge branch 'master' into feat-image-prefix
6 years ago
Tim Möhlmann
d84254ccd8
Update user creation to python3
6 years ago
Ionut Filip
e668d360e8
Changed user creation command
6 years ago
Ionut Filip
ddd4be8f9a
Changed admin and user creation command
6 years ago
Tim Möhlmann
79246cf2a3
Create Postgresql image
6 years ago
Tim Möhlmann
eccadeca16
Merge pull request #8 from usrpro/feat-email-test
...
Feat email test
6 years ago
Ionut Filip
76d9fc3865
Rewrite of email test script and added eicar virus file
6 years ago
Ionut Filip
4032e7128d
Calling email test as hook with msg as arg
6 years ago
Ionut Filip
fca3dc4e70
Flushing stream before calling subprocess
6 years ago
Ionut Filip
9a7fc1416a
Replaces os.popen with subprocess.check_output
6 years ago
Daniel Huber
b3ac4465f2
Add docker image prefix
6 years ago
Ionut Filip
982e586e49
Replaced os.system calls with native python calls
6 years ago
Ionut Filip
fd8ed3dfa6
Moved certs copy in travis
6 years ago
Ionut Filip
88f5e6e4cf
Moved users creation in core
6 years ago
Ionut Filip
c3bc7988c9
Implemented email test for travis
6 years ago
Ionut Filip
4e9dc0c3c9
Implemented sending/reading email(local tests)
6 years ago
Tim Möhlmann
ca4804653d
Merge branch 'master' into feat-setup
6 years ago
Tim Möhlmann
a46d0fe581
Fix path for hooks
6 years ago
Tim Möhlmann
35e0fa1b9d
Drop IPv6 for travis
6 years ago
Tim Möhlmann
dde7ccca97
Created test cases from latest setup revision
6 years ago
Tim Möhlmann
72e931f4b4
Modify setup templates to allow for DOCKER_ORG and VERSION override. (Needed for Travis)
6 years ago
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
12d8872a09
Fix unbound build path
6 years ago
Tim Möhlmann
bcfce27ee2
Standarize unbound, prepare for setup inclusion
...
- Use jinja template for configuration file (start.py)
- Limit access to the Mailu subnet
- Implement health checks
6 years ago
Tim Möhlmann
5b7b29ee3f
Merge remote-tracking branch 'upstream/master' into feat-unbound-dns
6 years ago
mergify[bot]
28a5f8574d
Merge pull request #661 from usrpro/feat-sys-log
...
Option to send front logs to journald or syslog
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
3f7e7ca3a6
Use defaults in variables, to allow for local builds
6 years ago
kaiyou
00b5ae11db
Merge branch 'master' into feat-abstract-db
6 years ago
Tim Möhlmann
013d02d726
Add unbound to the build directive
6 years ago
Tim Möhlmann
c316c040c5
Use travis_wait for sleep
6 years ago
Tim Möhlmann
1bbb86eab5
Add autobuild for 'setup'
6 years ago
Tim Möhlmann
5716ca933e
Fix autodeploy after merge with master
6 years ago
Tim Möhlmann
32224202d6
Merge branch 'master' into feat-test-suite-v2
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
Tim Möhlmann
5987703631
Tavis-ci to upload images to the Docker hub, after succesfull tests.
...
For this to work, the following variables will need to be set at Docker hub:
- DOCKER_ORG first part of docker repo name (example: mailu)
- DOCKER_UN Docker-hub login username (private)
- DOCKER_PW Docker-hub login password (private)
Note that also Docker hub autobuilds will have to be disabled.
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
Tim Möhlmann
07af9978e2
Revert "Build the docs during tests"
...
This reverts commit b287a85124
.
6 years ago
Tim Möhlmann
6490a43492
Revert "Attempt to fix the docs build context"
...
This reverts commit 11bcae4c57
.
6 years ago
Tim Möhlmann
11bcae4c57
Attempt to fix the docs build context
6 years ago
kaiyou
b287a85124
Build the docs during tests
6 years ago
kaiyou
339b3c1b24
Build the documentation as a Docker image
6 years ago
Tim Möhlmann
69c19dca55
Attempt to fix the docs build context
6 years ago
kaiyou
82140baa69
Add a very simple test script for sending mails
6 years ago
kaiyou
72cfadd5e8
Build the docs during tests
6 years ago
Tim Möhlmann
f5f8d1d84b
Test-building using travis-ci
6 years ago