Leonard Gram
7b43b9e272
build: fixes release problems.
2019-01-14 16:23:48 +01:00
Leonard Gram
b1f5a232da
build: build specific enterprise version when releasing.
2019-01-14 13:43:59 +01:00
Leonard Gram
a82f0ed393
build: tags arm as well as amd64 as latest.
2019-01-10 14:41:02 +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
76e9607b25
build: inline docs
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
8f5886e6d4
refactoring
2019-01-09 11:42:55 +01:00
Leonard Gram
bbbeb78c17
build: makes repo update enterprise compatible.
2019-01-09 11:42:55 +01:00
Leonard Gram
a98c75121f
build: adds aptly and createrepo to deploy tools.
2019-01-09 11:42:55 +01:00
Leonard Gram
31066aebb4
build: handles unexpected cases.
2019-01-09 11:42:55 +01:00
Leonard Gram
919617ef96
build: only adds the correct packages to the repo.
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
a26a10cfd1
build: repo update input error.
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
Mario Trangoni
e4771a88dd
Fix other misspell issues
...
See,
$ find . -type f | xargs misspell -locale US | grep -vi -e vendor -e node_modules -e devenv -e unknwon -e destory -e yarn -e adn -e Spindel
2018-11-29 18:15:16 +01:00
Leonard Gram
ce9e1a8f38
build: explaining the linux build.
2018-11-28 09:25:48 +01:00
Leonard Gram
82c98a5ff4
build: packages linked to dl.grafana.com.
2018-11-23 16:51:01 +01:00
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
bergquist
1be476b5f5
tech: switch to golang 1.9.2
2017-10-31 12:36:52 +01:00
bergquist
eeb2e2c6c9
build: install go based on env variable
2017-10-05 11:35:14 +02:00
bergquist
15ece1da04
changes go version to 1.9.1
2017-10-05 11:35:14 +02:00
bergquist
7f6924ff13
change go version to 1.9
2017-09-28 11:22:13 +02:00
Anton Yackushev
c2885430bd
fix "no formatting directive in Fatalf call" (vet) ( #8487 )
2017-05-29 08:12:54 +02:00
Torkel Ödegaard
6828d35480
packaging: build fix
2017-03-23 12:38:42 +01:00
Torkel Ödegaard
7864828e75
packaging: publish nightly builds
2017-03-23 11:10:01 +01:00
bergquist
26bb9ad399
build: use initial checkout within container
...
speedup and simplify the build within the container
2017-03-03 11:07:05 +01:00
bergquist
a32b7dfb9d
build: upgrade to golang 1.8
2017-02-17 09:05:52 +01:00
bergquist
2ad2b96133
build: avoid progress bar update on yarn install
...
this will save us ~100TB of unneeded data in the long term.
2017-02-13 15:26:10 +01:00
bergquist
5bba0c2a94
tech(build): upgrade dist builder to golang1.8rc3
2017-02-07 12:45:06 +01:00
bergquist
457d6c8f81
tech(build): fixes broken build
2017-02-02 17:25:33 +01:00
bergquist
3e62b1b2d7
tech(build): use build number as iteration number
2017-02-02 15:55:37 +01:00
bergquist
63aa436997
tech(build): slimdown the size of the build container
2017-02-02 11:33:34 +01:00
bergquist
513fcdeeb8
tech(build): prepare for tag builds
2017-01-31 11:00:23 +01:00
bergquist
d72f257f27
tech(build): disable package iteration for release builds
2017-01-31 09:40:26 +01:00
bergquist
3c304b9b88
tech(build): disable builds for master
2017-01-30 16:24:50 +01:00
bergquist
cefb4103a7
tech(build): disable build based on tag
2017-01-30 16:03:55 +01:00
bergquist
dd982ac9a2
tech(build): dont include buildnumber when building tags
2017-01-30 15:23:38 +01:00
bergquist
4b6aaec880
tech(build): create sha files after signing packages
2017-01-27 15:54:19 +01:00
bergquist
a634bd0ce8
tech(build): sign and deploy packages to s3
2017-01-27 15:21:16 +01:00
bergquist
feed804a0e
tech(build): updates path to signing file
2017-01-27 15:21:16 +01:00
bergquist
f7993db73c
tech(build): installs yarn in build image
2017-01-24 11:26:03 +01:00
bergquist
66fa12835a
tech(build): replace grafana_branch with circle_branch;
2017-01-24 11:26:03 +01:00
bergquist
6b70fb2729
tech(build): fixes broken yum installer
2017-01-24 11:26:03 +01:00
bergquist
5f0033f3eb
tech(build): path to build relative
2017-01-24 11:26:03 +01:00
bergquist
5be00191ec
tech(build): Dockerfile for building grafana
2017-01-24 11:26:03 +01:00
bergquist
1339ce80f5
tech(build): moves builds script into main repo
2017-01-24 11:26:03 +01:00