ci: restart bench before final migrate (#37104)
Also remove few patches which are now handled automatically
This commit is contained in:
parent
08aaf22b2a
commit
61778d5058
2
.github/workflows/patch.yml
vendored
2
.github/workflows/patch.yml
vendored
@ -139,9 +139,11 @@ jobs:
|
||||
git -C "apps/frappe" checkout -q -f "${GITHUB_BASE_REF:-${GITHUB_REF##*/}}"
|
||||
git -C "apps/erpnext" checkout -q -f "$GITHUB_SHA"
|
||||
|
||||
pgrep honcho | xargs kill
|
||||
rm -rf ~/frappe-bench/env
|
||||
bench -v setup env
|
||||
bench pip install -e ./apps/erpnext
|
||||
bench start &>> ~/frappe-bench/bench_start.log &
|
||||
|
||||
bench --site test_site migrate
|
||||
|
||||
|
@ -339,9 +339,6 @@ execute:frappe.defaults.clear_default("fiscal_year")
|
||||
erpnext.patches.v15_0.remove_exotel_integration
|
||||
erpnext.patches.v14_0.single_to_multi_dunning
|
||||
execute:frappe.db.set_single_value('Selling Settings', 'allow_negative_rates_for_items', 0)
|
||||
execute:frappe.delete_doc('DocType', 'Twitter Settings', ignore_missing=True)
|
||||
execute:frappe.delete_doc('DocType', 'LinkedIn Settings', ignore_missing=True)
|
||||
execute:frappe.delete_doc('DocType', 'Social Media Post', ignore_missing=True)
|
||||
erpnext.patches.v15_0.correct_asset_value_if_je_with_workflow
|
||||
erpnext.patches.v15_0.delete_woocommerce_settings_doctype
|
||||
# below migration patch should always run last
|
||||
|
Loading…
Reference in New Issue
Block a user