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

[feature request] Task dependencies for batch jobs #3363

Closed
dukeland9 opened this issue Oct 12, 2017 · 2 comments
Closed

[feature request] Task dependencies for batch jobs #3363

dukeland9 opened this issue Oct 12, 2017 · 2 comments

Comments

@dukeland9
Copy link

I think it's a common case that a batch job is divided into several steps, and each step depends on some previous steps.
Could we have something like:

job "batch_job" {
  type = "batch"
  group "g" {
    task "step1" {
    }
    task "step2" {
      depends_on = ["step1"]
    }
  }
}

Google borg supports such configuration.

@dadgar
Copy link
Contributor

dadgar commented Oct 12, 2017

Hey @dukeland9,

Closing as a duplicate of #419

@dadgar dadgar closed this as completed Oct 12, 2017
@github-actions
Copy link

github-actions bot commented Dec 7, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants