test alternative drone syntax for command options
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
64c9ef96c4
commit
b1235a67de
2 changed files with 5 additions and 3 deletions
|
@ -407,8 +407,7 @@ services:
|
||||||
- MYSQL_USER=oc_autotest
|
- MYSQL_USER=oc_autotest
|
||||||
- MYSQL_PASSWORD=owncloud
|
- MYSQL_PASSWORD=owncloud
|
||||||
- MYSQL_DATABASE=oc_autotest
|
- MYSQL_DATABASE=oc_autotest
|
||||||
volumes:
|
command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
|
||||||
- /drone/src/github.com/nextcloud/server/tests/docker/mysqlmb4:/etc/mysql/conf.d
|
|
||||||
when:
|
when:
|
||||||
matrix:
|
matrix:
|
||||||
DB: mysqlmb4
|
DB: mysqlmb4
|
||||||
|
|
|
@ -218,7 +218,10 @@ function execute_tests {
|
||||||
-e MYSQL_USER="$DATABASEUSER" \
|
-e MYSQL_USER="$DATABASEUSER" \
|
||||||
-e MYSQL_PASSWORD=owncloud \
|
-e MYSQL_PASSWORD=owncloud \
|
||||||
-e MYSQL_DATABASE="$DATABASENAME" \
|
-e MYSQL_DATABASE="$DATABASENAME" \
|
||||||
-d mysql:5.7)
|
-d mysql:5.7
|
||||||
|
--innodb_large_prefix=true
|
||||||
|
--innodb_file_format=barracuda
|
||||||
|
--innodb_file_per_table=true)
|
||||||
|
|
||||||
DATABASEHOST=$(docker inspect --format="{{.NetworkSettings.IPAddress}}" "$DOCKER_CONTAINER_ID")
|
DATABASEHOST=$(docker inspect --format="{{.NetworkSettings.IPAddress}}" "$DOCKER_CONTAINER_ID")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue