Coder Social home page Coder Social logo

rayder's Issues

Run conditional workflow

Hi,
I would like to know if there is any way to run tasks or commands conditionally in a workflow in Rayder?

For example, if workflow X has an error, it still continues executing the others.

Thank you and congratulations for your work

Parallel tasks

Hi, what about parallel tasks mode. Now there are 2 ways: all sequentially, all parallel
So, what about combination mode, rewrite few lines in go file and make flag parallel to module, not entire config

task1 => task2 => task3 (seq) => task 5 => task6
--------------------=> task 4 (parallel)

request help

image
image

I encounter an error when using the -it flag, but it works fine when I use either the -i or -t flag.
And the same happens when silent=true. Is it possible to support the -it flag ?

If I use the -i flag, I can exit a running Docker container with Ctrl+C. However, an error message is displayed
image

"If I only use the -t flag, I cannot exit a running container with Ctrl+C.
image

thank you very much !

In documentation, example #1 can't be parsed because of ":" in the commands

Description

While reading the straightforward documentation, tried to execute the first example workflow, but got Error unmarshaling YAML: yaml: line 7: did not find expected key

colon_error

To Reproduce

Create a workflow from the first example

vars:
  ORG: "example.org"
  OUTPUT_DIR: "results"

modules:
  - name: example-task
    cmds:
      - echo "Organization: {{ORG}}"
      - echo "Output directory: {{OUTPUT_DIR}}"

Execute the workflow

user :: Ryder/Testing » rayder -w example1_flow.yaml
                                                                                                                                                                               
                                                                                                                                                                               
                                 __                                                                                                                                            
           _____________  ______/ /__  _____                                                                                                                                   
          / ___/ __  / / / / __  / _ \/ ___/                                                                                                                                   
         / /  / /_/ / /_/ / /_/ /  __/ /                                                                                                                                       
        /_/   \____/\___ /\____/\___/_/                                                                                                                                        
                   /____/                                                                                                                                                      
                                                                                                                                                                               
                                - v0.0.4 ⚡                                                                                                                                    
                                                                                                                                                                               
                                                                                                                                                                               
                                                                                                                                                                               
Error unmarshaling YAML: yaml: line 7: did not find expected key

Solution

I started to figure out "why this happened" (I am not familiar with YAML) and found out that colon ":" is a special "indicator character".

The way to fix this error is as follows:

  • remove colon ( : ) after string "Organization" and "Output directory"

    • - echo "Organization {{ORG}}"
    • - echo "Output directory {{OUTPUT_DIR}}"
  • escape colon with double quotes

    • - echo Organization":" {{ORG}}
    • - echo Output directory":" {{ORG}}

I think that because of the error in the first example, fewer people will try this great tool

Check tools

Hello,

Firstly thank for this simple and amazing tool. If you would like to use this workflow within the tools, please see: crlfuzz, subfinder, etc. Should be able to control the tools installed in the operating system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.