Oleg Gaidarenko
04b3afcd15
Chore: Implement revive ( #16200 )
...
Since we do not like some of the default golint rules,
this commit proposes to use https://github.com/mgechev/revive .
And potential revive speed-up should't hurt :).
Right now, presented config (./conf/revive.toml) is permissive,
we might improve it over time however. Fixes for found revive
issues in the code are very limited so it wouldn't be large to review.
Also in this commit:
* Add annotations for makefile commands and declare phony targets
* Rename "gometalinter" script and CI command to "lint"
since we are doing there a bit more then using gometalinter package
* Add Makefile rules to .editorconfig
* Documentation which mentioned "golint" replaced with revive
Fixes #16109
Ref #16160
2019-03-27 17:53:49 +01:00
Leonard Gram
8dfa1f4c12
build: fixes publishing version.
2019-03-25 15:01:45 +01:00
Leonard Gram
cf7a5b552b
build: makes sure grafana.version is available when deploying.
2019-03-25 11:40:56 +01:00
Leonard Gram
f0c6a480cd
build: refactoring
2019-03-25 09:48:45 +01:00
Leonard Gram
768c7b6f4a
build: updated build container with support for rpi1.
2019-03-25 09:48:45 +01:00
Leonard Gram
ff977331f4
build: support for publishing armv6.
2019-03-25 09:48:45 +01:00
Leonard Gram
6e802dc94d
build: builds armv6 with rpi1 compat gcc.
2019-03-25 09:48:45 +01:00
Leonard Gram
4152e5c16c
build: updated deploy container with crcmod.
2019-03-19 10:57:17 +01:00
bergquist
66e71b66dd
renames key to cache_key
...
apparently key is a reserved keyword in mysql.
and the error messages doesnt mention that.
can I please have 6h back?
2019-03-11 10:49:55 +01:00
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