Nort Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 29: Line 29:
# The local workarea version metadata is tentatively incremented.  
# The local workarea version metadata is tentatively incremented.  
# All tests are executed, with the new version metadata in place.
# All tests are executed, with the new version metadata in place.
 
# If at least one test fails, NORT restores the previous release metadata state, reports and fails. The work area is restored to the exact state it was found before the release sequence was initiated.
 
The release increment does the following:
* Increments release metadata in the local workarea.
* Runs all tests.
 
If at least one test fails, the command restores the previous release metadata states, reports and fails.


If all tests succeed <font color=red>what now?</font>
If all tests succeed <font color=red>what now?</font>

Revision as of 21:01, 15 November 2016

Internal

Overview

Release

A NORT release consists in a sequence of interactions with the local project work area, the build system metadata, and various external source code and binary repositories. All types of releases end with the creation of a set of valid release artifacts and the publishing of the artifacts into their corresponding repositories. At the end of the release process, the work area is automatically updated to support the development iteration for the next release.

Release Types

Major

Minor

Patch

Snapshot

Custom

For syntax details see the release command.

The Release Sequence

The release sequence consists in the following steps:

  1. The local workarea version metadata is tentatively incremented.
  2. All tests are executed, with the new version metadata in place.
  3. If at least one test fails, NORT restores the previous release metadata state, reports and fails. The work area is restored to the exact state it was found before the release sequence was initiated.

If all tests succeed what now?

Release Artifacts

JAR Libraries

Binary Distributions

The recommended technique to build complex binary distributions is to add a dedicated "release" module to the project and let the Maven assembly plug-in to handle the process. The details are described in the "Building a Maven Complex Release Artifact" article.

If a project has a binary distribution, NORT will publish it in the Maven repository, under the "release" module of the project.

Current Version