dfukagaw28
45a4d7805b
Fix comments in web/Dockerfile ( #179 )
...
Fixes #177
2017-11-05 22:46:59 -08:00
Abhilash Raj
2bbb3cb322
Setup Quay URL in the environment too. ( #190 )
...
Set some default env variables.
2017-11-05 22:35:15 -08:00
Abhilash Raj
beb5ca216e
Set Quay as default registry. ( #189 )
2017-11-05 22:19:58 -08:00
Abhilash Raj
84ae8986b6
Use COMMIT_ID as unique identifier tag. ( #188 )
2017-11-05 22:07:42 -08:00
Abhilash Raj
7f6d62c069
Push the image that was built without specifying tags.
2017-11-05 21:44:47 -08:00
Abhilash Raj
97e9d68c3b
Ci workflows ( #185 )
...
* Build dev images with every commit.
* Use virtualenv to build dev images.
* Activate virtualenv properly.
2017-11-05 21:22:19 -08:00
Abhilash Raj
23339ad812
Remove stray code.
2017-11-05 21:00:23 -08:00
Abhilash Raj
f8ebce1d49
Fix build and test setup for dev images.
2017-11-05 21:00:23 -08:00
Abhilash Raj
73f583cc4d
Build dev images on every push to master branch.
2017-11-05 21:00:23 -08:00
Abhilash Raj
0cf4dd605a
Use build contexts.
2017-11-05 21:00:23 -08:00
Abhilash Raj
6b7135bde9
Use contexts instead of separate builds.
2017-11-05 21:00:23 -08:00
Abhilash Raj
81c57adf90
Validate configuration.
2017-11-05 21:00:23 -08:00
Abhilash Raj
2c1552cc24
Setup cron to deploy dev images.
2017-11-05 21:00:23 -08:00
Abhilash Raj
ecb88c32e4
Use $TAG to push.
2017-11-05 19:39:24 -08:00
Abhilash Raj
12e7761c1f
Use Circle CI for faster builds. ( #181 )
...
Move to Circle CI from Travis CI.
2017-11-05 18:41:00 -08:00
Abhilash Raj
389d166f2b
Fix deploy script ( #176 )
...
Use posix style function instead of bash style.
2017-11-03 23:48:04 -07:00
Abhilash Raj
f3411fa3ee
Fix deploy script ( #173 )
...
Fix the deploy script and deploy script and push rolling releases only when cron jobs run.
2017-11-03 19:44:29 -07: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
d531dbc853
Add documentation to serve static files using uwsgi. ( #158 )
2017-10-26 18:18:53 -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
fb60b6ab30
Upgrade HK to 1.1.4
2017-10-09 22:40:24 -07:00
Abhilash Raj
f4a2bbb7e3
Upgrade Mailmanclient to latest 3.1.1
2017-10-08 13:55:05 -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
Abhilash Raj
6196c9cce3
Merge pull request #149 from JonasT/mysql-backend-autodetect
...
Add automatic rewrite of mysql:// database URLs to mysql+pymysql:// URLs.
Since `pymysql` is the recommended way to use MySQL with Core, it makes sense to automatically rewrite the initial part of the `$DATABASE_URL` to `mysql+pymysql` .
2017-10-02 15:56:33 -07:00
Jonas Thiem
8f702ee98e
Add automatic rewrite of mysql:// database to add backend
2017-10-02 23:50:30 +02:00
Abhilash Raj
5d3ecffa5a
Update the example.com name and domain both.
...
Fixes #122
2017-10-01 16:04:13 -07:00
Abhilash Raj
aa2b8788a6
Rename an old variable left by mistake.
2017-10-01 16:04:13 -07:00
Abhilash Raj
770bfb7dac
Try to auto-detect mailman-core's IP address.
...
Fixes #133
2017-10-01 02:49:06 -07:00
Abhilash Raj
054fc2545b
No need for apk cache for deleting dependencies. ( #142 )
...
Fixes #128
2017-10-01 01:54:08 -07:00
Abhilash Raj
eca79c9858
Add allowed hosts using environment vars.
2017-10-01 01:35:52 -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
Abhilash Raj
035e694152
Add docs about admin user password
2017-09-28 13:17:18 -07:00
Abhilash Raj
11c9a4fce6
Update a minor comment in the NEWS.
2017-08-15 03:15:27 -07:00
Abhilash Raj
79f4722878
Document that the static files need to be served using web server
...
Fixes #58
2017-08-09 17:42:51 -07:00
Abhilash Raj
b477b891b6
Change build script to build latest release versions if not in CI ( #115 )
...
Build.sh can build the latest versions of the images using the VERSION file under the two repos (core & web).
2017-08-09 16:34:01 -07:00
Abhilash Raj
71dc87143e
Slight changes in release
2017-08-09 16:00:44 -07:00
Abhilash Raj
644cf9dc0d
Add news ( #112 )
...
* Add NEWS file for updates.
* Add NEWS item about Hyperkitty's new version.
2017-08-09 14:50:58 -07:00
Abhilash Raj
51994c7104
Merge pull request #111 from maxking/bump-hk
...
Bump hyperkitty to version 1.1.1
2017-08-06 10:23:27 -07:00
Abhilash Raj
3c7881872f
Bump hyperkitty to version 1.1.1
2017-08-06 10:05:50 -07:00
Abhilash Raj
393ba44b28
Merge pull request #108 from ishitatsuyuki/searchindex
...
Change the default search index path for whoosh in Django to persistent path `/opt/mailman-web-data` .
2017-07-29 09:25:07 -07:00
Tatsuyuki Ishi
f940024d17
Fix default search path
2017-07-30 01:13:51 +09:00
Abhilash Raj
28fd29ffcf
Merge pull request #104 from ishitatsuyuki/alpine
...
Several changes:
- Move mailman-web image to python2.7:alpine-3.6 image, which is built on top of apline3.6 and contains the last remaining dependency that wasn't available in 3.5.
- Rename the entrypoint scripts in both core and web to docker-entrypoint.sh, and add them to somewhere on PATH so it is easy to call them in ENTRYPOINT
- Move to `sassc` for django-compressor.
- Set uwsgi uid/gid to string `mailman`
- Use alpine image for postgres database
thanks to @ishitatsuyuki !
2017-07-28 06:39:28 -07:00
Tatsuyuki Ishi
5b20021b91
Rename entrypoint script
2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
a757df8f55
Use sassc for django-compressor
2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
6d79d91142
uWSGI: use string uid/gid
2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
150a514bd4
Use Alpine for postgres
2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
21ba540e5b
Migrate mailman-web to Alpine
2017-07-27 18:10:23 +09:00