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

Improve Nuxeo build pipeline

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: CI/CD

      Description

      When doing a build of Nuxeo, we may end up with having a Docker image available on packages.nuxeo.com but no Nuxeo packages on Connect preprod.
      We need to reorganize the pipeline steps:

      • build, package, tests - until the Docker image tests
      • Git tag
      • Deploy Maven artifacts internally
      • Upload Nuxeo packages to Connect preprod - make the build fails if there is any issue
      • Upload the Docker images to packages.nuxeo.com

      When the pipeline succeed, update the job description with the build version: "Build 11.1.14" for instance.

      Introduce an environment variable DRY_RUN that will allow the pipeline to skip some stages, such as the git tag and push, the packages upload, ...
      This var could be set to true on the JX Platform Staging environment for instance.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h