Ł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
d9b80930ff
Merge pull request #201 from cloudflare/3-stage-build
...
3 stage build
2017-12-05 09:47:58 -08:00
Łukasz Mierzwa
e11dde89c5
Disable default install targets for Travis, this adds 2x ~17s since travis runs npm install and then we run it too
2017-12-05 09:23:18 -08:00
Łukasz Mierzwa
ffa0caf6eb
Split build into NodeJS and Go parts
...
Go docker image uses old nodejs, split build into 2 stages so we can have better control over used nodejs and Go images
2017-12-05 09:23:18 -08: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
c6ee74ab91
Merge pull request #200 from cloudflare/sanitize-sentry-secrets
...
Hide sentry secrets in startup logs
2017-12-05 07:43:22 -08:00
Łukasz Mierzwa
1789e43631
Hide sentry secrets in startup logs
...
No need to leak sentry secrets in the internal DSN
2017-12-04 16:10:19 -08:00
Łukasz Mierzwa
af7db67791
Merge pull request #199 from cloudflare/travis-build-stages
...
Travis build stages
2017-12-04 14:08:39 -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
Łukasz Mierzwa
52f0f42aa5
Split test and lint make targets, add a target for generating fake binary assets
2017-12-04 13:17:19 -08:00
Łukasz Mierzwa
527dbd48b0
Merge pull request #197 from cloudflare/viper
...
Rewrite flags & env handling, add a config file
2017-12-04 08:22:46 -08:00
Łukasz Mierzwa
188b02695c
Fix wrong defaults in config docs
2017-12-03 11:55:59 -08:00
Łukasz Mierzwa
4b8a93426f
Add docs on passing config file path to unsee
2017-12-03 11:50:15 -08:00
Łukasz Mierzwa
99507cf023
Allow --config.* flags to be also passed via env variables
2017-12-03 11:46:14 -08:00
Łukasz Mierzwa
76b4012db7
Cleanup Go dep files and update deps
2017-12-03 11:38:22 -08:00
Łukasz Mierzwa
7fa4230a1d
More config test coverage for both legacy and current paths
2017-12-03 11:34:12 -08:00
Łukasz Mierzwa
e23b00c080
Fix listen address and port passing
...
Only HOST & PORT env variables used by gin internally were really used, pass resulting config to gin so we match documentation, and log it on startup
2017-12-03 10:26:41 -08:00
Łukasz Mierzwa
65a27b39df
Move label coloring config options from 'color' to 'labels' section
2017-12-03 10:09:17 -08:00
Łukasz Mierzwa
a1eab56649
Migrate all old env usages to the new naming scheme
2017-12-02 21:55:43 -08:00
Łukasz Mierzwa
860375650e
Add --receivers.keep for consistency with other options
...
there's --labels.keep so same should apply to receivers, add new option, tests and fixes as it wasn't working properly
2017-12-02 21:51:31 -08:00
Łukasz Mierzwa
5f904ec99d
Move configuration related docs to a dedicated file and rewrite those to match new config file.
2017-12-02 21:10:16 -08:00
Łukasz Mierzwa
a2fe18e71c
Drop envconfig from deps, it's no longer used
2017-11-27 20:34:36 -08:00
Łukasz Mierzwa
cac205b5db
Add an example config file
2017-11-27 20:34:36 -08:00
Łukasz Mierzwa
6273a5a585
Rewrite flag & env handling to use viper
...
This adds support for reading configuration from file, env support is still there and legacy env variables will still work, but flags are now following config schema, so they don't match old flags.
Having a config file allows to express more complex configuration options, which is needed for some feature requests.
2017-11-27 20:34:36 -08:00
Łukasz Mierzwa
b52ab532e6
Fix relative path handling for file:// links
2017-11-26 10:45:39 -08:00
Łukasz Mierzwa
b796e0cde2
Merge pull request #196 from loverend/add_REMOVE_RECEIVERS
...
Add REMOVE_RECEIVERS option
2017-11-24 14:28:38 -08:00
Luke Overend
f8c327c2d7
Add REMOVE_RECEIVERS option
...
This option allows for all alerts for a specified receiver, or list of
receivers, to be removed from unsee.
My use case for this is using a receiver for auto-remediation which will
contain information that the user will never need to see in the UI.
2017-11-24 07:51:07 +00:00
Łukasz Mierzwa
f165172560
Merge pull request #189 from cloudflare/npm-updates
...
Update npm deps
2017-11-20 15:25:35 -08:00
Łukasz Mierzwa
6918b781a4
Use Go 1.9.2 for docker image builds
2017-11-20 15:19:38 -08:00
Łukasz Mierzwa
5fb69c19a2
Update npm packages
2017-11-20 15:19:38 -08:00
Łukasz Mierzwa
b1c320276f
Merge pull request #195 from cloudflare/0.11.0-missing-files
...
Add missing mock files for alertmanager 0.11.0
2017-11-19 11:03:55 -08:00
Łukasz Mierzwa
24898eb579
Add missing mock files for alertmanager 0.11.0
...
5602181b0a is missing mock files
2017-11-19 09:28:35 -08:00
Łukasz Mierzwa
6b1fc7b8a6
Merge pull request #194 from cloudflare/am-0.11
...
Add alertmanager 0.11.0 test files
2017-11-18 10:50:19 -08:00
Łukasz Mierzwa
5602181b0a
Add alertmanager 0.11.0 test files
2017-11-17 21:54:22 -08:00
Łukasz Mierzwa
3d3c32439e
Merge pull request #193 from giganteous/patch-1
...
Correct the link to "mock/Makefile"
2017-11-16 12:22:01 -08:00
Kai S
179d394e61
Correct the link to "mock/Makefile"
2017-11-16 20:35:22 +01:00
Łukasz Mierzwa
9482b3b547
Merge pull request #191 from cloudflare/am-0.10
...
Alertmanager 0.10.0 mock files
2017-11-10 09:03:50 -08:00
Łukasz Mierzwa
775d836f9f
Use alertmanager mock files in 'make run'
2017-11-09 21:54:06 -08:00
Łukasz Mierzwa
f2db8f753a
Add Alertmanager 0.10.0 test files
2017-11-09 21:53:31 -08:00
Łukasz Mierzwa
d16a939557
Merge pull request #188 from cloudflare/babel-preset-env
...
Migrate from babel-preset-es2015 to babel-preset-env
2017-10-31 14:01:07 -07:00
Łukasz Mierzwa
6251e813e9
Migrate from babel-preset-es2015 to babel-preset-env
...
babel-preset-env is the new recommended module to transform JS code, see babeljs.io/env for details
2017-10-29 17:51:08 -07:00
Łukasz Mierzwa
7ce5d51c7d
Merge pull request #187 from cloudflare/go1.9.1
...
Use Go 1.9.1 for docker builds
2017-10-16 18:38:26 +01:00
Łukasz Mierzwa
b91f14f239
Use Go 1.9.1 for docker builds
2017-10-14 22:43:06 -07:00
Łukasz Mierzwa
4f73a89ffe
Merge pull request #186 from cloudflare/am-0.9.1
...
Alertmanager 0.9.1
2017-10-02 10:43:05 -07:00
Łukasz Mierzwa
030020cf82
Use Alertmanager 0.9.1 test data for 'make run'
2017-10-02 09:03:29 -07:00
Łukasz Mierzwa
f19395cec0
Add tests for Alertmanager 0.9.1
2017-10-02 09:03:29 -07:00
Łukasz Mierzwa
aa82ff7903
Merge pull request #185 from cloudflare/am-0.9.0
...
Add tests for Alertmanager 0.9.0
2017-09-30 14:08:21 -07:00
Łukasz Mierzwa
853d7d0b1c
Use Alertmanager 0.9.0 test data for 'make run'
2017-09-28 19:13:26 -07:00
Łukasz Mierzwa
a36dbb707e
Add tests for Alertmanager 0.9.0
...
No code changes needed to support 0.9.0, so only adding tests
2017-09-28 19:11:33 -07:00
Łukasz Mierzwa
6670ea98b4
Merge pull request #181 from cloudflare/history-menu-width
...
Trim very long history menu items
v0.8.0
2017-09-07 15:26:21 -04:00