Skip to content

Commit

Permalink
build: grafana enterprise docker. (grafana#13839)
Browse files Browse the repository at this point in the history
  • Loading branch information
xlson authored Oct 26, 2018
1 parent 239dfbc commit e2f74b5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ jobs:
- run: docker info
- run: cp dist/grafana-latest.linux-x64.tar.gz packaging/docker
- run: cd packaging/docker && ./build-deploy.sh "master-${CIRCLE_SHA1}"
- run: cp dist/grafana-enterprise-*.linux-amd64.tar.gz packaging/docker/grafana-latest.linux-x64.tar.gz
- run: cd packaging/docker && ./build-enterprise.sh "master"


grafana-docker-pr:
docker:
Expand Down Expand Up @@ -409,6 +412,7 @@ workflows:
- grafana-docker-master:
requires:
- build-all
- build-all-enterprise
- test-backend
- test-frontend
- codespell
Expand Down
10 changes: 10 additions & 0 deletions packaging/docker/build-enterprise.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
set -e

_grafana_tag=$1
_docker_repo=${2:-grafana/grafana-enterprise}

docker build \
--tag "${_docker_repo}:${_grafana_tag}"\
--no-cache=true \
.

0 comments on commit e2f74b5

Please sign in to comment.