Skip to content

Commit 455dc78

Browse files
committed
Update database user for smoketest
GW does not update the schema anymore, but does need the user for the smoketest env Also fix readme
1 parent 945f464 commit 455dc78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stepup/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ or use the included script:
4444
Initialise (bootstrap) the middleware, gateway and webauthn database schema's and push
4545
the configuration to the middleware. This is done by running the following script:
4646
```
47-
./bootstrap.sh
47+
./bootstrap-database.sh
4848
```
4949

5050
Then, bootstrap the SRAA. For this, you will need to have a Yubikey.

stepup/dbschema/createdbs.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ GRANT ALL PRIVILEGES ON middleware.* TO 'mw_deploy_user'@'%' WITH GRANT OPTION;
3535
GRANT ALL PRIVILEGES ON gateway_test.* TO 'mw_deploy_user'@'%' WITH GRANT OPTION;
3636
GRANT ALL PRIVILEGES ON middleware_test.* TO 'mw_deploy_user'@'%' WITH GRANT OPTION;
3737

38-
CREATE USER IF NOT EXISTS 'gw_deploy_user'@'%' IDENTIFIED BY 'gw_deploy_secret';
39-
GRANT ALL PRIVILEGES ON gateway.* TO 'gw_deploy_user'@'%';
40-
GRANT ALL PRIVILEGES ON gateway_test.* TO 'gw_deploy_user'@'%';
38+
CREATE USER IF NOT EXISTS 'gw_smoketest_schema_manager'@'%' IDENTIFIED BY 'gw_smoketest_schema_manager_secret';
39+
GRANT ALL PRIVILEGES ON gateway.* TO 'gw_smoketest_schema_manager'@'%';
40+
GRANT ALL PRIVILEGES ON gateway_test.* TO 'gw_smoketest_schema_manager'@'%';

0 commit comments

Comments
 (0)