Giter Site home page Giter Site logo

Comments (11)

dakkusingh avatar dakkusingh commented on June 5, 2024

Something like this :)

screen shot 2018-03-23 at 5 46 23 pm

from drupal9ci.

juampynr avatar juampynr commented on June 5, 2024

@dakkusingh yep! I have been working on this for the Travis CI implementation at d8cidemo (my pet project to test CI integrations). I plan to port those changes to this repository once I get the behat job passing.

from drupal9ci.

juampynr avatar juampynr commented on June 5, 2024

Ported to this repository.

The main reason why I used Robo in this way is because it allowed me to use Travis' test matrix and the after_script stage in a clean way. See https://github.com/Lullabot/drupal8ci/blob/master/dist/travisci/.travis.yml.

Next would be to port this approach to CircleCI's RoboFile.

from drupal9ci.

dakkusingh avatar dakkusingh commented on June 5, 2024

@juampynr great work. I had a look this morning :)
On porting CircleCI and Travis, see my food for thought issue #22

from drupal9ci.

juampynr avatar juampynr commented on June 5, 2024

This pull request moves all the circleci jobs logic to Robo tasks. Now that CircleCI and Travis CI use almost exactly the same RoboFile.php, I am considering moving to it's own repository.

from drupal9ci.

deviantintegral avatar deviantintegral commented on June 5, 2024

I would be really happy to have a common robofile between testing sites and testing individual modules.

Since robo has to run before composer, how do you propose bootstrapping the shared robo code?

from drupal9ci.

dakkusingh avatar dakkusingh commented on June 5, 2024

Hi @juampynr @deviantintegral a separate repo for Drupal Robo makes a lot of sense. Not only it can be used by drupal8ci & drupal_tests but also anyone requiring a common Robo Lib for their projects.

I had started something similar for my own projects, something similar here would be awesome here.
https://github.com/dakkusingh/robo_drupal

from drupal9ci.

deviantintegral avatar deviantintegral commented on June 5, 2024

I just realized, as long as the CI tool is using a docker container, we can download and put any required RoboFile(s) inside of the container image itself. Is that what you were thinking?

from drupal9ci.

dakkusingh avatar dakkusingh commented on June 5, 2024

@deviantintegral I think..

For full projects (drupalci) its better to download and place the Robofile into the project as part of the setup script. That way, it can also be used for normal day-day operations such as githooks, manually running tests locally etc.

For module testing, (drupal_tests) we can download the Robofile on runtime in the container.

Only caveat is that if the user removes or modifies the Robo functions (in his project repo) and these functions are required by travis / CI - then all tests will start to fail. This wouldnt be a problem for module testing however.

What do you think?

from drupal9ci.

guix77 avatar guix77 commented on June 5, 2024

Hi, isn't it the case today?

from drupal9ci.

juampynr avatar juampynr commented on June 5, 2024

Correct. This was fixed. Closing.

from drupal9ci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.