mudler / yip

:pushpin: Yaml Instructions Processor - Simply applies a cloud-init style yaml file to the system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make steps that ignore the outcome or can run in background

Itxaka opened this issue · comments

commented

Seems like a good addition could be steps that we just dont wait for. A fire and forget lets call it.

Could be implemented on the commands for now as that seems the most obvious use case.

Also it could be nice to have them run on the background. Which means still get the output but dont block other steps from running.

stages:
    default:
      - name: "Run some commands"
        type: {ignore-exit, default, background}
        commands:
          - sleep 20 && echo "done"