Document prod schema migrate before restore and i18n search index fix.
Release runbook now describes default migrateProdSchema, auto-migrate safety guard, and troubleshooting for updated_at restore failures; i18n docs cover partial entity_translations index. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
a2c27ea526
commit
62d7ebbe6a
@@ -21,7 +21,6 @@
|
||||
"message": "Release: weekly deploy",
|
||||
"stageAll": true
|
||||
},
|
||||
"schemaChanged": false,
|
||||
"backupFile": "",
|
||||
"smb": {
|
||||
"host": "192.168.10.122",
|
||||
|
||||
@@ -127,7 +127,7 @@ function Invoke-Step {
|
||||
}
|
||||
|
||||
function Get-ProfileSteps {
|
||||
param([string]$Profile, [bool]$SchemaChanged)
|
||||
param([string]$Profile)
|
||||
|
||||
$base = @{
|
||||
validateBuild = $false
|
||||
@@ -367,8 +367,7 @@ $raw = Get-Content -LiteralPath $Config -Raw -Encoding UTF8
|
||||
$cfg = $raw | ConvertFrom-Json
|
||||
|
||||
$profile = if ($cfg.profile) { $cfg.profile } else { 'full' }
|
||||
$schemaChanged = [bool]$cfg.schemaChanged
|
||||
$steps = Merge-Steps (Get-ProfileSteps -Profile $profile -SchemaChanged $schemaChanged) $cfg.steps
|
||||
$steps = Merge-Steps (Get-ProfileSteps -Profile $profile) $cfg.steps
|
||||
|
||||
if ($cfg.autoConfirm) {
|
||||
$env:CONFIRM_PROD = '1'
|
||||
|
||||
Reference in New Issue
Block a user