* Make several changes in the release and CI setup.
- Remove .travis/ directory completely.
- Update deploy.py script to tag with major.minor version
and remove the v in the tag which it didn't before.
- Fix the CircleCI cron setup.
* Update config.yml
* Use buildkit if possible.
* Use machine executor which supports buildkit.
* Remove setup docker step
* Use newer image.
* Use buildkit syntax for caching pip dependencies.
This should significantly speed up the build process by not having
to build python wheels multiple times.
* Use plain output from buildkit
* Make deploy script work with Python 2.7
Also cache python deps across builds.
* Fix more python3 things
* Install dependency in python3
* Fix typos and use consistent YAML data structures for env
* Add Debug flag and more structure to the README
* Clarify default value of MM_HOSTNAME
* Fix typo
* Fix typos
Replace them with:
* containers' hostnames
* gateway's IP address for default SMTP_HOST
* Core: when SMTP_HOST undef, echo the default value
* docker-compose: add port mapping
* docker-compose: drop network driver conf
* Exim macro: use localhost as LMTP host
* Update README.md
* docker-compose: Limit port mapping to loopback
* Update other docker-compose example files
* Bump to use Alpine 3.12 since 3.8 is now EOL.
* Manually install pip in all images.
* Rename all py- modules to py3- modules.
* Replace mysqldb with mysqlclient library for Mysql support in web.
We have to append ">>" to /etc/mailman.cfg and not to overwrite previously written content with ">".
Problem was that the database config made in setup_database was overriden.
* Add code for auto-detecting database class for common cases.
* Fix unintentional space indentation instead of proper tab indentation
* Fix another left-over spaces indentation (sorry)
* Create rolling releases using the Gitlab API.
This commit builds rolling releases of Container images using the latest commit
on master branch if the pipeline passed for it. The script which gets the
references is still un-tested and should be tested.
The latest commit hashes are passed as arguments to the Dockerfile, which is
then used by PIP to install the specific version of the dependency.
Even though the 'master.lck' is supposed to prevent race conditions, it needs to
be manually removed if the container did not shutdown gracefully. Remove the
manual check for the lock file and force mailman to remove it.
Also, set the stop_grace_period to 30s, which would allow Core to stop
gracefully and not leave the lock file over. Default value in case of Docker is 10s.