Commit Graph

5599 Commits

Author SHA1 Message Date
Daniel Holbach
f27fdcda1a update a number of js libs 2019-11-12 10:58:55 +01:00
Bryan Boreham
1b78a035b7 Merge pull request #3719 from weaveworks/update-lodash
Consolidate all lodash versions to 4.17.15
2019-10-24 12:49:51 +01:00
Bryan Boreham
b3485dd294 Consolidate all lodash versions to 4.17.15 2019-10-22 14:24:10 +00:00
Bryan Boreham
4bb2a435ae Merge pull request #3712 from weaveworks/3711-restart-sync
fix(probe/ebpf): feed initial connections synchronously on restart
2019-10-22 12:09:49 +01:00
Filip Barl
bb0a263db8 Merge pull request #3717 from chandankumar4/custom-plugin
(fix): Mount plugin volume to weave-scope-cluster-agent resource
2019-10-22 12:17:47 +02:00
Bryan Boreham
abefd967e6 Merge pull request #3716 from weaveworks/dont-save-shortcut-reports
performance(aws_collector): don't persist shortcut reports
2019-10-21 12:31:44 +01:00
chandan kumar
67c2dd581b Mount plugin volume to weave-scope-cluster-agent resource 2019-10-19 01:01:06 +05:30
Bryan Boreham
d516ed9883 performance(aws_collector): don't persist shortcut reports
Shortcut reports are sent to update the UI quickly, on events like a
container starting. We don't need to persist them in the time-travel
data since the same information will be covered by a regular report a
few seconds later.
2019-10-17 18:02:36 +00:00
Bryan Boreham
4a02171e83 Merge pull request #3713 from weaveworks/dns-nodes
Fix accidental rename of DNS to 'nodes'
2019-10-17 12:07:02 +01:00
Bryan Boreham
b9c71f30d6 Update comments based on review feedback 2019-10-17 10:38:58 +00:00
Bryan Boreham
6ccbd2d0cf Fix accidental rename of DNS to 'nodes'
In commit 951629af29 the `DNS` field was accidentally renamed in
serialised data to `nodes`.  Put it back, and also add a field to fix
up data coming from a probe with that fault.
2019-10-14 15:08:39 +00:00
Filip Barl
83f9d4ec8d Merge pull request #3635 from imazik/ui-build-fix
[fix] [make] update ui build to avoid yarn build fail after make.
2019-10-14 14:52:43 +02:00
Shovan Maity
95b231727e update build to run as current user
pass user and group id in docker run command to run it as current user

Signed-off-by: Shovan Maity <shovan.cse91@gmail.com>
2019-10-14 17:01:59 +05:30
Bryan Boreham
b9f10e9b73 refactor(probe/ebpf): make ebpf setup safer
It was possible for `t.ebpfTracker` to change underneath this code
while running on a background goroutine, so change it to take
`ebpfTracker` as a parameter.

While we're here, rename the functions to better match what they do.
2019-10-14 11:25:04 +00:00
Bryan Boreham
ae83c6545e fix(probe/ebpf): feed initial connections synchronously on restart
If we run `getInitialState()` async there is some chance we will see
another ebpf failure and call `useProcfs()` before `getInitialState()`
gets to the last line, whereupon it will crash on nil pointer.

Also it seems pointless to call `performEbpfTrack()` without waiting
for something to feed in, so I suspect this is what the original
author had in mind.

It will slow down this one `Report()` on machines with a lot of
processes or connections, but ebpfTracker restart is supposed to be a
rare event.
2019-10-14 08:22:25 +00:00
Filip Barl
86d83c658d Merge pull request #3708 from openebs/fix/docker-login-issue
Remove -e flag from docker login
2019-10-11 11:02:12 +02:00
Akash Srivastava
d97a091450 Remove -e flag from docker login
- Builds are failing because CI is not able to login to docker
because -e (email) flag is deprecated.

Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
2019-10-11 00:51:37 +05:30
Filip Barl
cb446ab3e4 Merge pull request #3706 from bensooraj/k8s_example_fix
Fix for ImagePullBackOff error when running the k8s example
2019-10-10 20:46:44 +02:00
Ben Sooraj
23270fecc3 k8s example: updated elasticsearch's image tag from the default 'latest' to '7.4.0'
To fix the ImagePullBackOff error

