grafana/scripts/build/ci-msi-build
Oleg Gaidarenko 4b16cd6cc8
Build: Introduce shellcheck (#18081)
* Build: introduce shellcheck

Fixes #16198
2019-07-23 13:12:33 +03:00
..
oss Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
ci-msi-build-oss.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
README.md Add Windows MSI generation to build process (#16502) 2019-05-02 10:47:58 -05:00

Grafana MSI Generator

Creates a docker image that can be included within CircleCI or run locally to generate an MSI for Grafana.

Docker Image

The docker image is created and published via CircleCI, and can also be built locally.

The image is self contained with all of the code in /master. The detection process expects a zip file in /master/dist.

There are two patterns that will be matched for a build in the dist directory:

grafana-6.0.0-ca0bc2c5pre3.windows-amd64.zip
grafana-5.4.3.windows-amd64.zip

Building an MSI

The process is automated to expect a dist directory, and will build an msi for first matching grafana-*.windows-amd64.zip file found.

grafana-5.4.3.windows-amd64.zip

CircleCI

Manual

A wrapper script takes a single argument for the path to a zip file, or searches for a file in dist.

A manual build can be initiated using docker-compose

cd oss
docker-compose up --build

Automated

Testing

Change Log

v1.0.0 - initial commit