Commit Graph

228 Commits

Author SHA1 Message Date
Marcus Efraimsson e421c387ea update release publish script links 2018-11-20 16:23:24 +01:00
Leonard Gram 1a554e2421 linters. 2018-11-20 09:01:52 +01:00
Leonard Gram 7e2298ce31 build: correct filters for ge build artifacts. 2018-11-20 09:01:52 +01:00
Leonard Gram 84832cb6cb build: releaser supports releasing only some artifacts. 2018-11-20 09:01:52 +01:00
Leonard Gram b041ad4134 linter. 2018-11-19 14:32:39 +01:00
Leonard Gram ac55aeff95 build: minor refactor. 2018-11-19 14:12:04 +01:00
Leonard Gram 8f0d3ff7ea build: fixes a bug where nightly rpm builds would be handled as stable. 2018-11-19 14:06:18 +01:00
Leonard Gram 2d361eeabf builds: introduces enum for relase type. 2018-11-19 13:26:35 +01:00
Leonard Gram e2007733f4 build: table-driven tests for publisher. 2018-11-19 11:20:44 +01:00
Leonard Gram ac8731b9fb build: enabled darwin build. 2018-11-16 14:50:27 +01:00
Mario Trangoni 8c04926326 Fix gofmt issues
See,
$ gometalinter --disable-all --enable=gofmt --deadline 10m --vendor ./...
build.go:1:⚠️ file is not gofmted with -s (gofmt)
scripts/build/release_publisher/externalrelease.go:1:⚠️ file is not gofmted with -s (gofmt)
scripts/build/release_publisher/localrelease.go:1:⚠️ file is not gofmted with -s (gofmt)
scripts/build/release_publisher/main.go:1:⚠️ file is not gofmted with -s (gofmt)
scripts/build/release_publisher/publisher_test.go:1:⚠️ file is not gofmted with -s (gofmt)
2018-11-12 10:47:27 +01:00
Mario Trangoni 960651e510 scripts/build/release_publisher/publisher_test.go: Fix trivial megacheck warning.
See,
$ gometalinter --vendor --deadline 6m --disable-all --enable=megacheck ./...
scripts/build/release_publisher/publisher_test.go:14:2⚠️ should merge variable declaration with assignment on next line (S1021) (megacheck)
2018-11-09 19:36:14 +01:00
Leonard Gram d88693fd6d build: removes unused. 2018-11-07 17:03:24 +01:00
Leonard Gram 34f531e113 build: fixes 2018-11-06 09:52:53 +01:00
Leonard Gram c9a4da4270 build: publisher handles nightly builds. 2018-11-06 09:41:31 +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 d728a3c521 build: publisher uses local time.
Previously the local day was used but the timestamp
was set to midnight.
2018-11-05 15:06:52 +01:00
Leonard Gram 5da9760aeb build: publisher supports both local and remote. 2018-11-05 15:06:52 +01:00
Leonard Gram d9eaec99e2 build: publisher can find artifacts from local sources. 2018-11-05 15:06:52 +01:00
Leonard Gram c5c3e08442 build: refactor releaser. 2018-11-05 15:06:51 +01:00
Leonard Gram e2d3382470 build: prepares release tool for finding local releases. 2018-11-05 15:06:51 +01:00
Leonard Gram 7e093a32a2 build: improved release publisher dry-run. 2018-11-05 15:06:51 +01:00
Leonard Gram a1dca2117d build: use build workflow id instead of build number. (#13965)
* build: use build workflow id instead of build number.

The workflow id is unique across the whole workflow
while the build number is unique to every job in the
workflow. This change means that jobs that build
artifacts for the same commit but in different jobs
will now have the same id.

* build: fixes pkgver generation.
2018-11-05 15:05:12 +01:00
Leonard Gram 3d452e5a46 build: deployment ci container. (#13902) 2018-10-30 15:56:52 +01:00
Leonard Gram 30cb28df55 build: correctly adds enterprise to the filename. (#13831) 2018-10-25 16:55:27 +02:00
Torkel Ödegaard d505d83ee1 Merge pull request #13679 from mjtrangoni/fix-megacheck-issues
Fix megacheck issues
2018-10-25 16:31:53 +02:00
Leonard Gram 6c473d33f4 Enterprise crosscompilation (#13783)
* build: crosscompilation and release of enterprise.
2018-10-22 14:33:19 +02:00
Mario Trangoni 9108966fcb scripts/build/publish.go: Fix warning on err variable.
See,
$ gometalinter --vendor --deadline 10m --disable-all --enable=megacheck ./...
scripts/build/publish.go:126:48⚠️ argument err is overwritten before first use (SA4009) (megacheck)
2018-10-19 19:49:04 +02:00
bergquist 96a0c9c56d build: fix for invalid pathing for release publisher 2018-10-03 16:47:37 +02:00
bergquist add6cee742 build: automatically publish releases to grafana.com. 2018-10-03 11:17:46 +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 aefcb06ff8 build: verifies the rpm packages signatures.
Closes #12370
2018-08-14 13:45:20 +02:00
Leonard Gram bfe41d3cf1 build: new workflow for PR:s and branches. 2018-08-02 19:24:05 +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 e617e23927 build: fix signing of multiple rpm packages 2018-06-21 10:27:59 +02:00
Leonard Gram f80810081b build: updates publisher to support arm archs for deb and rpm. 2018-05-24 11:12:10 +02:00
fg2it 22638db532 fix names of foreign arch packages 2018-05-23 23:53:59 +02:00
Leonard Gram 1b85b2fca7 build: removes deploy from nightly while testing it. 2018-05-22 09:07:52 +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 3933cb6bf6 build: publisher updated to support more architectures and OSs. 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
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
Leonard Gram 3a48ea8dde Fixes signing of packages.
Signing was failing as the builds
were expected to run as ubuntu but
is run as root.

Closes #11686
2018-04-23 17:05:32 +02:00
Mario Trangoni 3424fa94c2 scripts: fix codespell issues 2018-04-13 20:31:29 +02:00
Leonard Gram 49de4ed28b build: upgrades build pipeline from CircleCI 1.0 -> 2.0 (#11162)
build: upgrades build pipeline from CircleCI 1.0 -> 2.0
2018-03-09 11:27:00 +01:00
bergquist 8ed12aa298 upgrade to go 1.10 2018-03-07 16:40:24 +01:00
bergquist 33beacff0a tech: upgrade to golang 1.9.3 2018-01-26 14:34:47 +01:00