mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
fix missing mysql server on image
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
||||
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
|
||||
- run:
|
||||
working_directory: ~/alchemy-fr/Phraseanet
|
||||
command: 'sudo service mysql status || sudo service mysql start;'
|
||||
command: 'sudo apt-get install mysql-server && sudo service mysql status || sudo service mysql start;'
|
||||
# Dependencies
|
||||
# This would typically go in either a build or a build-and-test job when using workflows
|
||||
# Restore the dependency cache
|
||||
@@ -82,10 +82,10 @@ jobs:
|
||||
- node_modules
|
||||
- ~/.composer
|
||||
# This is based on your 1.0 configuration file or project settings
|
||||
- run: mysql -u ubuntu -e 'CREATE DATABASE update39_test;CREATE DATABASE ab_test;CREATE DATABASE db_test;SET @@global.sql_mode=STRICT_ALL_TABLES;SET @@global.max_allowed_packet=33554432;SET @@global.wait_timeout=999999;';
|
||||
- run: mysql -u root -e 'CREATE DATABASE update39_test;CREATE DATABASE ab_test;CREATE DATABASE db_test;SET @@global.sql_mode=STRICT_ALL_TABLES;SET @@global.max_allowed_packet=33554432;SET @@global.wait_timeout=999999;';
|
||||
# This is based on your 1.0 configuration file or project settings
|
||||
- run: ./bin/developer system:uninstall -v
|
||||
- run: ./bin/setup system:install -v --email=test@phraseanet.com --password=test --db-host=127.0.0.1 --db-user=ubuntu --db-template=fr-simple --db-password= --databox=db_test --appbox=ab_test --server-name=http://127.0.0.1 -y;
|
||||
- run: ./bin/setup system:install -v --email=test@phraseanet.com --password=test --db-host=127.0.0.1 --db-user=root --db-template=fr-simple --db-password= --databox=db_test --appbox=ab_test --server-name=http://127.0.0.1 -y;
|
||||
- run: ./bin/developer ini:setup-tests-dbs -v
|
||||
- run: ./bin/console searchengine:index:create -v
|
||||
- run: ./bin/developer phraseanet:regenerate-sqlite -v
|
||||
|
Reference in New Issue
Block a user