Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Documentation on a daily build process for mapsmap projects in the prod environment.

Details

The mapping tool contains an admin/daily-build project that is a proposed mechanism for generating and packaging a daily build as an artifact.

...

Looking at the admin/daily-build project, you can see that it is configured to call the "perform release" mojo on each of the currently configured IHTSDO projects (ICD10, ICD9CM, and ICPC).  The output directory chosen for each build is a directory under "target/" so that a later stage can use the truezip plugin to package the data as a .zip file and then attach it as an artifact for this maven module.

Automation

At the moment, there is no automation for a daily build. It could be configured either as a cron job or as a CI server invocation.

Manually Performing the Daily Build

The process can be run manually like this:Now, to enable this, some CI or cron automation would be needed to invoke a "mvn install" on this very project and it would produce three .zip artifacts that could then be added to a corresponding repository and daily build data would then be available to any users of that repository. 

Code Block
cd /home/ihtsdo/code/admin/daily-build
mvn install -PDailyBuild -Drun.config=/home/ihtsdo/config/config.properties

The output will be three .zip file artifacts for each of the mapping projects that could then be pushed to https://nexus.ihtsdo.org.

  • n/a