Skip to content

Commit

Permalink
test alternative drone syntax for command options
Browse files Browse the repository at this point in the history
Signed-off-by: Morris Jobke <[email protected]>
  • Loading branch information
MorrisJobke committed Oct 18, 2016
1 parent 64c9ef9 commit b1235a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,7 @@ services:
- MYSQL_USER=oc_autotest
- MYSQL_PASSWORD=owncloud
- MYSQL_DATABASE=oc_autotest
volumes:
- /drone/src/github.com/nextcloud/server/tests/docker/mysqlmb4:/etc/mysql/conf.d
command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
when:
matrix:
DB: mysqlmb4
5 changes: 4 additions & 1 deletion autotest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,10 @@ function execute_tests {
-e MYSQL_USER="$DATABASEUSER" \
-e MYSQL_PASSWORD=owncloud \
-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")

Expand Down

0 comments on commit b1235a6

Please sign in to comment.