Fixes #3401
2019-10-10 21:53:37 +05:30
Bryan Boreham
e9e05b2ba4 Merge pull request #3698 from weaveworks/update-backend-build
build: update CI to use Go 1.13
2019-10-10 12:32:07 +01:00
Bryan Boreham
43f6b96ee5 Merge pull request #3702 from weaveworks/report-api-details-error
fix: report http error if /api call fails
2019-10-10 12:31:38 +01:00
Filip Barl
916f121e78 Merge pull request #3705 from weaveworks/3434-fix-favicon-in-dev-mode
Fix favicon.ico in UI dev mode
2019-10-08 12:25:58 +02:00
Filip Barl
e7513fd10e Merge pull request #3704 from weaveworks/3811-import-fonts-only-in-standalone
Import fonts only in Scope standalone
2019-10-08 12:05:05 +02:00
Filip Barl
b5d7beaa97 Fix favicon.ico in UI dev mode 2019-10-08 12:00:58 +02:00
Filip Barl
39e48356b0 Import fonts only in Scope standalone 2019-10-08 11:24:11 +02:00
Akash Srivastava
4bafaa1f29 Merge pull request #3703 from weaveworks/allow-disable-plugins
feature: allow user to disable plugins via command-line flag
2019-10-08 13:52:24 +05:30
Filip Barl
f09f9af4b9 Merge pull request #3701 from oleggator/json-stable-stringify
scripts: replace JSON.stringify with json-stable-stringify
2019-10-07 17:12:57 +02:00
Filip Barl
1575d5b2f9 Merge pull request #3700 from weaveworks/3577-get-rid-of-sass-files
Get rid of SASS files
2019-10-07 12:13:49 +02:00
Bryan Boreham
63d6a72727 feature: allow user to disable plugins via command-line flag 2019-10-06 17:35:26 +00:00
Bryan Boreham
b24917993e fix: report http error if /api call fails
Previously it would try to run the JSON decoder on a string like "404
not found" and report that failing.
2019-10-06 17:27:49 +00:00
Oleg Utkin
ae112d05f3 script: replace JSON.stringify with json-stable-stringify
resolves issue #3133
2019-10-06 00:34:43 +03:00
Filip Barl
3036379c83 Don't try copying across app/styles 2019-10-04 16:12:30 +02:00
Filip Barl
b853244139 Fixed terminal styles 2019-10-04 16:09:51 +02:00
Filip Barl
2b41016596 Got rid of sass + sass-lint dependencies 2019-10-04 16:01:08 +02:00
Filip Barl
fd34eadf02 Removed all SASS files 2019-10-04 15:46:58 +02:00
Bryan Boreham
bd9f88b985 Merge pull request #3696 from weaveworks/ebpf-non-strings
handle IP addresses in binary rather than strings
2019-10-04 14:45:15 +01:00
Filip Barl
4cac153de5 Contained global styles and made themes scope static 2019-10-04 15:36:07 +02:00
Filip Barl
99f502a2b6 Fixed some styling inconsistencies 2019-10-04 15:16:28 +02:00
Bryan Boreham
23d8a418e1 performance: network namespace ID is a 32-bit quantity
This shrinks some data-structures slightly.

Citation: https://github.com/torvalds/linux/blob/6f0d349d922b/include/linux/ns_common.h#L10
2019-10-04 13:11:30 +00:00
Bryan Boreham
c6ce47f87d diagnostics: make fourTuple.String() human-readable 2019-10-04 13:09:50 +00:00
Filip Barl
577282d68b Replaced all sass variables with styled theme ones 2019-10-04 14:38:52 +02:00
Filip Barl
b6a983e5a8 Replaced all scopeTheme vars in global-style.js and got rid of the unused ones 2019-10-04 14:20:57 +02:00
Filip Barl
fa9754a829 Satisfying all the stylelint rules 2019-10-03 15:47:26 +02:00
Filip Barl
4224d45458 Copied over _base.scss + adjusted the comments 2019-10-03 14:33:03 +02:00
Filip Barl
1aa9080576 Created styled components Scope themes 2019-10-02 19:13:52 +02:00
Bryan Boreham
9e62dac37d build: don't lint tools shellscripts in Scope CI
It's now run in the CI for the upstream repo weaveworks/build-tools.
2019-10-02 14:34:44 +00:00
Bryan Boreham
6dbc15bf7c Merge commit 'a0d60e4de9013b35542a8aee145ef2e95f3d9eb2' into update-backend-build
Update 'tools' subtree to latest.
2019-10-02 14:34:20 +00:00
Bryan Boreham
a0d60e4de9 Squashed 'tools/' changes from ec369f58d..f041a74ff
f041a74ff Undo some quoting that broke the test script (#160)
b1c21a068 Merge pull request #158 from weaveworks/go-1-13
d5c7dd0cd Run shell-lint during CI, and fix warnings
6db1abd14 Update to Go 1.13.1
d6cc704a2 Fix comment
7139116ae Revert "Push comments to the left so they don't appear in scripts"
e47e58f7b Push comments to the left so they don't appear in scripts
3945fcec8 Remove nonexistent env var GIT_TAG
cd6299284 Merge pull request #156 from weaveworks/drop-quay
af0eb5119 Merge pull request #157 from weaveworks/fix-image-tag-prefix-length
0b9aee4f2 Fix image-tag object name prefix length to 8 chars.
813c28fe7 Move from CircleCI 1.0 to 2.0
425cf4ef1 Move from quay.io to Dockerhub
87ccf4fd1 Merge pull request #155 from weaveworks/go-1-12
c31bc2865 Update lint script to work with Go 1.12
ed8e380d7 Update to Go 1.12.1

git-subtree-dir: tools
git-subtree-split: f041a74ffbf273b627d6c960f17357108d0dbd1c
2019-10-02 14:34:20 +00:00
Filip Barl
3432e70fa1 Prototype global inject of Scope theme 2019-10-02 15:28:00 +02:00
Bryan Boreham
45c3dd7738 build: update CI to use Go 1.13 2019-10-01 10:24:41 +00:00