Commit Graph

143 Commits

Author SHA1 Message Date
Łukasz Mierzwa
c4bc183897 fix(build): clean extra dirs 2021-06-03 11:55:50 +01:00
Łukasz Mierzwa
6f162d1a5a chore(backend): use Go 1.16 embed for static files 2021-03-08 21:21:42 +00:00
Łukasz Mierzwa
477ed0bb73 fix(ci): remove dead make target 2020-11-23 09:10:14 +00:00
Łukasz Mierzwa
76a218111d fix(ci): remove old make targets 2020-11-22 14:22:36 +00:00
Łukasz Mierzwa
6d5b6b1b7a fix(ci): fix Makefile targets 2020-05-30 18:12:54 +01:00
Łukasz Mierzwa
f017354915 fix(project): refactor and cleanup Makefile 2020-04-07 16:47:29 +01:00
Łukasz Mierzwa
a8bd012fec fix(tests): use gocovmerge fork
This one contains fixes for some issues like out of bound panics.
2020-04-06 14:36:29 +01:00
Łukasz Mierzwa
4a5add08ab fix(tests): test main() function 2020-04-05 20:41:39 +01:00
Łukasz Mierzwa
2e330afad6 fix(build): speed up docker rebuilds
No need to reinstall go build deps on every compile
2020-03-31 09:16:55 +01:00
Łukasz Mierzwa
0dc287f817 fix(ci): nuke node_modules on failed build
Move node_modules wipe to run on build failure and only in CI
2020-03-26 19:52:21 +00:00
Łukasz Mierzwa
8eb905f2a4 fix(ci): nuke node_modules on failed install
Travis cache gets corrupted from time to time, try to work around that by nuking node_modules when npm install fails
2020-03-26 18:44:11 +00:00
Łukasz Mierzwa
0dfdeda139 fix(ci): rewrite CI golang version 1.14 => 1.14.0 2020-02-26 09:34:39 +00:00
Łukasz Mierzwa
908c2b96d5 fix(project): drop support for Alertmanager v1 API 2020-02-12 16:09:55 +00:00
Łukasz Mierzwa
fc58cb65e4 fix(tests): move test bindata to a dedicated directory
This ensures that test binary assets are not gonna get served over HTTP.
2020-02-11 10:19:03 +00:00
Łukasz Mierzwa
8c64eea1f8 fix(tests): try to get code coverage from all packages 2020-02-06 12:31:32 +00:00
Łukasz Mierzwa
09c0f7d5ab fix(tests): run go test in silent mode 2020-01-31 16:59:26 +00:00
Łukasz Mierzwa
e52355ff7d feat(ci): ensure golang/nodejs versions are consistent 2020-01-10 18:44:17 +00:00
Łukasz Mierzwa
26572d0a25 chore(tests): verbose output from golangci 2020-01-08 18:30:27 +00:00
Łukasz Mierzwa
cf99f2c674 revert(ci): revert verify used js licenses in CI
This reverts commit b0e74b907f.

