Commit Graph
132 Commits
Author SHA1 Message Date
Ł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
Łukasz Mierzwa b16686b832 feat(demo): add a live demo setup for heroku 2018-09-12 19:30:41 +01:00
Łukasz Mierzwa c130a3cd05 chore(ci): drop greenkeeper-lockfile
No longer needed - https://blog.greenkeeper.io/announcing-native-lockfile-support-85381a37a0d0
2018-09-10 19:20:36 +01:00
Łukasz Mierzwa 9c16ffa447 chore(project): rename from unsee to karma
Fixes prymitive/unsee#23
2018-09-09 14:12:26 +01:00
Łukasz Mierzwa c6b3bb5000 chore(demo): add extra config to show hidden annotations in demo mode 2018-09-01 21:19:48 +01:00
Łukasz Mierzwa 53cb95b197 fix(tests): drop --onlyChanged
Using --onlyChanged means that coverage will only include a subset of tests, so it won't be accurate
2018-08-22 15:24:49 +01:00
Łukasz Mierzwa 3fcbee1067 fix(test): less noisy test-js-watch
Don't print coverage to console and only test changed files
2018-08-21 18:36:32 +01:00
Łukasz Mierzwa 5bd8addba0 feat(test): send test coverage report to codecov.io 2018-08-20 21:34:54 +01:00
Łukasz Mierzwa 815a22ab89 feat(test): add a make target for running continues ui tests
This is to work around issue with passing --watch to jest
2018-08-20 13:10:36 +01:00
Łukasz Mierzwa bf4477eadc feat(build): add a build target for deploying to heroku 2018-08-17 22:27:58 +01:00
Łukasz Mierzwa 91fb75de01 chore(backend): use 0.15.2 mock files for demo 2018-08-14 18:39:12 +01:00
Łukasz Mierzwa 05c3cf3a72 feat(test): use a metalinter to find more Go code issues on CI 2018-08-10 23:54:02 +01:00