Skip to content

[Question] Inner job hook feature #6061

Closed Answered by yesnault
killzoner asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @killzoner

A CDS workflow can be started by a webhook. You can't add a webhook in a middle of a workflow.

Your use case will not be easy to implement with cds as is, but here is an idea:

  • a workflow A triggered by API A, then trigger workflow C
  • a workflow B triggered by API B, then trigger workflow C
  • a workflow C, checking if workflow A and B is ok in their last run
  • you probably need to use cdsctl in your job to get status of workflow A and B from workflow C.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@killzoner
Comment options

@yesnault
Comment options

@killzoner
Comment options

@yesnault
Comment options

@killzoner
Comment options

Answer selected by yesnault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6059 on January 13, 2022 16:11.