Skip to content

LREN-CHUV/mip-sdm

Repository files navigation

CHUV License

MIP Software Delivery Machine powered by Atomist

atomist sdm goals npm version

Atomist software delivery machine (SDM) customised for HBP Medical team.

See the Atomist documentation for more information on what SDMs are and what they can do for you using the Atomist API for software.

Functions provided

Code generation for new projects

atomist create meta db setup

Creates a new database setup project that will insert into a database the metadata describing the list of variables and their taxonomy.

The project will use Flyway Database migrations to create the tables and insert data in the target database.

atomist create data db setup

Creates a new database setup project that will insert into a database the features of a dataset.

The project will use Flyway Database migrations to create the tables and insert data in the target database.

Upgrades for existing projects

atomist upgrade data db setup

Upgrade a project derived from data db setup, and upgrade it to the latest version of data-db-setup or mip-cde-data-db-setup

Additional functionality

In addition to commands executed from Slack or from the command line, Atomist continuously monitors Github code repositories and can perform automatically additional actions.

Autofixes

The following autofixes are provided and applied on each commit on projects monitored by Atomist

build.sh

This build script is standardised when Atomist detects that captain is used to build the project.

.circleci/config.yml

Add a webhook to notify Atomist on CircleCi builds

Prerequisites

See the Atomist Developer documentation for instructions on setting up your development environment. Briefly, you will need Git, Node.js, and the Atomist CLI installed and properly configured on your system. With these installed, you can run this SDM in local mode.

To run this SDM for your team, you will need an Atomist workspace. See the Atomist Getting Started Guide for instructions on how to get an Atomist workspace and connect it to your source code repositories, continuous integration, chat platform, etc.

Running

See the Atomist Developer documentation for details on how to run this SDM. Briefly, once the prerequisites are met on your system you can start the SDM in local mode with the following command:

$ atomist start --local

The Atomist documentation for running SDMs has instructions for connecting and SDM to the Atomist API for software and running an SDM in various environments.

Support

General support questions should be discussed in the #support channel in the Atomist community Slack workspace.

If you find a problem, please create an issue.

Development

You will need to install Node.js to build and test this project.

Build and test

Install dependencies.

$ npm install

Use the build package script to compile, test, lint, and build the documentation.

$ npm run build

Release

Releases are handled via the Atomist SDM. Just press the 'Approve' button in the Atomist dashboard or Slack.


Created by Atomist. Need Help? Join our Slack workspace.