I have been able to put together a pipeline that trigger a step function in AWS through a python script which estimated to run for 7 hours and the next job in the pipeline depends on the successful completion of the step function. The next job is also a python script that generate tables in snowflakes for 30 hours. This is working as expected, but there is need for improvement. The build agent in the Azure devops pipeline is waiting for 30 hours which is not good. I am looking at efficient way to trigger the python script that call the snowflakes and exit the pipeline to stop the build agent from waiting.
What are the options available?
- Is it possible to use lambda to call this snowflakes and exit the pipeline and how would the pipeline get notification if anything goes wrong ?
- There is suggestion to use webbook and have not used webhook before, is there any pointer to use this?