Commit Graph

70 Commits

Author SHA1 Message Date
Abhilash Raj
32dea9bffa Merge branch 'main' into dependabot/docker/core/alpine-3.19 2023-12-26 17:09:49 +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]
dc8d0e7adc Bump alpine from 3.18 to 3.19 in /core
Bumps alpine from 3.18 to 3.19.

---
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:52:13 +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
Abhilash Raj
770a121c52 quote version requirement 2023-08-28 21:07:27 +05:30
Abhilash Raj
4a54e9f279 fix: Downgrade importlib-resources to < 6.0
Since released version of Core doesn't support importlib-resources > 6.
2023-08-28 20:56:31 +05:30
Raphael
5ec446a927 apk add tzdata 2023-06-19 11:33:51 +02:00
dependabot[bot]
8a73398532 Bump alpine from 3.17 to 3.18 in /core (#618)
Bumps alpine from 3.17 to 3.18.

---
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:25:10 -07:00
dependabot[bot]
14a5b17741 Bump alpine from 3.15 to 3.17 in /core (#582)
Bumps alpine from 3.15 to 3.17.

---
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>
2023-01-04 19:54:37 -08:00
Abhilash Raj
b4b11686b1 Drop dependency on SQLAlchemy < 1.4 (#585) 2022-12-14 21:09:42 -08:00
Abhilash Raj
c60f98b524 Use Alpine 3.15 for Python 3.9 needed for Core (#569) 2022-10-26 03:38:37 -07:00
Abhilash Raj
9fcf93aa82 Use requirements.txt for automated version bumps. (#566)
* Use requirements.txt for automated version bumps.

Move the Mailman requirements into requirements.txt file so that
we can use dependabot for automated version bumping.

* Remove constraint on mistune

* Add requirements file to dockerfile

* Add dependency on tzdata
2022-10-26 01:30:07 -07:00
Abhilash Raj
9686039f50 Merge pull request #565 from maxking/bump-ver
Bump to new releases
2022-10-26 01:20:40 -07:00
Abhilash Raj
7a51572717 Merge branch 'main' into add-lynx 2022-10-26 00:51:20 -07:00
Abhilash Raj
bfb4d9da3b Add lynx to existing apk add command. 2022-10-26 00:51:11 -07:00
Abhilash Raj
312833c8ab Bump to new releases 2022-10-26 13:05:17 +05:30
dependabot[bot]
9ab058b348 Bump alpine from 3.12 to 3.16.2 in /core
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 06:46:31 +00:00
Clark Boylan
66b230baef Add lynx to the mailman core Docker image
Mailman's convert_html_to_plaintext setting relies on the value of
html_to_plain_text_command which is by default set to:

  /usr/bin/lynx -dump $filename

This will fail on the current image because lynx is not installed.
Simply add lynx to the list of packages to install to correct this.
The file path for the lynx command installed via the Alpine package does
seem to be /usr/bin/lynx which means we don't need to update any
configuration to use this command. The defaults are sufficient.
2022-08-31 11:30:11 -07:00
Abhilash Raj
c5d4fa2f57 Merge branch 'main' into mysql_port 2022-04-14 00:10:10 -07:00
Abhilash Raj
cb17f46958 Merge pull request #528 from robol/main
Bump the mailman-hyperkitty plugin to 1.2.0.
2022-04-13 23:59:53 -07:00
Pierre-Gildas MILLON
96e0a26595 Add mariadb-connector-c for sha256_passwords 2021-12-26 19:43:53 +01:00
Pierre-Gildas MILLON
231fb0b9fc Add py-cryptography 2021-12-16 22:08:43 +01:00
Leonardo Robol
d8f6412074 Bump the mailman-hyperkitty plugin to 1.2.0.
This new version sends the api_key as an Authorization header instead of
a GET parameter, which fixes a security vulnerability. The change is needed
since Hyperkitty has been upgraded to 1.3.5.
2021-11-23 08:01:22 +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
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
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
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
Abhilash Raj
d93dd4b02b Bump Core to 3.2.2 2019-03-29 14:28:26 -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
Christoph Wagner
6d1ea69bb1 fix container build by adding libffi-dev 2018-07-04 20:25:53 +02:00
Abhilash Raj
735f8746dc Update Core and Postorius to new releases. 2017-11-21 01:27:01 -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
afb8f09eff Fix MySQL compatibility in the docker images. (#140)
* Fix MySQL compatibility in the docker images.

* Test the containers with MySQL containers too!
2017-09-30 20:38:33 -07:00
Tatsuyuki Ishi
5b20021b91 Rename entrypoint script 2017-07-28 17:46:45 +09:00
Abhilash Raj
5fb1a19d18 Add pymysql to the Core container to interact with MySQL db. (#80)
Add pymysql to the Core container to interact with MySQL db.
2017-07-20 15:31:10 -07:00