open-lms-open-source/moodle-plugin-ci

Customize install path

Closed this issue · 1 comments

I've run into an admittedly unlikely problem in which the default installation path of moodle causes a conflict in my GitLab CI environment. Our internal Moodle projects are all in a "moodle" group, which means builds are cloned to /builds/moodle/<name of project>/. This means the moodle directory isn't empty when the installer runs, so the build fails. Being able to set an environment variable for the installation path gets around this issue.

This is a good use case for using the command options. Please do this:

  - moodle-plugin-ci install --moodle your_dir