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

feat: Add availability.exit_on_skipped #226

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

shivaraj-bh
Copy link
Contributor

resolves #225

Here’s a simple process-compose configuration to try this feature:

processes:
  process1:
    command: "echo 'Hi from Process1'"
    depends_on:
      process2:
        condition: process_completed_successfully
    availability:
      exit_on_skipped: true
  process2:
    command: "echo 'Hi from Process2'; exit 1"
  process3:
    command: "while true; do echo 'Running...'; sleep 1; done"

Copy link

Copy link
Owner

@F1bonacc1 F1bonacc1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!
Special thanks for the excellent documentation!

@F1bonacc1 F1bonacc1 merged commit e3d9281 into F1bonacc1:main Aug 16, 2024
3 of 4 checks passed
@shivaraj-bh shivaraj-bh deleted the exit-on-skipped branch August 16, 2024 17:20
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.

Is there a way to exit process-compose if a process is skipped?
2 participants