grafana/scripts/build/ci-msi-build
2021-09-29 14:34:40 +02:00
..
msigenerator Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02: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 Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02: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