turbot / flowpipe

Flowpipe is a cloud scripting engine. Automation and workflow to connect your clouds to the people, systems and data that matters.
https://flowpipe.io
GNU Affero General Public License v3.0
383 stars 16 forks source link

Add ability to run shell commands in a single step and across steps more easily #616

Closed cbruno10 closed 6 months ago

cbruno10 commented 9 months ago

Is your feature request related to a problem? Please describe. If I want to run shell commands to install an external tool, run it, and then manipulate the output, right now I need to either run it in a function or create a custom image to perform those steps.

I can also push all commands into a single container step type's cmd args, but that feels clunky.

Describe the solution you'd like The ability to run commands in a container that persists across a pipeline run, similar to GitHub actions, e.g.,

      - name: Clone repo
        run: |
          mkdir new_dir
          cd new_dir
          git clone -b main https://github.com/turbot/flowpipe.git
          cd flowpipe
          # Build flowpipe

      - name: Install mod and run
        run: |
          cd ..
          mkdir mods
          cd mods
          flowpipe mod install ...
          flowpipe pipeline run ...

Describe alternatives you've considered Run all of the commands in a single container step, use function steps, or build a custom image wand use source arg.

Additional context Add any other context or screenshots about the feature request here.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been stalled for 90 days with no activity.