Public Repository

Last pushed: a year ago
Short Description
Sea Ice Extent Differencing Tool
Full Description

Sea Ice Spatial Differencing Tool

Getting Started

  1. Install Docker and docker-compose

  2. Create the development conda environment to do local development:

     $ conda env create -f dev-environment.yml
     $ source activate extentdiffimages

Development Workflow

  1. Host Mounts

The following mounts are required on the host machine:

$ /share/data
$ /share/apps/g02135-sii-asina/timeseries/{dev|integration|qa|staging}
$ /projects/DATASETS
  1. Use docker-compose to build and run the container:

     For development:
     $ docker-compose -f docker-compose-dev.yml up -d
     For production:
     $ docker-compose -f docker-compose.yml up -d
  2. Develop new features by following the GitHub Flow model.

Continuous Integration

Docker Cloud
is used to automatically run tests on all branches. It will also
create tagged Docker images. It will create a new 'latest' Docker
image on each commit to master. These images will get pushed to the
project's repository on DockerHub.

Create A Release

First, bump the version. This increments the version string by whatever part is specified and creates a new local commit.:

    $ source activate extentdiffimages-dev
    $ inv version.bump --part {major|minor|patch}

After merging with master, tag the master branch with the new version (this creates a tag with the version string and pushes it to master):

    $ inv version.tag

Docker Cloud will then (eventually - still needs implemented) build a new tagged image based on the git tag and push it to DockerHub.

Docker Pull Command