Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15037

Fix mp-upgrade on studio packages

    Details

      Description

      Issue was raising during NXP-13427, mp-upgrade doesn't work with Studio packages:

      # Check upgrade
      # Add new compliant package jcarsique-SANDBOX-0.0.4
      $ ./bin/nuxeoctl mp-show "jcarsique-SANDBOX-0.0.4" |grep "Target platforms"
      Target platforms: {cap-5.8,cap-5.8*HF*}
      
      $ ./bin/nuxeoctl mp-list
      studio  downloaded	jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.0-SNAPSHOT)
      studio  downloaded	jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.2)
      studio     started	jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.3)
      studio  downloaded	jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.4)
      
      # Upgrade from not compliant jcarsique-SANDBOX-0.0.3
      $ ./bin/nuxeoctl mp-upgrade --relax=false --accept=true -s
      # => KO; jcarsique-SANDBOX-0.0.4 should be installed
      
      # SNAPSHOT package upgrade
      $ ./bin/nuxeoctl mp-list
      studio     started	jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.0-SNAPSHOT)
      studio  downloaded	jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.2)
      studio  downloaded	jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.3)
      
      $ find nxserver/data/packages/store/jcarsique-SANDBOX-0.0.0-SNAPSHOT -exec touch {} \;
      $ ./bin/nuxeoctl mp-upgrade --relax=true --accept=true -s
      # => KO; jcarsique-SANDBOX-0.0.0-SNAPSHOT should be reinstalled

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.