如何使用 spinnaker 更新管道定义 API
How to use spinnaker Update a pipeline definition API
我正在尝试使用这个更新管道定义 API
https://spinnaker-api.svc.k8s.pinadmin.com/swagger-ui.html#!/pipeline45controller/updatePipelineUsingPUT
我应该在管道参数中传递什么的任何示例?
您可以尝试 "Save Pipeline" 阶段的例子 - link.
类似的东西:
{
"name": "just waiting",
"description": "",
"parameterConfig": [],
"notifications": [],
"triggers": [],
"stages": [
{
"refId": "wait1",
"requisiteStageRefIds": [],
"type": "wait",
"waitTime": "420"
}
],
"expectedArtifacts": [],
"keepWaitingPipelines": false,
"limitConcurrent": true
}
我正在尝试使用这个更新管道定义 API https://spinnaker-api.svc.k8s.pinadmin.com/swagger-ui.html#!/pipeline45controller/updatePipelineUsingPUT 我应该在管道参数中传递什么的任何示例?
您可以尝试 "Save Pipeline" 阶段的例子 - link.
类似的东西:
{
"name": "just waiting",
"description": "",
"parameterConfig": [],
"notifications": [],
"triggers": [],
"stages": [
{
"refId": "wait1",
"requisiteStageRefIds": [],
"type": "wait",
"waitTime": "420"
}
],
"expectedArtifacts": [],
"keepWaitingPipelines": false,
"limitConcurrent": true
}