Giter VIP home page Giter VIP logo

Comments (2)

chrisgahlert avatar chrisgahlert commented on September 13, 2024

Not really sure, what the problem is here... the only thing that seems weird to me is:
You are defining the task testI inside the DcomposeExtension block... I'm not really sure, if that might have any side-effects...

The error message itself seems like the task graph is not being executed in the expected order. Could you add some more console log output, where I can see a) the execution order of the tasks and b) which task threw this error?

from gradle-dcompose-plugin.

AlexCzar avatar AlexCzar commented on September 13, 2024

The testI is declared elsewhere, in DcomposeExtension I'm just configuring it with systemPropertys and adding the dependencies.
The failure looks like this:

> Task :myProject:mySubprojectA:stopDatabaseContainer
> Task :myProject:mySubprojectA:removeDatabaseContainer
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':myProject:mySubprojectB:startDatabaseContainer'.
> Container id not available for service database - has it been started?

So execution order seems to be fine.
Additionally, sometimes failure doesn't happen at all, sometimes it happens in a random subprojeсt.
Also, upgraded gradle to 7.2, made no difference.

from gradle-dcompose-plugin.

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.