codilime / floodgate

Floodgate - Pipelines as Code solution for Spinnaker
Apache License 2.0
16 stars 9 forks source link

Enable pipeline triggering and execution status tracking #106

Closed boscard closed 4 years ago

boscard commented 4 years ago

It would be nice to have an option to trigger pipeline for example using webhook and be able to track status execution using Floodgate.

Currently I need to use curl to trigger webhook, and then with combination of spin and curl command I'm able to track execution status. I believe that Floodgate could do this on its own.

It could look like this:

$ floodgate execute deploy-nging-webhook -p parameters.json
triggering 'deploy-nging-webhook'
waiting for execution id................
execution id is 12345463DCAF
execution status: RUNNING.....................
pipeline finished with status: FAILED
$ echo $?
1
wurbanski commented 4 years ago

Maybe make sure that we can either wait for the execution to finish or not?

boscard commented 4 years ago

Maybe make sure that we can either wait for the execution to finish or not?

Can you explain?