Uploaded image for project: 'releng'
  1. releng
  2. RELENG-86

Reduce autorelease build size by converting karaf builds to profiles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Carbon-SR4
    • None
    • Autorelease
    • None

      Per discussions on mailing list thread:

      https://lists.opendaylight.org/pipermail/dev/2018-April/004857.html

      We discovered that Autorelease Carbon build size appears to be significantly larger since the last release. One point that came out of the discussions was that the project local karaf distributions should not be built by autorelease and released as part of simrel.

      2 things need to be done here:

      1. Patch autorelease builds to ignore the "karaf" profile with "-P!karaf"
      2. Patch all projects that are producing karaf distros to have a "karaf" profile that is active by default

      This method will allow by default the same behaviour that developers are expecting when they run local builds but allows us to disable the karaf distribution in autorelease builds.

      We need to deploy this to Carbon ASAP however we should do it for all supported releases.

      For patches suggest using "autorelease-skip-karaf":

      git review -t autorelease-skip-karaf

      For those helping out with patches to test if your patch works run these 2 commands and check the Maven reactor (takes about 30 seconds):

      1. mvn clean install
      2. mvn clean install -P!karaf

      The first should include the karaf in the build. The 2nd should not.

            zxiiro Thanh Ha (zxiiro)
            zxiiro Thanh Ha (zxiiro)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: