File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 databases : true
1616 dependencies : |
1717 {
18- "./vendor/icingaweb2-modules/icingadb" : "https://github.com/Icinga/icingadb-web.git"
18+ "./vendor/icingaweb2-modules/icingadb" : "https://github.com/Icinga/icingadb-web.git",
19+ "./vendor/notifications_daemon" : "https://github.com/Icinga/icinga-notifications.git"
1920 }
21+ setup-commands : mysql --host="127.0.0.1" --port="${{ job.services.mysql.ports['3306'] }}" --user="root" --password="root" \
22+ -e "CREATE DATABASE icingaweb; CREATE USER icingaweb@'%' IDENTIFIED BY 'icingaweb'; GRANT ALL ON icingaweb.* TO icingaweb@'%';"
23+ PGPASSWORD=icinga_unittest psql --host="127.0.0.1" --port="${{ job.services.pgsql.ports['5432'] }}" \
24+ --username "icinga_unittest" -c "CREATE DATABASE icingaweb;"
25+ env : |
26+ {
27+ "ICINGAWEB_PATH" : "./vendor/icingaweb2",
28+ "ICINGA_NOTIFICATIONS_SCHEMA" : "./vendor/notifications_daemon/schema",
29+ "MYSQL_ICINGAWEBDB" : "icingaweb",
30+ "MYSQL_ICINGAWEBDB_PASSWORD" : "icingaweb",
31+ "MYSQL_ICINGAWEBDB_USER" : "icingaweb",
32+ "PGSQL_ICINGAWEBDB" : "icingaweb",
33+ "PGSQL_ICINGAWEBDB_PASSWORD" : "icinga_unittest",
34+ "PGSQL_ICINGAWEBDB_USER" : "icinga_unittest"
35+ }
You can’t perform that action at this time.
0 commit comments