-
-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenUpgrade and Travis #113
Comments
Hello @legalsylvain That sounds all the rage. However I believe Travis free plans have a max execution time of ~12 minutes and my feeling is that it will not fit. Worth a double check. Also some OCA people are setting up a dedicated runbot system, may be it could be hacked into doing what you want (not on Travis infrastructure then). Well this is just my hot feeling, it's probably worth a try or more investigation. |
Hi @rvalyi, thanks. |
@legalsylvain yes, that may be possible with just a few module, not sure. Well the idea itself is great as I said. |
This completely depends on demo data migration and if these datas are complete and non-iterferal with migration scripts. It shouldn't be too difficult to do for version 8.0 of OpenUpgrade: language: python
python:
- "2.7"
env:
- VERSION="7.0" ODOO_REPO="odoo/odoo"
- VERSION="7.0" ODOO_REPO="OCA/OCB"
virtualenv:
system_site_packages: true
install:
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
- git clone https://github.com/${ODOO_REPO}.git ${HOME}/new-version -b ${VERSION} --depth=1
script:
- ${HOME}/Odoo/openerp_server -d OpenUpgrade -i all --without-demo=False --stop-after-init
- coverage run ./scripts/migrate.py -d OpenUpgrade
- ${HOME}/new-version/openerp_server -d OpenUpgrade --stop-after-init | grep ERROR
after_success:
coveralls Not tested, just quickly typed, the commands and paths are probably different. |
Hi @bwrsandman (or other) I tried few days ago to realize this script. I would like to install on V7 only modules marked as done in modules70-80.rst file. I tried:
But I don't know how to use it after. |
It's reasonable to add OCB specific support into current MQT scripts, or at worse, add there additional scripts for OCB. |
@legalsylvain try this: ADDONS_LIST=`grep -i "^|.*|\s*Done" openerp/openupgrade/doc/source/modules70-80.rst |\
cut -d"|" -f2 |\
xargs echo |\
sed 's/ /,/g'` |
Done. Closing... |
…serve_state [IMP] keep old module's state when merging modules and the target is …
Hi all,
I had an idea some weeks ago, when I discovered Travis System and I'd like to have your point of view.
I imagined to realize a Travis script that will realize the following things (for a migration to 7 -> 8):
Once the system done, it can be easily ported for next migration (8 -> 9);
@StefanRijnhart, @ all What do you think about that idea ?
Regards.
The text was updated successfully, but these errors were encountered: