How to set up the enviroment for SilverStripe module testing in Gitlab-CI

I’m trying to setup GitLab-CI for internal testing of my SilverStripe sites at work. For the individual sites this setup is fine, sites are cloned and tests run and all is okay. But I have a couple of modules shared across these sites that I would like to test & develop independently.

When it comes to running the build in GitLab-CI, obviously a test environment needs to be set up. Currently these modules get developed in their own ‘dummy’ site environments, and I use git to control each module folder. So, when builds are run in GitLab-CI, it means that cms and framework get installed to the same dir, then sake dev/build flush=all is run.

  • How do I keep connection string passwords secure on a git repository?
  • How can I modify the Load Balancing behavior Jenkins uses to control slaves?
  • NodeJS/Jenkins/GIT and Jenkins Slave as Web server
  • Jenkins can not clone Git repository over Git/SSH on Windows
  • Using NAnt and Ivy to build a VB6 project
  • Use both InstrumentationTestRunner and AndroidJUnitRunner with Robotium and Espresso
  • In the case of my modules, the is no _config.php that does anthing like load conf/configurefromenv, and looking at other modules on github, configs like this don’t seem to be included in the repos?

    So what do i need to do to get this working? Am I missing something here?

    Also: After asking in IRC, some people have drawn to my attention the behat & travis extensions, I take it a similar extension would have to be made to support gitlab? What exactly do these modules do? (I am going to dive into the code but if someone could give me an overview that would be great!)

  • Exporting Android Studio Project to GIT
  • Unable to auto Merge Git Pull request :: No Conflict
  • How do I rename an xcode scheme and keep Git commit working?
  • Heroku - Fatal error when pushing to a git repository
  • Can't create new branch.Unknown protocol
  • Why does Heroku tell me that my version of git (2.1.0) has serious security vulnerabilities?
  • One Solution collect form web for “How to set up the enviroment for SilverStripe module testing in Gitlab-CI”

    I resolved this by writing my own build script, see:

    Git Baby is a git and github fan, let's start git clone.