Add more travis tests (#289)
* Add version variable for travis tests * Fix typo * Fix activemq variable * Add travis tests * Remove mysql latest * Fixes & refactoring * Add more travis tests * Remove mysql 8 test * Remove mysql 8 test [2] * Add mysql 8 comment * Fix mysql 8 auth plugin Co-authored-by: Alexey Golubev <alexey.golubev@onlyoffice.com>
This commit is contained in:
parent
d3e5246e9a
commit
ecb77ddb56
69
.travis.yml
69
.travis.yml
@ -10,6 +10,7 @@ env:
|
||||
- config: standalone.yml
|
||||
PRODUCT_NAME: documentserver-ie
|
||||
|
||||
|
||||
# certificates (default tls if onlyoffice not exists)
|
||||
- config: certs.yml
|
||||
ssl: true
|
||||
@ -30,10 +31,27 @@ env:
|
||||
SSL_CERTIFICATE_PATH: /var/www/onlyoffice/Data/certs/mycert.crt
|
||||
SSL_KEY_PATH: /var/www/onlyoffice/Data/certs/mycert.key
|
||||
|
||||
# postgresql
|
||||
|
||||
# postgresql 12
|
||||
- config: postgres.yml
|
||||
POSTGRES_VERSION: 12
|
||||
|
||||
# postgresql 11
|
||||
- config: postgres.yml
|
||||
POSTGRES_VERSION: 11
|
||||
|
||||
# postgresql 10
|
||||
- config: postgres.yml
|
||||
POSTGRES_VERSION: 10
|
||||
|
||||
# postgresql 9
|
||||
- config: postgres.yml
|
||||
POSTGRES_VERSION: 9
|
||||
|
||||
# postgresql 9.5
|
||||
- config: postgres.yml
|
||||
|
||||
# custom values
|
||||
# postgresql custom values
|
||||
- config: postgres.yml
|
||||
DB_NAME: mydb
|
||||
DB_USER: myuser
|
||||
@ -41,31 +59,64 @@ env:
|
||||
POSTGRES_DB: mydb
|
||||
POSTGRES_USER: myuser
|
||||
|
||||
# deprecated variables
|
||||
# postgresql deprecated variables
|
||||
- config: postgres-old.yml
|
||||
|
||||
# mysql
|
||||
|
||||
# mysql 8
|
||||
- config: mysql.yml
|
||||
MYSQL_VERSION: 8
|
||||
|
||||
# mysql 5
|
||||
- config: mysql.yml
|
||||
MYSQL_VERSION: 5
|
||||
|
||||
# mysql 5.7
|
||||
- config: mysql.yml
|
||||
|
||||
# mariadb
|
||||
|
||||
# mariadb 10
|
||||
- config: mariadb.yml
|
||||
MARIADB_VERSION: 10
|
||||
|
||||
# mariadb 10.5
|
||||
- config: mariadb.yml
|
||||
|
||||
# activemq
|
||||
|
||||
- config: activemq.yml
|
||||
ACTIVEMQ_VERSION: latest
|
||||
|
||||
# activemq 5.14.3
|
||||
- config: activemq.yml
|
||||
|
||||
# rabbitmq
|
||||
|
||||
# rabbitmq latest
|
||||
- config: rabbitmq.yml
|
||||
|
||||
# rabbitmq 3
|
||||
- config: rabbitmq.yml
|
||||
RABBITMQ_VERSION: 3
|
||||
|
||||
# rabbitmq old variables
|
||||
- config: rabbitmq-old.yml
|
||||
|
||||
# redis with community edition
|
||||
|
||||
# redis latest with community edition
|
||||
- config: redis.yml
|
||||
|
||||
# redis with integraion edition
|
||||
# redis latest with integraion edition
|
||||
- config: redis.yml
|
||||
PRODUCT_NAME: documentserver-ie
|
||||
|
||||
# redis 6
|
||||
- config: redis.yml
|
||||
REDIS_VERSION: 6
|
||||
|
||||
# redis 5
|
||||
- config: redis.yml
|
||||
REDIS_VERSION: 5
|
||||
|
||||
|
||||
# graphite
|
||||
- config: graphite.yml
|
||||
|
||||
|
@ -17,7 +17,7 @@ services:
|
||||
|
||||
onlyoffice-activemq:
|
||||
container_name: onlyoffice-activemq
|
||||
image: webcenter/activemq:5.14.3
|
||||
image: webcenter/activemq:${ACTIVEMQ_VERSION:-5.14.3}
|
||||
environment:
|
||||
- ACTIVEMQ_USERS_guest=${ACTIVEMQ_USERS_guest:-guest}
|
||||
- ACTIVEMQ_GROUPS_owners=${ACTIVEMQ_GROUPS_owners:-guest}
|
||||
|
@ -20,7 +20,7 @@ services:
|
||||
|
||||
onlyoffice-mariadb:
|
||||
container_name: onlyoffice-mariadb
|
||||
image: mariadb:10.5
|
||||
image: mariadb:${MARIADB_VERSION:-10.5}
|
||||
environment:
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE:-onlyoffice}
|
||||
- MYSQL_USER=${MYSQL_USER:-onlyoffice}
|
||||
|
@ -20,7 +20,8 @@ services:
|
||||
|
||||
onlyoffice-mysql:
|
||||
container_name: onlyoffice-mysql
|
||||
image: mysql:5.7
|
||||
image: mysql:${MYSQL_VERSION:-5.7}
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
environment:
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE:-onlyoffice}
|
||||
- MYSQL_USER=${MYSQL_USER:-onlyoffice}
|
||||
|
@ -20,7 +20,7 @@ services:
|
||||
|
||||
onlyoffice-postgresql:
|
||||
container_name: onlyoffice-postgresql
|
||||
image: postgres:9.5
|
||||
image: postgres:${POSTGRES_VERSION:-9.5}
|
||||
environment:
|
||||
- POSTGRES_DB=${POSTGRES_DB:-onlyoffice}
|
||||
- POSTGRES_USER=${POSTGRES_USER:-onlyoffice}
|
||||
|
@ -17,7 +17,7 @@ services:
|
||||
|
||||
onlyoffice-rabbitmq:
|
||||
container_name: onlyoffice-rabbitmq
|
||||
image: rabbitmq
|
||||
image: rabbitmq:${RABBITMQ_VERSION:-latest}
|
||||
restart: always
|
||||
networks:
|
||||
- onlyoffice
|
||||
|
@ -19,7 +19,7 @@ services:
|
||||
|
||||
onlyoffice-redis:
|
||||
container_name: onlyoffice-redis
|
||||
image: redis
|
||||
image: redis:${REDIS_VERSION:-latest}
|
||||
restart: always
|
||||
networks:
|
||||
- onlyoffice
|
||||
|
Loading…
x
Reference in New Issue
Block a user