Skip to content

Commit

Permalink
Add mlbackend_python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllaó committed Dec 5, 2019
1 parent 444f2da commit 2165f77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ services:
image: "selenium/standalone-firefox${MOODLE_DOCKER_SELENIUM_SUFFIX}:2.53.1"
volumes:
- "${MOODLE_DOCKER_WWWROOT}:/var/www/html:ro"
mlbackendpython:
image: "moodlehq/moodle-mlbackend-python:2.3.0-python3.7.5"
ports:
- "5000:5000"
5 changes: 5 additions & 0 deletions config.docker-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
define('TEST_ENROL_LDAP_BIND_DN', 'cn=admin,dc=openstack,dc=org');
define('TEST_ENROL_LDAP_BIND_PW', 'password');
define('TEST_ENROL_LDAP_DOMAIN', 'ou=Users,dc=openstack,dc=org');

define('TEST_MLBACKEND_PYTHON_HOST', 'mlbackendpython');
define('TEST_MLBACKEND_PYTHON_PORT', 5000);
define('TEST_MLBACKEND_PYTHON_USERNAME', 'default');
define('TEST_MLBACKEND_PYTHON_PASSWORD', 'sshhhh');
}

require_once(__DIR__ . '/lib/setup.php');

0 comments on commit 2165f77

Please sign in to comment.