Commit 8b639657 authored by Alain Takoudjou's avatar Alain Takoudjou

update business templates dependecy list

parent 0c900f03
...@@ -15,6 +15,8 @@ slapos_slap_tool ...@@ -15,6 +15,8 @@ slapos_slap_tool
slapos_crm slapos_crm
slapos_pdm slapos_pdm
slapos_web slapos_web
slapos_jio
slapos_monitoring
slapos_payzen slapos_payzen
slapos_hypermedia slapos_hypermedia
slapos_upgrader slapos_upgrader
\ No newline at end of file
...@@ -4,17 +4,22 @@ ...@@ -4,17 +4,22 @@
- The second list is what you want to keep. This is useful if we want to keep - The second list is what you want to keep. This is useful if we want to keep
a old business template without updating it and without removing it a old business template without updating it and without removing it
""" """
portal = context.getPortalObject()
bt5_update_catalog_list = ('erp5_ingestion_mysql_innodb_catalog', bt5_update_catalog_list = ('erp5_ingestion_mysql_innodb_catalog',
'slapos_cloud', 'erp5_accounting', 'slapos_cloud', 'erp5_accounting',
'erp5_movement_table_catalog') 'erp5_movement_table_catalog',
'erp5_promise', 'slapos_configurator',
'slapos_ecoallocation')
bt5_id_list = bt5_update_catalog_list + ('slapos_erp5',) bt5_id_list = bt5_update_catalog_list + ('slapos_erp5',)
# return context.resolveBusinessTemplateListDependency(bt5_id_list)
keep_bt5_id_list = ['erp5_ui_test', keep_bt5_id_list = ['erp5_ui_test',
'erp5_ui_test_core', 'erp5_ui_test_core',
'slapos_category', 'slapos_category',
'erp5_secure_payment'] 'erp5_secure_payment',
'vifib_datas',
]
return bt5_id_list, keep_bt5_id_list return bt5_id_list, keep_bt5_id_list
portal = context.getPortalObject() portal = context.getPortalObject()
portal_type = 'Template Tool' portal_type = 'Template Tool'
tag = 'upgrade_upgrader_%s' % random.randint(0, 2000) tag = 'upgrade_upgrader_%s' % random.randint(0, 2000)
method_kw = {'bt5_list':['erp5_upgrader', 'slapos_upgrader'], method_kw = {'bt5_list':['erp5_forge', 'erp5_upgrader', 'slapos_upgrader'],
'deprecated_after_script_dict': None, 'deprecated_after_script_dict': None,
'deprecated_reinstall_set': None, 'deprecated_reinstall_set': None,
'dry_run': False, 'dry_run': False,
......
...@@ -9,5 +9,4 @@ erp5_bearer_token ...@@ -9,5 +9,4 @@ erp5_bearer_token
erp5_access_token erp5_access_token
slapos_pdm slapos_pdm
slapos_crm slapos_crm
erp5_web_renderjs_ui erp5_web_renderjs_ui
slapos_monitoring \ No newline at end of file
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment