Skip to content

Commit

Permalink
ci: restart bench before final migrate (frappe#37104)
Browse files Browse the repository at this point in the history
Also remove few patches which are now handled automatically
  • Loading branch information
ankush authored Sep 15, 2023
1 parent 08aaf22 commit 61778d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions erpnext/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61778d5

Please sign in to comment.