Commit Graph
111 Commits
Author SHA1 Message Date
Ł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
Łukasz Mierzwa 29d05069f9 chore(test): lower refresh frequency in demo mode 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa 7481a4d8fa chore(greenkeeper): use newer greenkeeper-lockfile 2018-08-07 19:20:34 +01:00
Łukasz Mierzwa 56f0848236 fix(build): ensure that scss->css file is up to date when building 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 7993606f95 feat(test): benchmark memory when running Go tests 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa f3f7863623 chore(build): update default filters for demo mode 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 15a943d564 refactor(travis): use the ui directory for greenkeeper 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 8f733e0694 fix(nodejs): use a recursive wildcard to find all ui source files when building 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa a4a20ea3ef feat(ui): new UI written in React 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa c69f9875ec chore(mock): add mock files for 0.15.0 & 0.15.1 2018-07-19 23:09:10 +02:00
Łukasz Mierzwa 0710395a9e Ensure that go-bindata-assetfs creates the expected fine
There was a recent change in go-bindata-assetfs that causes the default filename to be bindata.go rather than expected bindata_assetfs.go, pass '-o bindata_assetfs' to ensure we always create the expected file
2018-04-17 13:42:03 -07:00
Łukasz Mierzwa 9de77e342d Add mock files for Alertmanager 0.14.0 2018-02-16 09:35:07 +00:00
Łukasz Mierzwa 48ca69fb7c Enable verbose output from go test 2018-02-13 22:52:56 +00:00
Łukasz Mierzwa 58077fa0ec Use new envs in Makefile
FILTER_DEFAULT is a legacy env, FILTERS_DEFAULT should be used
2018-02-01 21:09:36 -08:00
Łukasz Mierzwa 4f5926d54f dep prune is depracated, drop it
dep will now run prune based on the Gopkg.toml settings, add a config for it and drop 'dep prune' from the Makefile
2018-01-31 22:07:30 -08:00
Łukasz Mierzwa 061ffe3e60 Use bakelite to crosscompile binaries 2018-01-28 20:37:05 -08:00
Łukasz Mierzwa 25e796f2ac Add a make target and Travis CI stage for linting docs
Nobody wants borked markdown syntax in docs
2018-01-20 12:54:45 -08:00
Łukasz Mierzwa c7a1c9b865 Add Alertmanager 0.13.0 mock resposes for testing
0.13.0 was released, add it to the list of tested versions
2018-01-12 15:47:38 -08:00
Łukasz Mierzwa 2c53b323aa Add missing depenency for test-js
npm install isn't run when test-js is executed on a fresh clone, so travis fails
2018-01-03 16:03:18 -08:00
Łukasz Mierzwa a3fdaff4ba Add mock files for Alertmanager 0.12.0
Adds 0.12.0 to test coverage
2017-12-22 22:15:38 +01:00
Łukasz Mierzwa 3e6343daa9 Cleanup make targets a bit
Reduce number of targets used internally for building and use less confusing names. Add webpack target that will be needed for node only docker build stage.
2017-12-05 09:23:18 -08:00
Łukasz Mierzwa 336f74e48e Use travis build stages
Split each test target into a dedicated job, add docker build tests
2017-12-04 13:17:19 -08:00