Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ from your source code repository.

---

Why are you adding this line?

## πŸš€ Introduction

Pipelines-as-Code follows the [Pipelines-as-Code
Expand Down
5 changes: 5 additions & 0 deletions pkg/pipelineascode/pipelineascode.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@ func getMergePatch(annotations, labels map[string]string) map[string]any {
}
}

// getExecutionOrderPatch returns a patch to set the execution order of the pipelineRun
// the order is a comma separated list of pipelineRun names
// the order is used to determine the order in which the pipelineRuns are executed
// the order is set in the metadata.annotations.execution-order annotation
// the order is used to determine the order in which the pipelineRuns are executed.
func getExecutionOrderPatch(order string) map[string]any {
return map[string]any{
"metadata": map[string]any{
Expand Down
Loading