Commit Graph

28 Commits

Author SHA1 Message Date
Abhilash Raj
c5d4fa2f57 Merge branch 'main' into mysql_port 2022-04-14 00:10:10 -07:00
Pierre-Gildas MILLON
37db88f1b2 Update web & postorius images with similar changes as core 2022-01-02 10:30:42 +01:00
Pierre-Gildas MILLON
3fbb7e641c Update web & postorius images with similar changes as core 2022-01-02 10:26:20 +01: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
b09ac1a449 Bump Django to 3.1.x since 3.0 is now EOL'd. (#477) 2021-08-24 23:33:10 -07:00
Abhilash Raj
08622ce4f0 Ping psycopg2<2.9 for supporting Django 2.2.
https://github.com/psycopg/psycopg2/issues/1293
2021-07-18 11:43:30 -07:00
Danil Smirnov
cb4ad1d10e Adding django-utils-six for xapian (#473) 2021-07-18 10:30:15 -07:00
Abhilash Raj
496ee0c057 Add support for CACHES. (#467)
Also, bump Django to 3.1.
2021-05-22 09:42:05 -07:00
Hu Sheng
080ec93f79 Compile uwsgi with pcre-dev package to support log route (#370)
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2021-03-21 01:46:45 -07:00
Abhilash Raj
17b041c926 Install cargo and rust in rolling images too (#434) 2021-02-25 06:19:55 +00:00
Joshua Gleitze
2bc331edc9 Install python-memcached in Mailman Web 2020-08-19 18:10:53 +02: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
Christian Dietrich
794d17ebd1 Include django-auth-ldap in mailman-web (#374) (#375) 2020-04-19 17:13:48 -07:00
Abhilash Raj
637c353dfc Update Postorius, Hyperkitty and django-mailman3. (#365)
* Update Postorius, Hyperkitty and django-mailman3.

Also, entrypoint script should compile i18n messages.

* Add git to postorius image.

* Also compile i18n messages in Postorius.

* Add GNU Gettext to the images.

* Do not compilemessages.

* Do not compilemessages.
2020-02-09 11:20:51 -08:00
Abhilash Raj
1c08a20f2b Use latest Django 2.2 release. (#356) 2019-12-18 22:52:37 -08:00
Abhilash Raj
423d9cbf03 Add libffi to all Postorius images. (#320)
* Add libffi to all Postorius images.

* Use Django less than a certain version.

* Fix the version constraint.

* Fix uwsgi configuration by using only processes.
2019-04-13 21:04:42 -07: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
Abhilash Raj
3f9a89a8b2 Fix test (#249)
* SessionAuthenticationMiddlware should be removed now.

* Force installation of Django-mailman3 from Git for rolling builds.
2018-06-07 19:48:01 -07:00
Abhilash Raj
512f29f0ba Bump Django dependency to the latest available (#243)
* Bump Django dependency to the latest available

Fixes #242

* Use the new django.urls API
2018-05-28 15:50:27 -07:00
Abhilash Raj
42b79f5b48 Add mailcap to Dockerfile.dev too 2018-03-07 23:53:58 -08:00
Abhilash Raj
bfefd9fbc3 Update mailman-web to use Python 3 (For rolling releases) (#217)
* Update mailman-web to use Python 3

* Update configuration

* Python 3.6 image.

* Use alpine 3.7

* Use new style middleware

* Use alpine 3.6

* In Python 3, urlparse was renamed to urllib.parse
2018-03-07 23:22:47 -08:00
dfukagaw28
45a4d7805b Fix comments in web/Dockerfile (#179)
Fixes #177
2017-11-05 22:46:59 -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
ba682509f4 Fix the URLs for development versions of images. 2017-10-09 23:14:22 -07:00
Abhilash Raj
4b61d18909 Add git to the mailman-web build dependencies. 2017-10-07 19:06:37 -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