Commit Graph

97 Commits

Author SHA1 Message Date
Pierre-Gildas MILLON
231fb0b9fc Add py-cryptography 2021-12-16 22:08:43 +01:00
Abhilash Raj
d63b3ce8bd Bump versions (#518) 2021-09-28 20:35:17 -07:00
Abhilash Raj
fd837d04f1 Make several changes in the release and CI setup. (#509)
* 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
2021-09-17 11:10:27 -07:00
Abhilash Raj
5b9b22cc09 Update docker-entrypoint.sh 2021-08-18 21:56:30 -07:00
Abhilash Raj
a1a8d7cd37 Run mailman aliases command as mailman user 2021-08-18 01:26:47 +00:00
Gabor Szarnyas
3dd4718770 README fixes (#464)
* 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
2021-05-21 13:54:03 -07:00
Danil Smirnov
0d38c5b793 Fixing the default value for MM_HOSTNAME (#454) 2021-04-01 08:41:56 -07:00
Abhilash Raj
97b86b08fe Merge pull request #450 from maxking/release-0.3.12
Upgrade Core to 3.3.4
2021-03-27 16:46:56 -07:00
Abhilash Raj
57fa5b23bd Upgrade Core to 3.3.4 2021-03-27 16:18:09 -07:00
Abhilash Raj
7d67045280 Pin to sqlalchemy < 1.4.0 2021-03-20 01:18:08 -07:00
pini-gh
c10aa6fce4 Get rid of hard coded IPs (#441)
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
2021-03-15 10:47:13 -07:00
Danil Smirnov
c42c737ff0 Logging improvement 2021-02-28 13:57:50 +02:00
Danil Smirnov
18bb115947 Fixes for Postorius-only deployment 2021-02-28 13:28:04 +02:00
Danil Smirnov
297bf35b1b Upgrade Mailman 3 versions (#433)
* Upgrading Mailman 3 versions

* Fixing dependencies
2021-02-24 21:36:59 -08:00
Abhilash Raj
3c21c15745 Remove pin on old versions. 2020-11-08 19:41:37 -08:00
Abhilash Raj
aec782d539 Bump Core to 3.3.2 2020-11-08 13:21:21 -08:00
Abhilash Raj
c5a2084ae0 Pin flufl.lock to <5.0 to prevent against incompatibility. 2020-09-23 08:59:24 -07:00
Abhilash Raj
4487adefa8 Include dnspython dependency in quotes
Not using quotes mean the shell considers `<` as the redirection
from a file called 2.0

Fixes #399
2020-09-10 22:12:55 -07:00
Abhilash Raj
bd7d283447 Downgrade dnspython to < 2.0 2020-09-10 10:14:38 -07:00
Danil Smirnov
2b84aea40f Update README.md 2020-08-25 16:18:25 +03:00
Danil Smirnov
26327e7389 Won't append configuration to avoid parameters duplication 2020-08-25 13:08:14 +00:00
Danil Smirnov
8284936454 Respect gunicorn.cfg shipped with Mailman core 2020-08-24 14:07:09 +00:00
Danil Smirnov
20fbfe6e77 Suggested change in core/docker-entrypoint.sh
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2020-08-24 16:52:00 +03:00
Danil Smirnov
071737f72d Suggested change in core/README.md
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2020-08-24 16:51:49 +03:00
Danil Smirnov
06d3665921 Updating README 2020-08-23 11:21:47 +00:00
Danil Smirnov
6774539d29 Making Gunicorn configurable 2020-08-23 11:06:18 +00:00
Abhilash Raj
e76bb3a1ff Bump to use Alpine 3.12 since 3.8 is now EOL. (#390)
* 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.
2020-08-04 00:16:42 -07:00
Abhilash Raj
07a7c1ce68 Bump Mailmanclient and upgrade setuptools and wheel in images. (#389)
* Bump Mailmanclient.
* Add linux-headers package for psutils.
* Update setuptools and wheel everywhere.
* Use Postorius 1.3.3 in Postorius image.
2020-08-02 12:42:36 -07:00
Abhilash Raj
d502b34f21 Bump Mailaman components. (#378)
* Bump Mailaman-web components.

* Bump mailman core
2020-06-12 19:03:50 -07:00
Abhilash Raj
9ebc27138e Fix issues with gunicorn 20.0.0 (#350)
* Fix latest version of gunicorn.

* Use older version of gunicorn.
2019-11-17 17:47:01 -08:00
Abhilash Raj
7965824453 Bump to latest 0.3.0 release. (#347) 2019-10-13 20:13:23 -07:00
Marvin Greenberg
6f26dc9145 Fix minor typo in docker-entrypoint.sh (#345) 2019-09-08 17:29:29 -07:00
Joren Vrancken
ffbdda51eb Rename non-existent HYPERKITTY_API_URL to HYPERKITTY_URL in core readme. 2019-06-20 20:19:45 +02:00
Abhilash Raj
d93dd4b02b Bump Core to 3.2.2 2019-03-29 14:28:26 -07:00
Abhilash Raj
0a7bbc1e87 Fix typo 2019-02-09 10:15:03 -08:00
Abhilash Raj
c5d84bfeab Use alpine images instead of Python. (#290)
* Use alpine images instead of Python.

* Minor fix to use python3 -m pip

* Fix settings for paintstore.
2019-01-20 16:39:11 -08:00
Abhilash Raj
274965cced Update stable containers to 3.2 suite release. 2018-07-26 20:53:07 -07:00
Christoph Wagner
6d1ea69bb1 fix container build by adding libffi-dev 2018-07-04 20:25:53 +02:00
Christoph Wagner
bf6689a45e fix mailman.cfg issue
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.
2018-07-04 20:18:55 +02:00
richardbrinkman
ccf690b0a0 Fix #210: introduce MTA variable (#237)
* Fix #210: introduce MTA variable

* Fix: typo

* Fix: postfix configuration

* Del: temporary files
2018-06-19 09:09:00 -07:00
Andrew Hodgson
5b07e9278a Update Exim config file examples 2018-06-05 14:26:05 +01:00
Abhilash Raj
6af3c86832 Update README.md 2018-04-22 22:51:36 -07:00
skoranda
5a8e7f02fc Inject REST port, user, password from environment (#220)
Enable the port, user, and password used by Core for the REST API to be
injected using environment variables.
2018-03-09 23:24:20 -08:00
Abhilash Raj
735f8746dc Update Core and Postorius to new releases. 2017-11-21 01:27:01 -08:00
Jonas Thiem
d846f1c763 Add code for auto-detecting database class for common cases (issue #137 ) (#150)
* 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)
2017-11-15 19:11:08 -08:00
Abhilash Raj
3434446987 Create rolling releases using the Gitlab API. (#171)
* 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.
2017-11-03 18:43:59 -07:00
Abhilash Raj
743bc8522c Force start mailman inside the container.
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.
2017-11-03 10:59:08 -07:00
Abhilash Raj
a74497d21e Pin the version of alembic to 0.9.5 to prevent errors. 2017-10-23 22:04:49 -07:00
Abhilash Raj
ba682509f4 Fix the URLs for development versions of images. 2017-10-09 23:14:22 -07:00
Abhilash Raj
b3b0c3165f Create containers using the master git branches (#153)
Use the master branches from Gitlab to build development container images.
2017-10-07 16:03:50 -07:00