mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #55264
[Bug 1839157] Re: Behat configurable via environment variables
** Changed in: mahara
Status: New => Confirmed
** Changed in: mahara
Importance: Undecided => Wishlist
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1839157
Title:
Behat configurable via environment variables
Status in Mahara:
Confirmed
Bug description:
Currently Behat is hardcoded to respond to localhost/127.0.0.1, which
is fine in a lot of cases but it makes it difficult if trying to use
Docker or similar where specific hostnames or ports won't be
available.
Additionally, the mahara_behat.sh runner starts and stops Selenium,
this is something that would need to become configurable, but again
this could be done through environment variables.
The script should be able to check if environment variables are set
(and use those) or if not, set them to the localhost/127.0.0.1
defaults and then this could be added to the Mahara config.php file
through checks against $_ENV.
The relevant Docker setup could also be added on the wiki for those
users who might find it useful as well as the relevant Dockerfile.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1839157/+subscriptions
References