Commit Graph

170 Commits

Author SHA1 Message Date
Lukas Siatka
935ec07cfd
DevEnv: updates build-ci-deploy dockerfile and CI config to include yarn (#22809)
* DevEnv: updates build-ci-deploy dockerfile

* DevEnv: updates build-ci-deploy dockerfile version in circleci config
2020-03-16 15:37:44 +01:00
Leonard Gram
20e96a9241
MSI: License for Enterprise (#21794) 2020-01-28 16:18:00 +01:00
Sofia Papagiannaki
2021a2df74
Update musl checksums (#21621) 2020-01-20 19:55:55 +02:00
Leonard Gram
b2c235c46d
Build: enables deployment of enterprise msi (#21607) 2020-01-20 09:26:27 +01:00
Leonard Gram
cc2586d250
CI: MSI for Enterprise (#21569)
* CI: ee msi build

* shellcheck

* Fake it so that we get a ee msi build on pull request runs

* fix error in prep job

* save msi for testing

* get enterprise zip

* Fixes to version and hash detection.

* Removes ci test code
2020-01-20 08:35:45 +01:00
Leonard Gram
72023d90bd
CI: Revert msi build (#21561)
* Revert "CI: adds missing files for ee msi (#21559)"

This reverts commit 6e412d88c9.

* Revert "CI: Enterprise MSI (#21518)"

This reverts commit d910f69b2c.
2020-01-17 12:10:29 +01:00
Leonard Gram
6e412d88c9
CI: adds missing files for ee msi (#21559) 2020-01-17 12:06:08 +01:00
Leonard Gram
d910f69b2c
CI: Enterprise MSI (#21518)
* build: builds msi for enterprise

* build: renamed msi generator directory

* build: build and deploy enterprise msi

* Build: placeholder license file for enterprise

* Build: correct name for ee msi
2020-01-17 11:33:43 +01:00
Leonard Gram
1c71637d11
Build: package all binaries for enterprise (#21381) 2020-01-07 16:00:58 +01:00
Leonard Gram
67d83d1ffc
build: adds IANA timezone info to windows build (#21001) 2019-12-10 16:00:37 +01:00
Vilhelm Prytz
83b402165d Remove un-used imports (#20937) 2019-12-10 11:29:15 +01:00
Arve Knudsen
37051cd844
Build: Verify checksums when downloading PhantomJS (#20558)
* Build: Supply curl -f when downloading phantomjs
* Build: Verify checksums of downloaded PhantomJS zips
2019-11-21 15:19:48 +01:00
Lukas Siatka
0a080beffa
DevEnv: updates nodejs from 10.x to 12.x and golang to 1.13 in ci-deploy dockerfile. (#20405)
* DevEnv: updates nodejs to 12.x and golang to 1.13

* Updates CI-build and CI-deploy image versions

* DevEnv: updates update repo readme

* DevEnv: updates build container version
2019-11-21 15:16:32 +01:00
Leonard Gram
65bacf2df6
CI: fix release script remove filtering (#20552) 2019-11-21 11:32:25 +01:00
Leonard Gram
d630ac4b68
CI: Build all platforms for Enterprise (#20389)
* CI: Build all platforms for Enterprise

* CI: publishes new enterprise builds to grafana.com
2019-11-21 09:41:32 +01:00
Arve Knudsen
4b8249341c
Build: Fix RPM verification (#20460) 2019-11-19 09:22:51 +01:00
Arve Knudsen
90b41e86f2
Fix package signing (#20451)
* Build: Fix package signing
2019-11-18 21:23:32 +01:00
Arve Knudsen
5ecc12505f
Build: Fix signing (#20450)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2019-11-18 18:50:47 +01:00
Arve Knudsen
e7e416cf8a
Build: Upgrade build-container Docker image version (#20443)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2019-11-18 16:12:06 +01:00
Arve Knudsen
4f6b49bc70
Upgrade build-container image (#20438)
* grafana/build-container: Upgrade to Ubuntu 18.04 base image
* grafana/build-container: Upgrade to Go 1.13.4
* grafana/build-container: Upgrade to Node 10.17.0
2019-11-18 15:07:08 +01:00
Dominik Prokop
de9ea829a4
Packages: stable release tags update (#20417)
* Update next npm tag when publishing stable release

* shellcheck fix
2019-11-17 19:51:57 +01:00
Dominik Prokop
4d741ea387
Build: Collect frontend build time metric (#20254) 2019-11-08 12:48:32 +01:00
Shavonn Brown
02a9bfb671 build: Ignore Azure test snapshot for msi build (long file name) (#20217)
assumption is that msi MAX_PATH is effectively 130 (260/2) for the full path of the filename (Dir + filename), and this causes error LGHT0103 : The system cannot find the file in the msi build.
2019-11-06 15:05:50 -05:00
Arve Knudsen
b3c00e4c32
Docker: Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues (#19798)
* build: Install musl cross compilers as part of build Docker image
* build: Build also musl packages in scripts/build/build.sh
* scripts/build/build-all.sh: Build musl Linux targets
* build: Upgrade build-container to 1.2.11
* build.go: De-duplicate code
* build: Base Docker images on musl binaries
2019-10-24 14:34:14 +02:00
Arve Knudsen
d8b6a873d8
Chore: Upgrade Docker images to Go 1.13.1 (#19576)
* Chore: Upgrade Docker image/CI to Go 1.13.1

Fixes #18878

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use golangci-lint master revision
2019-10-08 08:32:18 +02:00
Arve Knudsen
92765a6c6f
ci-build: Improve build-deploy script (#19653)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2019-10-07 14:17:17 +02:00
Marcus Efraimsson
d65a3318ab
Build: Upgrade go to 1.12.10 (#19499)
Fixes #19451
2019-09-30 15:41:25 +02:00
Dominik Prokop
dadc2925a2
Release: Make sure packages are released from clean git state (#19402) 2019-09-26 20:33:14 +02:00
Torkel Ödegaard
680a22b898
Build: fixed signing script issue with circle-ci (#19397) 2019-09-25 11:43:10 +02:00
Marcus Efraimsson
4386604751
Build: Split up task in the CI pipeline to ease running outside circleci (#18861)
* build: make sign rpm packages not depend on checking out private key

* build: move commands from circleci config into verify signed packages script

* build: split update and publish of deb and rpm into two scripts

* use files argument for sign and verify packages

* validate files argument for sign and verify packages

* update test publish of deb/rpm readme
2019-09-23 12:00:18 +02:00
Dominik Prokop
c2dea633e6
Packages: update versioning and release process (#18195) 2019-09-12 08:00:31 +02:00
Shavonn Brown
d38b6f02d0 MSI: new long file names are causing error building MSI (#18646)
* suspect long file names are causing err
2019-08-20 21:18:38 +02:00
Marcus Olsson
299a0e20f4
Build: Upgrade to go 1.12.9 (#18638)
* Build: Upgrade to go 1.12.9

* Build: Use default-mysql-client for debian buster

The go base image has been updated to use Debian Buster instead of
Stretch, which seems to have done away with mysql-client in favor of
default-mysql-client.

* Build: Update Dockerfile to use go 1.12.9

Fixes #18592
2019-08-20 12:29:42 +02:00
Oleg Gaidarenko
89a4f30eab Build: allow bash to expand the wildcard (#18354)
If wildcards are in the quotes they not going to be expanded
2019-08-02 13:22:50 +02:00
Oleg Gaidarenko
f9a6414b92
Build: fix use of env vars in parentheses execs (#18249)
* Build: fix use of env vars in parentheses execs

* Build: disable shellcheck rule SC2086 for a file

Follow up for 4b16cd6cc8
2019-07-24 15:54:48 +03:00
Oleg Gaidarenko
ba46cf40e4
Build: correct verify script (#18236)
Follow-up for 4b16cd6cc8
2019-07-23 16:47:50 +03:00
Oleg Gaidarenko
4b16cd6cc8
Build: Introduce shellcheck (#18081)
* Build: introduce shellcheck

Fixes #16198
2019-07-23 13:12:33 +03:00
Kyle Brandt
073851f9c7 Build: Upgrades to golang 1.12.6 (#17542) 2019-06-13 11:08:48 +02:00
Mario Trangoni
756989c10b Codestyle: Add typecheck and unused linters (#17491)
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2019-06-11 09:16:41 +02:00
Brian Gann
f98095d629 MSI: Generate sha256sum during MSI build process in circleci (#17120)
* build: generate sha256 during msi build
2019-05-21 09:58:07 +02:00
Brian Gann
d0ea98f6bd Build: Support publishing MSI to grafana.com (#17073)
* add test for msi, and support for publishing msi
* update arch and os in test
* Build: Fixed issues with os naming
2019-05-15 10:58:25 +02:00
Brian Gann
31ea0122a0
Add Windows MSI generation to build process (#16502)
- add MSI generation to build process
2019-05-02 10:47:58 -05:00
Brian Gann
157f330cf2
area/circleci: Speed up circleci build process for branches and pr (#16778)
* speed up circleci build
* convert build.sh to functions and add args for different build types
* add yarn cache
* add build latest to packaging step
* fast build should not try to tag non-amd builds
* remove signing step for prs-and-branches
2019-05-01 10:20:01 -05:00
Carl Bergquist
9134251417
build: upgrades to golang 1.12.4 (#16545)
fix govet issue in golang 1.12.4
2019-04-15 09:18:28 +02:00
Carl Bergquist
30dcf0f6c5
Revert "Build: Upgrades to go 1.12.3 (#16491)" (#16544)
This reverts commit 44b365028f.
2019-04-12 11:17:31 +02:00
Carl Bergquist
44b365028f
Build: Upgrades to go 1.12.3 (#16491)
fixes go vet issue that 1.12.3 detects
2019-04-12 09:44:02 +02:00
Leonard Gram
6baba64935
build: Fixed incorrect permissions for repo folders in ci-deploy. (#16360) 2019-04-03 15:24:34 +02:00
Torkel Ödegaard
dc4bc426f5 Build: Moved the failing appveyor file so we can get green builds in master 2019-03-30 06:41:27 +01:00
Leonard Gram
8dfa1f4c12 build: fixes publishing version. 2019-03-25 15:01:45 +01:00
Leonard Gram
768c7b6f4a build: updated build container with support for rpi1. 2019-03-25 09:48:45 +01:00