DeployBoard / DeployBoard/deployboard-python
Add the concept of a 'stage'
- 主要語言
- Python
- 星號
- 10
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
描述
We currently have a 'status' that indicates if a Service is being deployed, but we would also like to be able to indicate the progress of the Deployment pipeline through the various stages. Many deployments have some form of a Pipeline that might be as simple as `stages = ['build', 'deploy']` while some are much more complicated such as `stages = ['lint', 'test', 'build_docker_image', 'push_image_to_ecr', 'create_new_task_definition_version', 'update_service_with_new_task_definition_version', 'force_new_deployment_on_ecs_service', 'smoke_test', 'regression_test', 'completed']`
While it is nice to have a status of 'Deploying' it would be more helpful to see what stage of the pipeline the deployment is at.
Tracking the stages also allows us to log how long each stage typically takes and graph it over time for easier viewing of where bottlenecks may occur within the pipeline itself, and give the user the knowledge to target those stages for improvement.
I see this being an extra field in the log, as well as being a field item in the service as well.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
未指定檔案或測試。首先定位 Service 模型、部署狀態處理邏輯和日誌寫入入口,然後追蹤一次部署如何通過其管線。完成標準是:可以在 service 和部署日誌中表示各階段,並且可以取得階段耗時以追蹤瓶頸。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- aws, docker, python
- 領域
- devops
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100