Commit Graph

21 Commits

Author SHA1 Message Date
Abhilash Raj
fea6a5be6b Add SERVE_FROM_DOMAIN in the testing 2023-07-07 07:08:31 +00:00
Abhilash Raj
b84c09c1ae Remove generate tests and use static test yaml. (#515)
* Remove generate tests and use static test yaml.

Since there aren't any more variables in the test yaml, replace
the shell script with a static YAML.

* Print python version

* Remove generate test step
2021-09-18 16:26:59 -07:00
Abhilash Raj
a5c591226d Update CI setup 2021-09-17 19:55:49 +00:00
pini-gh
c10aa6fce4 Get rid of hard coded IPs (#441)
Replace them with:
* containers' hostnames
* gateway's IP address for default SMTP_HOST
* Core: when SMTP_HOST undef, echo the default value
* docker-compose: add port mapping
* docker-compose: drop network driver conf
* Exim macro: use localhost as LMTP host
* Update README.md
* docker-compose: Limit port mapping to loopback
* Update other docker-compose example files
2021-03-15 10:47:13 -07:00
Abhilash Raj
e6de13ba44 Update azure-pipelines.yml for Azure Pipelines (#331)
* Update azure-pipelines.yml for Azure Pipelines

* Add Python build scripts.

* Run scripts with Python 3.

* Add strategy for both variants.

* Fix variables for jobs and use the right variant to build.

* Fix build and test script.
2019-05-19 21:02:06 -04: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
7ce2c3f14d Fix the tests. 2018-07-25 23:10:21 -07:00
Abhilash Raj
d9c5d6ef95 Quote the variables. (#255)
* Quote the variables.

* test using images without repo url.
2018-07-03 21:27:30 -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
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
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
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
39fd5c6b25 Remove default value of SECRET_KEY in Django's settings.py (#102)
The default value of SECRET_KEY was hard-coded in the settings.py which would turn out to be used all the time even if people are not forced to change it. So this commit removes that value and instead gets the SECRET_KEY from the environment variable.

Closes #99
2017-07-27 01:40:14 -07:00
Abhilash Raj
a361b31923 Switch ports for uwsgi and http. 2017-07-18 19:06:41 -07:00
Christian Rose
f6f4d36d64 Merge PR from @chrros95
Several Changes:
- Uwsgi now listens on two sockets 8080 for http protocol and 8000 for uwsgi protocol
- Add a read_timeout in documentation for Nginx configuration 
- Expose 8024 properly in Core image
- Expose 8080 and 8000 both in Web image
- Rearange the commands to get even less number of layers.
- Add SIGINT as stop signal in web because uwsgi needs it shut down gracefully
- Enable threads in default uwsgi configuration

Fix #64, Fix #15
2017-07-13 16:53:22 -07:00
Abhilash Raj
98e6401334 Test if the postorius/hk is available too. 2017-05-28 19:34:59 -07:00
Abhilash Raj
72b4abe894 Add space between image and its name. 2017-05-23 17:00:42 -07:00
Abhilash Raj
9db8b26c0c Specify docker-compose version 2. 2017-05-23 17:00:42 -07:00
Abhilash Raj
a43239e6ec Fix the generate_tests.sh to actually be executable. 2017-05-23 17:00:42 -07:00
Abhilash Raj
d4b0b74860 Test should test the current branch version and not the 'latest'. 2017-05-23 17:00:42 -07:00
Abhilash Raj
cde320477c Trying out travis-configuration.
- Make core.sh executable.

- Check the IP Address of containers in travis.

- Wait for the services to come up before running tests.
2017-04-18 09:54:03 -07:00