Commit Graph

305 Commits

Author SHA1 Message Date
bergquist
dbc1315d6f build steps for cache servers 2019-03-11 10:49:55 +01:00
bergquist
c68da40710 run db tests in all packages 2019-02-15 16:26:24 +01:00
Leonard Gram
ddfccec2ea build: enterprise release co project. 2019-01-31 09:42:50 +01:00
Leonard Gram
584c97320a build: ignore latest 2019-01-28 17:08:27 +01:00
Leonard Gram
55f2495afa build: publishes armv6 to grafana.com.
Stops using the old publisher completely.

Closes #13008
2019-01-28 16:33:24 +01:00
bergquist
d75f53e895 upgrade golang to 1.11.5 2019-01-28 08:08:29 +01:00
Torkel Ödegaard
829e3024ce fixed circleci script run path for gometalinter 2019-01-21 13:20:24 +01:00
Torkel Ödegaard
f24e6ebf67 Fixed circleci name for gometalinter exec step 2019-01-21 13:10:00 +01:00
Torkel Ödegaard
d5e49845f3 Moved gometalinter to a script instead of seperate commands in circleci file, removed megacheck and added staticcheck 2019-01-21 13:03:05 +01:00
Leonard Gram
a585a919b3 build: updates ci deploy. 2019-01-17 14:42:20 +01:00
Leonard Gram
b3512f43a3 build: repo update testable and more robus.
- adds script for integration testing
- package path parameterized
- more robust updates
2019-01-16 11:11:00 +01:00
Leonard Gram
7b43b9e272 build: fixes release problems. 2019-01-14 16:23:48 +01:00
Leonard Gram
0f82fffed6 build: makes sure all builds use the latest container. 2019-01-10 16:52:21 +01:00
Johannes Würbach
702d449001 Docker image for ARM 2019-01-10 14:41:02 +01:00
Leonard Gram
13a962cc50 Revert "Docker image for ARM"
This reverts commit 5f7e6a5c73.
2019-01-09 16:25:07 +01:00
Johannes Würbach
5f7e6a5c73 Docker image for ARM 2019-01-09 15:09:13 +01:00
Leonard Gram
ad61bff377 build: deploys enterprise to its own repo. 2019-01-09 11:42:55 +01:00
Leonard Gram
b9c4eb70b1 build: publishes beta releases to separate repos. 2019-01-09 11:42:55 +01:00
Leonard Gram
89956a6a41 build: uses official deployment image. 2019-01-09 11:42:55 +01:00
Leonard Gram
c3e23d7574 build: rpm repo deploy. 2019-01-09 11:42:55 +01:00
Leonard Gram
7fea1f84c0 build: release of debs to our debian repo. 2019-01-09 11:42:55 +01:00
bergquist
17f8be90ae upgrade to golang 1.11.4 2018-12-17 14:25:47 +01:00
Leonard Gram
539036fd0f build: always test publisher. 2018-11-23 16:51:01 +01:00
Leonard Gram
6c267cb592 build: docker build for ge. 2018-11-21 09:03:05 +01:00
Leonard Gram
84832cb6cb build: releaser supports releasing only some artifacts. 2018-11-20 09:01:52 +01:00
Leonard Gram
badb36b3c8 build: darwin compatible build env. 2018-11-16 14:29:35 +01:00
Mario Trangoni
89cd74715e Add gofmt -s to CircleCI 2018-11-12 10:51:43 +01:00
Mario Trangoni
a2275e8a1c Add megacheck to gometalinter CircleCI target
See, https://github.com/dominikh/go-tools/tree/master/cmd/megacheck
2018-11-09 19:46:40 +01:00
Leonard Gram
272c43f7b7 build: minor publisher fixes. 2018-11-05 16:57:30 +01:00
Leonard Gram
1de35c43a7 build: publishes grafana enterprise to grafana.com 2018-11-05 16:26:19 +01:00
Leonard Gram
5469a1a569 build: fixes gcp push path. 2018-11-05 09:55:19 +01:00
Leonard Gram
baea76c4ea build: gpc credentials added to deploy. 2018-10-31 11:16:48 +01:00
Leonard Gram
4954a49da9 build: deploys to gcp. 2018-10-31 10:49:09 +01:00
Leonard Gram
1a0b75bc44
build: deploys to gcp. (#13911) 2018-10-31 09:51:11 +01:00
Leonard Gram
58a567173e build: builds grafana docker for enterprise at release. 2018-10-26 15:19:53 +02:00
Leonard Gram
a80e2e1acd build: ge build fix. 2018-10-26 14:37:51 +02:00
Leonard Gram
e2f74b55d2
build: grafana enterprise docker. (#13839) 2018-10-26 14:23:30 +02:00
Leonard Gram
ab4cc6a9bf build: indentation mistake. 2018-10-23 08:53:36 +02:00
Leonard Gram
3aa0a0ca98 build: fixes filename issues. 2018-10-23 08:33:52 +02:00
Leonard Gram
6c473d33f4
Enterprise crosscompilation (#13783)
* build: crosscompilation and release of enterprise.
2018-10-22 14:33:19 +02:00
Leonard Gram
6fd3430677 build: makes sure publisher.sh is available when deploying. 2018-10-15 14:54:21 +02:00
Torkel Ödegaard
cdfbcbce22
updated circleci build-container version 2018-10-11 22:06:36 +02:00
Johannes Schill
a94c1eaf4b Bump grafana/build-container to 1.2.0 2018-10-10 14:15:27 +02:00
Johannes Schill
314b8b8ed9 Revert "Lock down node version to see if we get rid of the circleci build issue"
This reverts commit 9080b2c4ff9cff9a1ca99c983051fb35a0789515.
2018-10-10 14:15:27 +02:00
Johannes Schill
a1853d782d Revert "Try to remove circleci cache to see if that solves the build issue"
This reverts commit f19fc935918721a29fe149fec8abfb78866b262f.
2018-10-10 14:15:27 +02:00
Johannes Schill
1f27f90cbe Try to remove circleci cache to see if that solves the build issue 2018-10-10 14:15:27 +02:00
Johannes Schill
c695bbfa25 Revert "Add node version output for debugging"
This reverts commit 16a931d535d02a2759e26c2ae3dc66454aa4fe89.
2018-10-10 14:15:27 +02:00
Johannes Schill
118c3b1746 Add node version output for debugging 2018-10-10 14:15:27 +02:00
Johannes Schill
878433bcfa Lock down node version to see if we get rid of the circleci build issue 2018-10-10 14:15:27 +02:00
bergquist
add6cee742 build: automatically publish releases to grafana.com. 2018-10-03 11:17:46 +02:00
Mario Trangoni
803e716213 Add goconst to CircleCI 2018-09-26 22:43:15 +02:00
bergquist
c1f797ed90 moves docker/ to devenv/docker 2018-09-17 11:10:03 +02:00
Torkel Ödegaard
dd01abc544
another circleci fix 2018-09-11 18:37:02 +02:00
Torkel Ödegaard
48d1ebacbb
Another circleci fix 2018-09-11 18:32:19 +02:00
Torkel Ödegaard
207ce0cde1
changed gometalinter to use github master 2018-09-11 18:29:50 +02:00
Torkel Ödegaard
888ac27e25
commented out metalinter as gopkg is having issues 2018-09-11 18:24:07 +02:00
Leonard Gram
eed141fb54 build: uses 1.1.0 of the build container. 2018-09-05 15:10:57 +02:00
Leonard Gram
8ea2f7f858 build: updated build-container with go1.11. 2018-09-05 11:55:28 +02:00
bergquist
fda9790ba5 upgrades to golang 1.11 2018-08-25 21:23:20 +02:00
Leonard Gram
570d2fede3 build: cleanup 2018-08-14 14:48:26 +02:00
Leonard Gram
e521e7b76d build: fixes rpm verification. 2018-08-14 14:24:04 +02:00
Leonard Gram
aefcb06ff8 build: verifies the rpm packages signatures.
Closes #12370
2018-08-14 13:45:20 +02:00
Marcus Efraimsson
b8a1385c77
build: increase frontend tests timeout without no output 2018-08-13 15:40:07 +02:00
Leonard Gram
a73fc4a688
Smaller docker image (#12824)
* build: makes the grafana docker image smaller.

* build: branches and PR:s builds the docker image.
2018-08-06 17:34:25 +02:00
Leonard Gram
b61ac546f1 build: disables external docker build for master and release. 2018-08-02 19:24:05 +02:00
Leonard Gram
99a9dbb04f build: complete docker build for master and releases. 2018-08-02 19:24:05 +02:00
Leonard Gram
580e2c36d1 build: imported latest changes from grafana-docker. 2018-08-02 19:24:05 +02:00
Leonard Gram
e848930476 build: attach built resources. 2018-08-02 19:24:05 +02:00
Leonard Gram
e3a907214d build: builds docker image from local grafna tgz. 2018-08-02 19:24:05 +02:00
Leonard Gram
bfe41d3cf1 build: new workflow for PR:s and branches. 2018-08-02 19:24:05 +02:00
Leonard Gram
62d3655da4 docker: inital copy of the grafana-docker files. 2018-08-02 19:24:05 +02:00
Torkel Ödegaard
2c22a7b4ba
Don't build-all for PRs 2018-07-11 13:31:34 +02:00
yogy rahmawan
8b32dc5847 move go vet out of scripts and fixing warning (#12552) 2018-07-09 23:25:32 -07:00
Marcus Efraimsson
a8970a4de9
run enterprise build only on master for now 2018-07-04 13:09:42 +02:00
Leonard Gram
1586a42a71 ci: Only publish grafana enterprise packages tagged with enterprise. 2018-07-03 09:25:51 +02:00
Leonard Gram
4245f0ce11 ci: typo 2018-07-02 16:10:20 +02:00
Leonard Gram
8d6797c367 ci: publishes grafana enterprise to s3. 2018-07-02 16:05:23 +02:00
Carl Bergquist
861af4cb97 Improve extensions build. (#12461)
* enable ee build on pr/master

* step1: of including group sync

* disable commit pinning for now

* fixes broken build

* enable team to ldap group sync

* avoid returning error for missing external handler

* services: allow routes to be added before http server start

* services: allows services to add their own migrations

* moves db migrations to ee code base

* build using master branch in ee

* disable enterprise build in .bra.toml

[skip ci]

* removes team sync extensions

* removes commented line
2018-07-01 07:01:43 -07:00
Marcus Efraimsson
bd805544c5
build: yarn should be included out of the box on circle ci 2018-06-26 15:19:04 +02:00
Torkel Ödegaard
713a87fb5b
Webpack 4 (WIP) (#12098)
* Webpack 4

* webpack: force angular version 1.6 as 1.7 has removed a legacy feature toggle Grafana needs, switched from awesome-typescript-loader to ts-loader & forked ts checker

* Webpack 4

* webpack: force angular version 1.6 as 1.7 has removed a legacy feature toggle Grafana needs, switched from awesome-typescript-loader to ts-loader & forked ts checker

* upgrade ts loader

* simplified splitChunks

* upgrade circle node image to v8

* webpack: minor changes, using the new mode option, removed unused awesome-typescript loader, investigating karma issue but no solution yet

* fix: change angular mocks version restriction to be more strict

* add babel-loader for HMR support, fix karma debug runner

* babel-loader to yarn.lock

* webpack: changed from ExtractTextPlugin  to MiniCssExtractPlugin, and updated the minification step to use new webpack4 optimization config section

* webpack: remove css minifcation from general css processing as it's done in the webpack optimization step

* limit vendors chunk to .ts and .js files

* fix: removed typescript compile error, wanted to see if we still got test failure for that

* tech: upgrade uglify-js, should be faster now
2018-06-26 01:28:37 -07:00
bergquist
484d9e3f9d triggers grafana-docker master build 2018-06-08 12:44:01 +02:00
Tom Wilkie
c47f40d99c Use cut to trim down the SHA1.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2018-06-06 12:07:47 +01:00
Tom Wilkie
681326140d Version the tarball uploaded to s3 and tell the next step about it.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2018-06-05 20:02:51 +01:00
Leonard Gram
b379b28337 build: only runs db related tests on db. 2018-05-30 16:27:47 +02:00
Leonard Gram
e33b17fac6 build: integration testing postegres on ci. 2018-05-30 16:27:47 +02:00
Leonard Gram
50d1519a91 build: mysql integration testing on ci. 2018-05-30 16:27:47 +02:00
Leonard Gram
bea4741a12 build: always build for all platforms. 2018-05-23 16:03:21 +02:00
Leonard Gram
1b85b2fca7 build: removes deploy from nightly while testing it. 2018-05-22 09:07:52 +02:00
Leonard Gram
5f98982a09 build: clean up the workflow filters. 2018-05-21 15:57:57 +02:00
Leonard Gram
7b1e41abc6 build: crosscompilation for nightlies and releases. 2018-05-21 14:06:01 +02:00
Leonard Gram
7ca346e9f0 build: downloads and bundles phantomjs for darwin and windows. 2018-05-18 14:39:25 +02:00
Leonard Gram
803694f41b build: saves artifacts with the build 2018-05-18 14:39:25 +02:00
Leonard Gram
9123e0fca8 build: crossplatform build with packages.
Big thanks to @fg2it who created a POC as
well as the build container that this work
is based on.
2018-05-18 14:38:04 +02:00
bergquist
0cbeb56af1 disable ent build to avoid slowing down build speed 2018-04-27 16:41:07 +02:00
Carl Bergquist
28f7b6dad1 Enable Grafana extensions at build time. (#11752)
* extensions: import and build

* bus: use predefined error

* enterprise: build script for enterprise packages

* poc: auto registering services and dependency injection

(cherry picked from commit b5b1ef875f905473af41e49f8071cb9028edc845)

* poc: backend services registry progress

(cherry picked from commit 97be69725881241bfbf1e7adf0e66801d6b0af3d)

* poc: minor update

(cherry picked from commit 03d7a6888b81403f458b94305792e075568f0794)

* ioc: introduce manuel ioc

* enterprise: adds setting for enterprise

* build: test and build specific ee commit

* cleanup: test testing code

* removes example hello service
2018-04-27 13:41:58 +02:00
Mario Trangoni
0459261d19 add deadcode linter to circleci 2018-04-26 19:24:21 +02:00
Mario Trangoni
2e927a1053 add ineffassign to circleci gometalinter check 2018-04-23 20:07:31 +02:00
Mario Trangoni
fd20aa7c03 fix circleci gometalinter test 2018-04-22 16:22:29 +02:00
bergquist
177220e2fe build: fixes release deploy 2018-04-20 12:59:44 +02:00
bergquist
98bbb01898 build: removes gometalinter
for some reason the linter lints files in /vendor
which it should not. So we have to remove it until
it works as expected

ref #10381
2018-04-20 10:35:29 +02:00
bergquist
7a62231816 build: only lint the pkg folder 2018-04-19 11:29:02 +02:00
Mario Trangoni
3543f1c3d4 add gometalinter to circleci 2018-04-18 22:52:21 +02:00
Mario Trangoni
b0217f5dd3 codespell: exclude by words instead of files 2018-04-17 20:45:46 +02:00
Mario Trangoni
aff336d4e7 add codespell to circleci 2018-04-16 12:21:13 +02:00
Tyler Auerbeck
6f0eb94d46 Cleanup CircleCI V2 Conversion 2018-03-23 02:14:12 -04:00