You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Piped&Plugin) Handle commands of skipStage and approveStage (Analysis, WaitApproval)
[ ] UI&model) Add skippable flag to PipelineStage and switch by it on UI (Analysis)
[ ] UI&model) Add approvable flag to PipelineStage and switch by it on UI (WaitApproval)
The overview of handling SkipStage and ApproveStage will be like this:
Add skippable and approvable flags in the model PipelineStage.
Set them true in BuildPipelineSyncStages() of Analysis and WaitApproval stage plugins.
Define and use ListStageCommands() and ReportStageCommandHandled() APIs from a plugin to Piped to handle commands on the plugin side.
On UI, show the Skip button if the stage is skippable, and show the Approve dialog if the stage is approvable
This architecture enables other plugins to use SkipStage and ApproveStage.
What would you like to be added:
Support the following stages in the plugin architecture.
WAIT
StageWAIT_APPROVAL
StageANALYSIS
StageCrossing-tasks:
skipOn
optionsskippable
flag to PipelineStage and switch by it on UI (Analysis)approvable
flag to PipelineStage and switch by it on UI (WaitApproval)Note: We've not determined how to support the
SCRIPT_RUN
Stage in the plugin architecture.Why is this needed:
Stages will also become plugins, not built-in code.
That will extend the flexibility of pipelines.
The text was updated successfully, but these errors were encountered: