F.A.Q.

Is there a pattern for triggering pipelines externally?

  • 5 May 2023
  • 0 replies
  • 14 views

Userlevel 4
Badge

The DataOps.live platform includes a full-scope REST API that can do everything from kicking off pipelines and monitoring results to creating and approving merge requests, user management, and even creating new projects. 

To kick off a pipeline run, the call would look something like below: 

curl -s --request GET --header "PRIVATE-TOKEN: $AUTH_TOKEN" --header "Content-Type: application/json" "$URL/api/v4/projects/$PROJECT/repository/files/$PIPELINE_FILE?ref=$BRANCH" | jq 

For AWS and the GCS equivalent, you could write a very simple trigger: 

S3 -> Trivial Lambda -> DataOps REST API


0 replies

Be the first to reply!

Reply