akai-org / akai-org/put-wiki

Improve workflow of applying db migration on prod

未關閉
#131 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:devops type:task
主要語言
TypeScript
星號
6
分支
3
平均合併
3 天 17 小時
30 天內合併 PR
15

描述

## Summary
Currently our workflow for applying db migration on prod (and deployment workflow too) need version tags as input but don't validate it (e.g. expected server tag is really server tag, not client tag and vice versa).

## [Acceptance criteria](https://www.atlassian.com/work-management/project-management/acceptance-criteria)
- [ ] validate that inputs of apply db migration on prod workflow and deployment workflow are validated as explained above.
- [ ] update deployment docs to indicate more clearly that db migrations are optional and only for backend changes. If you think that deployment docs are too complex and can be simplified and explained better you can refactor them too.

## Notes
important context

貢獻指南

開啟貢獻指南

研究方向

Start by finding the apply db migration on prod workflow, the deployment workflow, and the deployment docs mentioned in the issue. Check how version tag inputs are currently accepted, then add validation that server tags and client tags cannot be mixed up. Done means both workflows validate their inputs and the docs clearly say db migrations are optional and only for backend changes.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, typescript
領域
ci-cd, database, documentation
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
62/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。