Too many failure in CI when talking to the npm registry.
2019-12-03 21:02:21 +00:00
Łukasz Mierzwa
b0e74b907f feat(ci): verify used js licenses in CI 2019-12-03 20:19:51 +00:00
Łukasz Mierzwa
953a006125 feat(ui): add typescript support 2019-10-23 10:07:43 +01:00
Łukasz Mierzwa
acaae50c4e feat(ci): rebuild openapi client code in CI and check for differences
This ensures that we fail CI if the openapi client code that's commited to git is different than what the current code would generate
2019-10-18 15:41:15 +01:00
Łukasz Mierzwa
20adc69bbb chore(tests): move benchmarks to a dedicated make target 2019-10-15 15:37:13 +01:00
Łukasz Mierzwa
b76e90d289 fix(build): fix source path in the Makefile 2019-10-15 11:59:52 +01:00
Łukasz Mierzwa
e1dad3b78e fix(build): speed up docker builds
Copy only what's needed rather then entire repo, needs more steps but allows for faster builds
2019-09-26 22:02:41 +01:00
Łukasz Mierzwa
7cfa048a1b feat(ci): add percy tests to Travis CI 2019-09-09 23:58:01 +01:00
Łukasz Mierzwa
73f69d0224 feat(ci): ensure binaries are present when cross compiling 2019-08-31 14:40:27 +01:00
Łukasz Mierzwa
108383cf73 chore(backend): move main go code to the cmd folder
Make the root folder less messy by moving all karma command code to the cmd folder
2019-08-31 13:49:14 +01:00
Łukasz Mierzwa
74775ac98f fix(ci): build all possible platforms 2019-08-28 14:32:04 +01:00
Łukasz Mierzwa
f51b9c40c1 fix(project): add missing dependencies to format targets 2019-08-17 15:16:42 +01:00
Łukasz Mierzwa
1a9fc00530 feat(project): add a make target for reformatting backend code 2019-08-17 14:52:06 +01:00
Łukasz Mierzwa
b1484f201e feat(project): add a make target for reformatting ui code 2019-08-17 12:21:18 +01:00
Łukasz Mierzwa
7d22169377 chore(ui): migrate from yarn to npm
nodejs 10.16.0 includes npm 6.9.0 which fixes previous issues with npm in LTS nodejs (lock diff on different platforms) so we can move back to using npm instead of yarn. The main problem with yarn is that it's harder to manage the version used in different places (CI, docker, local dev) while npm is bundled with nodejs so doesn't suffer from the same problem
2019-05-29 19:42:14 +01:00
Łukasz Mierzwa
2fea920e57 feat(api): expose silenceform:strip:labels settings in the API 2019-04-29 20:17:40 +01:00
Łukasz Mierzwa
f27849aed2 fix(build): trigger build on any file change in the internal folder 2019-04-24 20:56:00 +01:00
Łukasz Mierzwa
ac8f042951 chore(docker): cleanup docker images on shutdown 2019-03-21 10:44:47 +00:00
Łukasz Mierzwa
d3ff3a4806 feat(build): use Go modules to install all cli tools
Using Go modules allows to pin versions in go.mod, so dependency management tools can track those.
Right now make targets will install latest version and travis.yml downloads binaries from github, moving to modules simplifies all of this.
tools.go is needed so that go build doesn't strip those dependencies from go.mod
2019-01-16 11:33:03 +00:00
Łukasz Mierzwa
99fe6afe5d chore(build): store file metadata when generating binary assets
This was disabled because bindata_assetfs.go file was stored in git, not it's not so we can re-enable it and get accurate Last-Modified headers in HTTP responses
2018-12-27 15:58:22 +01:00
Łukasz Mierzwa
ef7cb26788 fix(build): rebuild binary on go.mod changes 2018-12-23 11:19:44 +00:00
Łukasz Mierzwa
3840abaa8c chore(project): migrate from dep to Go modules 2018-12-21 22:18:16 +00:00
Łukasz Mierzwa
d0c80ebad0 chore(deps): install go-bindata from new repo
Old repo is archived
2018-12-14 18:14:53 +00:00
Łukasz Mierzwa
0a77bbae1b feat(demo): add a run-demo make target
This allows to run demo locally with a single command
2018-11-30 18:35:33 +00:00
Łukasz Mierzwa
4847d7ea54 chore(tests): use alertmanager 0.15.3 for 'make run' 2018-11-10 12:23:16 +00:00
Łukasz Mierzwa
8089461fff chore(ui): upgrade to react-scripts 2.0 2018-10-03 09:34:32 +01:00
Łukasz Mierzwa
d1a101a416 chore(ui): migrate from npm to yarn
Everyone seems to support it, doesn't have same lock file generation issues, let's try it
2018-10-02 23:02:50 +01:00
Łukasz Mierzwa
bb3cf2e3c1 chore(tests): drop onchanges, not used frequently, not needed 2018-09-30 10:00:13 +01:00
Łukasz Mierzwa
ae42ebeb24 fix(tests): golangci-lint depends on populated vendor folder 2018-09-28 20:14:16 +01:00
Łukasz Mierzwa
70af161895 fix(build): cleanup Go vendor dir and coverage 2018-09-28 20:12:31 +01:00
Łukasz Mierzwa
b279a8a4e5 feat(ci): lint commit messages on Travis 2018-09-26 21:41:19 +01:00
Łukasz Mierzwa
1aa22102be feat(sentry): bundle raw UI source files for sentry
This will add raw files from ui/src into the binary and allow fetching those. That way sentry.io can fetch those via source maps references and show more readable exceptions
2018-09-20 18:43:03 +01:00