Skip to content

Commit

Permalink
Allow EB ci tests in devconf
Browse files Browse the repository at this point in the history
  • Loading branch information
pablothedude committed Jan 13, 2025
1 parent 37ed735 commit 66d0741
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/.env.ci.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
APP_ENV=ci
SYMFONY_ENV=ci
4 changes: 4 additions & 0 deletions core/dbschema/createdbs.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CREATE DATABASE IF NOT EXISTS eb;
CREATE DATABASE IF NOT EXISTS eb_test;
CREATE DATABASE IF NOT EXISTS teams;
CREATE DATABASE IF NOT EXISTS aa;
CREATE DATABASE IF NOT EXISTS pdp;
Expand All @@ -11,6 +12,9 @@ CREATE DATABASE IF NOT EXISTS sbs;
CREATE USER IF NOT EXISTS 'ebrw'@'%' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON eb.* TO 'ebrw'@'%';

CREATE USER IF NOT EXISTS 'eb_testrw'@'%' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON eb_test.* TO 'eb_testrw'@'%';

CREATE USER IF NOT EXISTS 'teamsrw'@'%' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON teams.* TO 'teamsrw'@'%';

Expand Down
1 change: 1 addition & 0 deletions core/engine/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ services:
- ./engine/appconf.conf:/etc/apache2/sites-enabled/appconf.conf
environment:
- APP_ENV=${APP_ENV:-dev}
- SYMFONY_ENV=${APP_ENV:-dev}
- APP_DEBUG=true

0 comments on commit 66d0741

Please sign in to comment.