Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-28 17:34:17 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-30 12:58:38 +0300
commit731213baa1b25e739ba8e0c3d4c75ec13f05d4df (patch)
tree5aa0b7c8c6b8627b030773c0279e159b2f9316de /Makefile
parentdebd5ae740251ef315830370329911e995b01a7a (diff)
Use a Github action for integration tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 23 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 13805b4f5..5f54e5361 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,9 @@ source_dir=$(build_dir)/source
sign_dir=$(build_dir)/sign
package_name=$(app_name)
cert_dir=$(HOME)/.nextcloud/certificates
-docker_image=christophwurst/nextcloud-mail-test-docker
-mail_user=user@domain.tld
-mail_pwd=mypassword
+docker_image=iredmail/mariadb:nightly
+mail_user=postmaster@mail.domain.tld
+mail_pwd=my-secret-password
all: appstore
@@ -53,13 +53,31 @@ start-imap-docker:
docker pull $(docker_image)
docker run --name="ncimaptest" -d \
-p 993:993 \
- -e POSTFIX_HOSTNAME=mail.domain.tld $(docker_image)
+ --hostname mail.domain.tld \
+ -e HOSTNAME=mail.domain.tld \
+ -e FIRST_MAIL_DOMAIN=mail.domain.tld \
+ -e FIRST_MAIL_DOMAIN_ADMIN_PASSWORD=my-secret-password \
+ -e MLMMJADMIN_API_TOKEN=szpUAZAH4H+jyEzH3GPcsVjOGYI1I6VohT7MLaxfZXw= \
+ -e ROUNDCUBE_DES_KEY=7RPfVaqOfQUIkog68QZQxh0qxUFrK8BdwOQeVxJaVrs= \
+ $(docker_image)
+
+start-docker:
+ docker pull antespi/docker-imap-devel:latest
+ docker run --name="ncmailtest" -d \
+ -p 25:25 \
+ -p 143:143 \
+ -p 993:993 \
+ --hostname mail.domain.tld \
+ -e MAILNAME=mail.domain.tld \
+ -e MAIL_ADDRESS=user@domain.tld \
+ -e MAIL_PASS=mypassword \
+ antespi/docker-imap-devel:latest
start-smtp-docker:
docker pull catatnight/postfix
docker run --name="ncsmtptest" -d \
-e maildomain=domain.tld \
- -e smtp_user=user@domain.tld:mypassword \
+ -e smtp_user=postmaster@mail.domain.tld:my-secret-password \
-p 2525:25 \
catatnight/postfix