Skip to content

Commit

Permalink
moodlehq#128 - adding oracle credentials into databse class
Browse files Browse the repository at this point in the history
  • Loading branch information
jpahullo committed Aug 11, 2021
1 parent 3b185a0 commit 053ffd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
moodle-branch: 'MOODLE_311_STABLE'
database: 'oci'
extensions: 'mbstring, zip, gd, xmlrpc, soap, oci8'
dbcredentials: '--db-type oci --db-user moodle --db-pass m@0dl3ing --db-name moodle --db-host localhost'
# - php: '7.4'
# moodle-branch: 'MOODLE_310_STABLE'
# database: 'pgsql'
Expand Down Expand Up @@ -102,7 +101,7 @@ jobs:
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
- name: Install moodle-plugin-ci
run: moodle-plugin-ci install -vvv ${{ matrix.dbcredentials }}
run: moodle-plugin-ci install -vvv
env:
DB: ${{ matrix.database }}
MOODLE_BRANCH: ${{ matrix.moodle-branch }}
Expand Down
4 changes: 4 additions & 0 deletions src/Installer/Database/OracleDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
class OracleDatabase extends AbstractDatabase
{
public $type = 'oci';
public $host = 'localhost';
public $user = 'moodle';
public $pass = 'm@0dl3ing';
public $name = 'XE';

public function getCreateDatabaseCommand()
{
Expand Down

0 comments on commit 053ffd4

Please sign in to comment.