Commit Graph

84 Commits

Author SHA1 Message Date
dependabot[bot]
8f490ed8b7 Bump alpine from 3.20.3 to 3.21.0 in /postorius
Bumps alpine from 3.20.3 to 3.21.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 07:03:40 +00:00
Abhilash Raj
154e7ee3de Merge pull request #539 from SvenRoederer/fix_sqlite-url
fix path of SQLITE_URL for Django (postorius + web docker-image)
2024-09-20 18:01:33 +05:30
dependabot[bot]
8aa3207ab5 Bump alpine from 3.20.2 to 3.20.3 in /postorius
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:49:49 +00:00
dependabot[bot]
9207cd1895 Bump alpine from 3.20.1 to 3.20.2 in /postorius
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:11:38 +00:00
dependabot[bot]
09ba6004ed Bump alpine from 3.20.0 to 3.20.1 in /postorius
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:55:11 +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
Abhilash Raj
58fc0ce1d1 Merge branch 'main' into fix_sqlite-url 2024-06-08 06:29:18 +05:30
dependabot[bot]
301aa1f30b Bump alpine from 3.19.1 to 3.20.0 in /postorius (#695)
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:47 -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
am97
3cf6e5d18d Avoid Django 3.2+ warning (#686) 2024-02-25 11:10:38 +05:30
Mohazza
a38d49a66a Bump postorius from 1.3.7 to 1.3.10 (#685) 2024-02-16 01:33:16 -08:00
dependabot[bot]
a4a435e19d Bump alpine from 3.19.0 to 3.19.1 in /postorius (#683) 2024-02-04 08:43:25 +05:30
Jonathan Rietveld
06e0ed0f00 fix: Typos in comments (#680) 2024-01-06 07:26:56 +05:30
Jonathan Rietveld
2331cb3c9b Add libldap dependency (#679) 2024-01-06 07:26:24 +05:30
Abhilash Raj
2708b63fbd fix: Add humaize for django-allauth 2023-12-30 04:11:32 +00:00
Abhilash Raj
475102b53c Merge pull request #670 from maxking/dependabot/docker/postorius/alpine-3.19.0
Bump alpine from 3.18.4 to 3.19.0 in /postorius
2023-12-26 17:06:00 +05:30
Abhilash Raj
f3bca54120 Add --break-system-packages so pip works on system Python 2023-12-26 10:47:22 +00:00
Thomas Makin
e00436fbd6 postorius: fix urls for newer django
`path()` no longer accepts regex paths; you must instead import and use
`re_path()`.
2023-12-19 19:26:56 -05:00
dependabot[bot]
ec4c182cf7 Bump alpine from 3.18.4 to 3.19.0 in /postorius
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:35:50 +00:00
Abhilash Raj
d97abcd35d Merge pull request #643 from am97/main
Build optimizations
2023-11-13 20:23:47 +05:30
Jonathan Rietveld
d341c07c0d Add tzdata dependency 2023-11-11 23:31:31 +01: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]
48c2425b4b Bump alpine from 3.18.3 to 3.18.4 in /postorius (#654)
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 09:20:39 -07:00
Abhilash Raj
022cb48778 Fix: Add support for new version of django-allauth (#655)
* Fix: Add support for new version of django-allauth

* Use full path for manage.py script
2023-10-02 08:58:36 -07:00
dependabot[bot]
9a074a2e9b Bump alpine from 3.18.2 to 3.18.3 in /postorius
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:28:54 +00:00
Raphael
57a2f5456a Fix DJANGO_ALLOWED_HOSTS parsing
Closes #637.
2023-06-26 12:47:10 +02:00
Abhilash Raj
244b73d0f2 fix: Use -P pager=off in the psql commands. (#631)
This allows for non-interactive use and doesn't hang on the user
input in certain conditions, like when the command output is large.

Fixes #610
2023-06-19 20:04:03 -07:00
Abhilash Raj
45fd544f01 Merge pull request #632 from maxking/dependabot/docker/postorius/alpine-3.18.2
Bump alpine from 3.18.0 to 3.18.2 in /postorius
2023-06-19 19:55:09 -07:00
Raphael
5ec446a927 apk add tzdata 2023-06-19 11:33:51 +02:00
dependabot[bot]
ca033c1a58 Bump alpine from 3.18.0 to 3.18.2 in /postorius
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:38 +00:00
dependabot[bot]
33be7724ce Bump alpine from 3.17.3 to 3.18.0 in /postorius (#620)
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 02:24:57 -07:00
dependabot[bot]
eef13c7f01 Bump alpine from 3.17.2 to 3.17.3 in /postorius (#612)
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:41:43 +05:30
dependabot[bot]
a46e3c9369 Bump alpine from 3.17.1 to 3.17.2 in /postorius (#607)
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:13:00 -08:00
dependabot[bot]
b7d5fa3a18 Bump alpine from 3.17.0 to 3.17.1 in /postorius (#601)
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:31 -08:00
dependabot[bot]
b4c19521ad Bump alpine from 3.16.2 to 3.17.0 in /postorius (#583)
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:21:03 -08:00
Abhilash Raj
312833c8ab Bump to new releases 2022-10-26 13:05:17 +05:30
dependabot[bot]
c517426652 Bump alpine from 3.12 to 3.16.2 in /postorius
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
f22e1ddfca Merge branch 'main' into fix_sqlite-url 2022-06-19 09:58:15 +05:30
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
Sven Roederer
3a6de9ff76 fix path of SQLITE_URL for Django (postorius + web docker-image)
Startup of images using SQLite database fails as of non-existent database file.
Fix this by using the proper syntax [1] to have the database created at /opt/mailman-web-data/mailmanweb.db

1 - https://github.com/joke2k/django-environ/issues/187#issuecomment-400577114

Signed-off-by: Sven Roederer <sven@geroedel.de>
2022-04-01 00:30:50 +02: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
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
89eef41cb3 Bump versions (#504)
* Bump Postorius 1.3.5

* Also bump django-mailman3 and mailmanclient

* Pin psycopg2 in Postorius
2021-09-05 12:48:09 -07:00
Abhilash Raj
66dc40f9ae Merge pull request #479 from binarious/feat/email-ssl
feat: support smtp via ssl
2021-08-25 04:31:49 -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