Coder Social home page Coder Social logo

Comments (3)

mikemadison13 avatar mikemadison13 commented on June 2, 2024

My strong recommendation (due to situations like this) is to NOT sync databases during CI/CD. If you need config/content from your other sites, you can import those items specifically using config management and the default content module. There isn't a great work around for this. If the module is gone in the CI/CD container, it's going to throw this error.

from blt.

loopy3025 avatar loopy3025 commented on June 2, 2024

I'm starting to agree with you.

We're currently running pa11y tests during ci in order to catch accessibility issues. At the time we did this, it seemed to make sense to sync the database so we can test against existing content and full Views, all in context with how the users actually use the site. All of our testing went great and we've been happily using it for a couple of months now. Hindsight being 20-20, I'd have pushed harder to do a default content module of some kind to enable during CI instead of syncing the database. But now we're stuck with syncing on a LOT of sites if/until I can argue that methodology.

For the time being, I may meet halfway and switch the default site our stage environment. That way I can at least manipulate the database and re-run Pipelines as needed.

from blt.

loopy3025 avatar loopy3025 commented on June 2, 2024

I do really wish, though, that Drupal itself handled uninstalled modules better. It's pretty annoying that you need to have the module code in the codebase in order to uninstall a module properly. But I guess that's not really BLT's problem.

from blt.

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.