-
Type: Task
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 1.3.0611
-
Fix Version/s: NoFixVersionApplicable
-
Component/s: Application update, Tests
-
Epic Link:
-
Tags:
-
Story Points:5
Typically: upgrade available, upgrade / downgrade needed, up-to-date.
This task depends on NXDRIVE-4, and will probably invoke the commandline from a shell (or Python?) script, something like:
- Activate virtualenv
- Install requirements with pip
- Start mock update site
- Set current version to a given value by writing in nuxeo-drive-client/nxdrive/_init_.py
- Freeze application with Esky
- Package frozen app into a MSI / DMG
- Install package
- Bind server with ndrive bind-server (requires a running Nuxeo instance)
- Fetch update information and check update status with something like ndrive update-status (should be "up_to_date")
- Set new version to a given value by writing in nuxeo-drive-client/nxdrive/_init_.py
- Freeze application with Esky
- Package frozen app into a MSI / DMG
- Deploy package to the mock update site
- Fetch update information and check update status (should be "upgrade_available")
- Process an update action, for instance ndrive update
- Check the current version has been upgraded with ndrive --version
Note that part of this process will be used in Jenkins jobs to build, test and deploy the binary packages.
- depends on
-
NXDRIVE-335 Use virtualenv for FT jobs
- Resolved
-
NXDRIVE-40 Drive : Update site release process by Jenkins
- Resolved
- duplicates
-
NXDRIVE-961 Create a script to check any auto-update process regressions
- Resolved
-
NXDRIVE-967 Include the auto-update test in the UT battery
- Resolved