Add test for Integration Edition (#256)

* Add test for Integration Edition

* Add test for Community Edition

* Fix tests for redis

* Fix edition test

* Rename test
This commit is contained in:
Semyon Bezrukov 2020-06-04 17:24:07 +03:00 committed by GitHub
parent 62424ea120
commit 7193b651ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 1 deletions

@ -3,6 +3,13 @@ language: generic
dist: trusty
env:
# community edition
- config: standalone.yml
# integration edition
- config: standalone.yml
PRODUCT_NAME: documentserver-ie
# certificates (default tls if onlyoffice not exists)
- config: certs.yml
ssl: true
@ -52,9 +59,13 @@ env:
# rabbitmq old variables
- config: rabbitmq-old.yml
# redis
# redis with community edition
- config: redis.yml
# redis with integraion edition
- config: redis.yml
PRODUCT_NAME: documentserver-ie
services:
- docker

@ -4,6 +4,8 @@ services:
container_name: onlyoffice-documentserver
build:
context: ../.
args:
- PRODUCT_NAME=${PRODUCT_NAME:-documentserver}
environment:
- REDIS_SERVER_HOST=${REDIS_SERVER_HOST:-onlyoffice-redis}
- REDIS_SERVER_PORT=${REDIS_SERVER_PORT:-6379}

12
tests/standalone.yml Normal file

@ -0,0 +1,12 @@
version: '2.1'
services:
onlyoffice-documentserver:
container_name: onlyoffice-documentserver
build:
context: ../.
args:
- PRODUCT_NAME=${PRODUCT_NAME:-documentserver}
stdin_open: true
restart: always
ports:
- '80:80'