From 2e57b6e9e4c648fcca1b6a9f1ada9fd982be161b Mon Sep 17 00:00:00 2001 From: Richard Timpson Date: Fri, 23 Aug 2024 13:30:54 -0600 Subject: [PATCH] doc(changelog): Finish the documentation for pipeline config bulk save functionality The documentation for front50 already existed. Adds some sections for the gate and orca changes which make the functionality feature complete. See relevant PRs https://github.com/spinnaker/front50/pull/1483, https://github.com/spinnaker/orca/pull/4773, and https://github.com/spinnaker/gate/pull/1823 --- .../releases/next-release-preview/index.md | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/content/en/docs/releases/next-release-preview/index.md b/content/en/docs/releases/next-release-preview/index.md index 7d10cb2b..1a24913e 100644 --- a/content/en/docs/releases/next-release-preview/index.md +++ b/content/en/docs/releases/next-release-preview/index.md @@ -12,8 +12,35 @@ changelog. ## Coming Soon in Release 1.36 ### Enhanced pipeline batch update feature +#### Gate +Adds a new enpdoint, POST /pipelines/bulksave, which can take a list of pipeline configurations to save. The endpoint will return a response that indicates how many of the saves were successful, how many failed, and what the failures are. The structure is -Batch update operation is now atomic. Deserialization issues are addressed. +``` +[ + "successful_pipelines_count" : , + "successful_pipelines" : >, + "failed_pipelines_count" : , + "failed_pipelines" : >> +] +``` + +There are a few config knobs which control some bulk save functionality. The gate endpoint invokes an orca asynchronous process to manage saving the pipelines and polls until the orca operations are complete. + +```yaml +controller: + pipeline: + bulksave: + # the max number of times gate will poll orca to check for task status + max-polls-for-task-completion: + # the interval at which gate will poll orca. + taskCompletionCheckIntervalMs: +``` + +#### Orca +Updates Orca's SavePipelineTask to support bulk saves using the updated functionality in the front50 bulk save endpoint. + +#### Front50 +Batch update operation in front50 is now atomic. Deserialization issues are addressed. Configurable controls are added to decide whether cache should be refreshed while checking for duplicate pipelines: ```yaml