Commit Graph

60 Commits

Author SHA1 Message Date
dependabot[bot]
abdabde99d Bump alpine from 3.20.2 to 3.20.3 in /web
Bumps alpine from 3.20.2 to 3.20.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 07:36:41 +00:00
dependabot[bot]
47271240f4 Bump alpine from 3.20.1 to 3.20.2 in /web
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 07:33:50 +00:00
dependabot[bot]
ef8af5049e Bump alpine from 3.20.0 to 3.20.1 in /web
Bumps alpine from 3.20.0 to 3.20.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 07:44:30 +00:00
Antonio Rocco
1d883a7614 [web, postorius] Fix libldap installation package group
The libldap package is not installed in the mailman-web:0.5 and
postorius images despite being listed as a dependency in the Dockerfile.
This issue arises because libldap is included in the .build-deps virtual
package group, which is removed at the end of the build process, causing
the package to be uninstalled.

This commit addresses the issue by moving libldap from the .build-deps
virtual package group to the .mailman-rundeps virtual package group in
both the web and postorius Dockerfiles. This ensures that libldap
remains installed in the final image, as it is now part of the runtime
dependencies.

Changes:
- Move libldap installation from .build-deps to .mailman-rundeps in
  postorius/Dockerfile and postorius/Dockerfile.env;
- Move libldap installation from .build-deps to .mailman-rundeps in
  web/Dockerfile and web/Dockerfile.env.

These changes are necessary to ensure that the libldap package is
available in the running containers, preventing runtime errors related
to missing LDAP dependencies.

Signed-off-by: Antonio Rocco <8lue@8lue.xyz>
2024-06-17 16:00:01 +02:00
dependabot[bot]
2562a83a4d Bump alpine from 3.19.1 to 3.20.0 in /web (#696)
Bumps alpine from 3.19.1 to 3.20.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-07 17:49:32 -07:00
Abhilash Raj
21684ce838 Update max supported Django versions (#699)
* Update max supported Django versions

* Add dependency on python-openid

* Use the right dependency

* Also bump django version

* Add python-openid specifically to deps

* Add dependency on openid too
2024-06-07 00:57:10 -07:00
dependabot[bot]
846394b5d7 Bump alpine from 3.19.0 to 3.19.1 in /web (#684) 2024-02-04 08:43:18 +05:30
Abhilash Raj
a3a20f4cdb Repalce python-memcached with pymemcache (#682)
* Repalce python-memcached with pylibmc

Fixes #665

* Replace 2nd instance of python-memcached.

* Use pure python implementation in pymemcache
2024-01-23 23:35:04 -08:00
Jonathan Rietveld
2331cb3c9b Add libldap dependency (#679) 2024-01-06 07:26:24 +05:30
Abhilash Raj
5c8024bdbe Merge branch 'main' into dependabot/docker/web/alpine-3.19.0 2023-12-26 17:06:52 +05:30
Abhilash Raj
f3bca54120 Add --break-system-packages so pip works on system Python 2023-12-26 10:47:22 +00:00
dependabot[bot]
310e5acd3b Bump alpine from 3.18.4 to 3.19.0 in /web
Bumps alpine from 3.18.4 to 3.19.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 07:39:09 +00:00
Andrés Maldonado
02b8ed2b6c Optimize build caching
Before this commit, if docker-entrypoint or any file in mailman-web changed, the Docker build cache would not be used, so the install of dependencies would run again, uselessly
2023-10-11 17:42:28 +02:00
dependabot[bot]
555508a398 Bump alpine from 3.18.3 to 3.18.4 in /web
Bumps alpine from 3.18.3 to 3.18.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 16:04:56 +00:00
dependabot[bot]
bd6b8c2435 Bump alpine from 3.18.2 to 3.18.3 in /web
Bumps alpine from 3.18.2 to 3.18.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 07:52:20 +00:00
Abhilash Raj
944c9e7c63 Merge pull request #633 from maxking/dependabot/docker/web/alpine-3.18.2
Bump alpine from 3.18.0 to 3.18.2 in /web
2023-06-19 19:54:58 -07:00
Raphael
5ec446a927 apk add tzdata 2023-06-19 11:33:51 +02:00
dependabot[bot]
4e7f032621 Bump alpine from 3.18.0 to 3.18.2 in /web
Bumps alpine from 3.18.0 to 3.18.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 07:59:47 +00:00
Abhilash Raj
85a060015c Do it correctly this time 2023-06-16 08:21:24 +00:00
Abhilash Raj
91a0e999cc Also bump version of psycopg2 2023-06-16 08:05:31 +00:00
Abhilash Raj
9564304706 Bump version of Django to 4.1.x 2023-06-16 07:58:02 +00:00
dependabot[bot]
a5601ea8ee Bump alpine from 3.17.3 to 3.18.0 in /web
Bumps alpine from 3.17.3 to 3.18.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 08:00:25 +00:00
dependabot[bot]
b581310090 Bump alpine from 3.17.2 to 3.17.3 in /web (#613)
Bumps alpine from 3.17.2 to 3.17.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 07:42:04 +05:30
dependabot[bot]
ebd64f9c02 Bump alpine from 3.17.1 to 3.17.2 in /web (#606)
Bumps alpine from 3.17.1 to 3.17.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 05:12:48 -08:00
dependabot[bot]
9606f2f190 Bump alpine from 3.17.0 to 3.17.1 in /web (#600)
Bumps alpine from 3.17.0 to 3.17.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:17:16 -08:00
dependabot[bot]
81a16de5f5 Bump alpine from 3.16.2 to 3.17.0 in /web (#584)
Bumps alpine from 3.16.2 to 3.17.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 21:13:20 -08:00
Abhilash Raj
c48d96054c Use Django 4.0.x for now. (#573)
* Use Django 4.0.x for now.

* Use django 4.0.x for now
2022-10-31 09:21:04 +00:00
Abhilash Raj
312833c8ab Bump to new releases 2022-10-26 13:05:17 +05:30
dependabot[bot]
76c803e18a Bump alpine from 3.12 to 3.16.2 in /web
Bumps alpine from 3.12 to 3.16.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 07:00:22 +00:00
Abhilash Raj
208017f9a0 Test dependabot for Dockerfiles & Bump Postgres to 11 (#557)
* Test dependabot for Dockerfiles.

* Also for github actions

* Update dependabot.yml

* Fix urls.py for new versions of Django

* Fix urls.py for postorius.

* Bump dependency on Postgresql.

* Bump dependency on Django

* Add dependency on tzdata.
2022-10-25 23:25:57 -07:00
Abhilash Raj
c69b5c5d42 Fix some missed our references 2022-04-14 07:40:05 +00:00
Abhilash Raj
941b7f0411 Remove the get_latest_ref script and use the primary branch.
We previously used the get_latest_ref.py script to fetch the
latest commit sha for each project that passed CI correctly. Although,
that has some challenges due to requiring Gitlab Auth token. It causes
issues with building PRs and we don't want to share the Gitlab token
with PR authors.

Instead, this commit removes the code and sha references and Instead
simply uses the primary master branch from each project to build the
rolling release container image.
2022-04-14 07:24:10 +00:00
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