Skip to content

Commit 66d0741

Browse files
committed
Allow EB ci tests in devconf
1 parent 37ed735 commit 66d0741

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

core/.env.ci.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
APP_ENV=ci
2+
SYMFONY_ENV=ci

core/dbschema/createdbs.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CREATE DATABASE IF NOT EXISTS eb;
2+
CREATE DATABASE IF NOT EXISTS eb_test;
23
CREATE DATABASE IF NOT EXISTS teams;
34
CREATE DATABASE IF NOT EXISTS aa;
45
CREATE DATABASE IF NOT EXISTS pdp;
@@ -11,6 +12,9 @@ CREATE DATABASE IF NOT EXISTS sbs;
1112
CREATE USER IF NOT EXISTS 'ebrw'@'%' IDENTIFIED BY 'secret';
1213
GRANT ALL PRIVILEGES ON eb.* TO 'ebrw'@'%';
1314

15+
CREATE USER IF NOT EXISTS 'eb_testrw'@'%' IDENTIFIED BY 'secret';
16+
GRANT ALL PRIVILEGES ON eb_test.* TO 'eb_testrw'@'%';
17+
1418
CREATE USER IF NOT EXISTS 'teamsrw'@'%' IDENTIFIED BY 'secret';
1519
GRANT ALL PRIVILEGES ON teams.* TO 'teamsrw'@'%';
1620

core/engine/docker-compose.override.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ services:
77
- ./engine/appconf.conf:/etc/apache2/sites-enabled/appconf.conf
88
environment:
99
- APP_ENV=${APP_ENV:-dev}
10+
- SYMFONY_ENV=${APP_ENV:-dev}
1011
- APP_DEBUG=true

0 commit comments

Comments
 (0)