GithubHelp home page GithubHelp logo

Comments (3)

csweichel avatar csweichel commented on August 30, 2024 1

Both options (inter-script dependencies and multiple args to run) are nicely orthogonal. Given the very low complexity of enabling run <script1> <script2>, and the nice affordance this produces, this is the way.

We would want to note in the long description of the run command that multiple scripts will be executed in parallel.

from leeway.

meysholdt avatar meysholdt commented on August 30, 2024

I like the simplicity of passing multiple scripts to leeway run.

How would you format logs?
Would there be an additional level of [xx] prefixes on top of the ones our nested call of leeway build already generates?
E.g. leeway run dev/preview:create-preview dev/preview:build would output

[dev/preview:build][component1] Building....
[dev/preview:build][component2] Building....
[dev/preview:create-preview] Terraform init...
[dev/preview:build][component2] Building....
[dev/preview:create-preview] Terraform apply...

When we discussed parallelism in the past, I did have another solution in mind: Make the executable element part of the build graph, so Leeway could decide parallelism based on dependencies, just like it does with packages today. However, if we can get away with a simpler solution, I'm all for it.

from leeway.

csweichel avatar csweichel commented on August 30, 2024

Would there be an additional level of [xx] prefixes on top of the ones our nested call of leeway build already generates?

I would not think so.
There is the opportunity for one harmonised build beforehand though, i.e. instead of building many different _deps packages, build one single one.

from leeway.

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.