Create reference UI publishing repository

Description

This ticket was broken out of to be the minimal refactoring to do for 3.0

Currently the OpenLMIS-Requisition-refUI repository tries to do too much and includes all the components. The final build process should be broken into its own repository, and the functionality should be removed from OpenLMIS-Requisition-refUI such that the repository only contains source code (and the ability to spin up a working dev server)

Acceptance Criteria

  • A git repository called 'openlmis-reference-ui'

    • Includes docker-compose.builder.yml

    • Dockerfile

    • consul files

    • nginx.conf

    • version.properties

    • build.sh & minimal Gruntfile.js that compiles the reference-ui

  • Update openlmis-requisition-refUI to publish its source files to docker hub
    All source files should be in the docker image as /openlmis-requisition-ui

    • Remove files related to build nginx file from openlmis-requisition-refUI

    • Published docker files should include

      • bower.json

      • package.json

      • config.json

      • src/*

  • Update reference-ui's docker-compose to include the openlmis-requisition-refUI image as a volume

  • Update Jenkins jobs to build and publish the openlmis-reference-ui if there have been any changes to the openlmis-requisition-refUI

  • Change the name of the openlmis-requisition-refUI to openlmis-requisition-ui

Status

Assignee

Nick Reid

Reporter

Nick Reid

Labels

None

Story Points

8

Time tracking

40h

Components

Sprint

None

Fix versions

Priority

Major