grafana/scripts/build/ci-msi-build
Arve Knudsen c2c1ec7d0f
Chore: Move from master to main branch (#33693)
* Chore: Move from master branch to main

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* CI: Upgrade build pipeline tool to v2

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-06 16:29:29 +02:00
..
msigenerator Azure: Split insights into two services (#25410) 2020-06-25 12:48:18 -04:00
ci-msi-build-ee.sh CI: MSI for Enterprise (#21569) 2020-01-20 08:35:45 +01:00
ci-msi-build-oss.sh CI: MSI for Enterprise (#21569) 2020-01-20 08:35:45 +01:00
Dockerfile Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
README.md Add Windows MSI generation to build process (#16502) 2019-05-02 10:47:58 -05:00
testbuild.sh CI: MSI for Enterprise (#21569) 2020-01-20 08:35:45 +01: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