Sitelet https://github.com/t6d/composable_operations/issues/5
Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Add a skip state to skip processes when they don't apply to the pipeline #5

Description

@azisaka

Hi,

I think that fail and halt help when we need to apply all the operations, but sometimes we could skip a operation.

I'm just doing an if in the execute method to not run anything, but it would be nice if I could do something like:

before do
  skip "no need to run it" if !params["config_value"]
end

I can provide the code, just need to make sure it's useful for the composable_operations gem.

thanks man!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions