Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel-serial-parallel flow orchestration? #476

Open
akx opened this issue May 15, 2024 · 1 comment
Open

Parallel-serial-parallel flow orchestration? #476

akx opened this issue May 15, 2024 · 1 comment

Comments

@akx
Copy link

akx commented May 15, 2024

#419 touches on being able to run two commands within a single parallel step in series, but is orchestrating something like the npm-run-all invocation

npm-run-all --parallel clean:* --serial build:fa --parallel build:css build:js

possible?

I.e.

  • run all cleans in parallel, wait for them to finish
  • run build:fa, wait for it to finish
  • run build:css and build:js in parallel, wait for them to finish
@gustavohenke
Copy link
Member

That's not possible today with a single concurrently run, but it's an interesting idea.
The --parallel and --serial flag names SGTM too, if someone wants to look into this.

How do you see flags working in such a scenario? Should they apply to the next list of commands found, e.g.

conc -k --parallel "echo foo" "sleep 1 && echo bar" --prefix test --serial "echo baz"

should in this case -k apply only to the first set of commands, and --prefix test to the second set of commands, maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants