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

Implement `parallel' (just alias of run_after) #108

Merged
merged 4 commits into from Apr 22, 2015
Merged

Conversation

mizzy
Copy link
Contributor

@mizzy mizzy commented Apr 21, 2015

I've added the `parallel' config keyword to execute commands parallel. This is the implementation of #107 .

In this implementation, parallel is just an alias of run_after . But I think parallel is more understandable.

I've tested this code with this pipeline.yml.

pipeline:
  - name: command 1
    command: sleep 3
  - name: parallel commands
    parallel:
      - name: parallel command 1
        command: sleep 5
      - name: parallel command 2
        command: sleep 5
  - name: command 2
    command: sleep 3

Please check it.

@takahi-i takahi-i self-assigned this Apr 22, 2015
@takahi-i takahi-i changed the title [WIP] Implement `parallel' (just alias of run_after) Implement `parallel' (just alias of run_after) Apr 22, 2015
@takahi-i
Copy link
Member

LGTM

takahi-i added a commit that referenced this pull request Apr 22, 2015
Implement `parallel' (just alias of run_after)
@takahi-i takahi-i merged commit 181d9b6 into master Apr 22, 2015
@mizzy mizzy deleted the implement-parallel branch April 22, 2015 06:27
@mizzy mizzy mentioned this pull request Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants