Commit Graph

4801 Commits

Author SHA1 Message Date
Bryan Boreham
e1c418884e Comment inconsistency between calls in joinResults 2018-04-15 09:39:43 +00:00
Bryan Boreham
3711876194 Use unsafe merge in joinResults.addChildAndChildren(), for performance 2018-04-15 09:39:21 +00:00
Ilya Dmitrichenko
b8dae7768d Merge pull request #3140 from dholbach/docker-for-mac-fix
Minimal fix to make scope start with Docker for Mac again.
2018-04-13 10:28:14 +01:00
Bryan Boreham
b7b778934c Merge pull request #3138 from weaveworks/single-owner-nodeset
Use single-owner code path to accumulate children when rendering
2018-04-13 09:34:30 +01:00
Bryan Boreham
7a03bc03f8 Use faster code to accumulate children when rendering
Make sure all the Children NodeSets are not shared with any other
nodes, then we can use the non-persistent add path.
2018-04-13 07:44:21 +00:00
Daniel Holbach
f8f3b3dc2d Minimal fix to make scope start with Docker for Mac again.
@dglaubman found that recent versions of Docker for Mac (Docker version
18.03.0-ce, build 0520e24) don't write out
${HOME}/Library/Containers/com.docker.docker/Data/database any more.

@foot confirmed this. A fresh installation of Docker for Mac (Version
18.03.0-ce-mac60 (23751), Channel: stable) did not create the file.

The result was that installations which had this leftover file could start
scope, whereas newer couldn't. The fix simply changes this check to a path
which actually exists.

Thanks @dglaubman and @foot for the analysis and confirmation.

Fixes #3064
2018-04-13 08:17:23 +02:00
Bryan Boreham
593952cd6e Move report creation outside of timing loop 2018-04-12 10:02:50 +00:00
Bryan Boreham
e2b4b3edf6 Merge pull request #3135 from weaveworks/map-one
Simplify Map.Render()
2018-04-10 16:10:57 +01:00
Bryan Boreham
7e63d0fd19 Comment 2018-04-10 13:25:54 +00:00
Filip Barl
c86e93199f Update yarn.lock 2018-04-10 10:09:33 +02:00
Filip Barl
e8f423a337 Merge pull request #3134 from weaveworks/use-json-stable-stringify
Don't update route if it hasn't changed
2018-04-09 20:44:16 +02:00
Filip Barl
30c99d0e28 Merge pull request #3136 from weaveworks/161-switch-to-theme-cyan-colors
Switch to theme cyan colors
2018-04-09 16:52:46 +02:00
Filip Barl
52c4da32af Switch to theme cyan colors. 2018-04-09 16:10:31 +02:00
Bryan Boreham
dd087cff01 Use joinResults to accumulate nodes in Map.Render()
joinResults grew out of a special case of Map.Render(), so now we
merge the two lines back together and have just one way to accumulate
results and remap adjacencies.
2018-04-09 13:16:40 +00:00
Bryan Boreham
e3539a8d92 MapFunc is now Node->Node
Save time creating a map for the results which contains at most one entry
2018-04-09 13:16:40 +00:00
Bryan Boreham
ced27b298c Turn Map2Parent into a Renderer
This is the last MapFunc which returns multiple Nodes, so by turning
it into a Renderer we open the door to simplifing every other MapFunc.
2018-04-09 13:16:40 +00:00
Filip Barl
99e4870d99 Don't update route if it hasn't changed. 2018-04-09 09:42:43 +02:00
Filip Barl
c938a5ffa4 Bump ui-components to v0.4.51 2018-04-05 17:16:17 +02:00
Bryan Boreham
9873ab2ea7 Merge pull request #3129 from weaveworks/fix-latestmap-printf
Fix format string to work for all types
2018-04-05 15:44:19 +01:00
Matthias Radestock
e36081ac22 Merge pull request #3128 from doodlesbykumbi/patch-1
documentation fix: project for openshift installation
2018-04-05 11:35:50 +01:00
Bryan Boreham
27cf8f3b06 Fix format string to work for all types 2018-04-05 08:18:52 +00:00
doodlesbykumbi
3ac9b6c06a fix: project for openshift installation 2018-04-05 01:38:58 +01:00
Matthias Radestock
805572d70e refactor: inline single-use constant 2018-04-02 13:50:22 +01:00
Matthias Radestock
e852b18e42 refactor: remove unused constant 2018-04-02 13:48:29 +01:00
Matthias Radestock
fd3ac19c02 refactor: remove dead code 2018-04-02 13:27:51 +01:00
Matthias Radestock
3a8cad1803 Merge pull request #3126 from weaveworks/3083-no-failed-pods
don't show Failed pods

Fixes #3083.
2018-04-02 11:49:10 +01:00
Matthias Radestock
feae4f4fcf don't show Failed pods
these are not alive, and Scope generally only shows the living, not
the dead.
2018-04-02 11:03:25 +01:00
Matthias Radestock
27fb3571e1 refactor: remove StateDeleted from map keys
since it is a map value, not a key.
2018-04-02 11:03:01 +01:00
Filip Barl
3090cdcfe5 Merge pull request #3124 from weaveworks/bump-ui-components-to-0-4-48
Bump ui-components
2018-03-28 16:43:16 +02:00
Filip Barl
9f0b359199 Bump ui-components to v0.4.49 2018-03-28 12:18:09 +02:00
Filip Barl
7838f3063b Bump ui-components to v0.4.48 2018-03-28 11:42:58 +02:00
Matthias Radestock
012ee77b20 Merge pull request #3121 from weaveworks/3113-shortcut
make shortcut reports work (again)
2018-03-25 12:43:34 +01:00
Matthias Radestock
076acdb319 send shortcut reports on all container state changes
This got broken in cec750049f.
2018-03-25 09:08:45 +01:00
Matthias Radestock
eaafe4db6f copy Shortcut property in Report.Copy()
This was causing shortcut reports to be delivered as normal reports.

This got broken in 0ecb908c22, when Report.BackwardCompatible(),
which does a Copy(), was introduced in the publishing path.

Fixes #3113.
2018-03-25 09:02:36 +01:00
Filip Barl
5f8da6d077 Merge pull request #3116 from weaveworks/3115-enforce-theme-colors
Enforce theme colors
2018-03-22 15:51:43 +01:00
Roland Schilter
a5b4b7c4ca Fix eslint error 2018-03-21 11:31:42 -07:00
Sidney Wijngaarde
b22b3d6784 Adds link datatype to ui (#3105) 2018-03-21 10:41:38 -07:00
Filip Barl
109bc21b57 Add styled components linting. 2018-03-21 16:01:15 +01:00
Filip Barl
631077b68a Use colors from ui-components theme. 2018-03-21 15:49:52 +01:00
Filip Barl
3d55b23d1b Bump ui-components to v0.4.42 2018-03-21 15:20:59 +01:00
Filip Barl
cdb3b99712 Include .sass-lint.yml in Dockerfile. 2018-03-21 15:18:30 +01:00
Filip Barl
f12146042c Simplified internal Scope color variables. 2018-03-21 12:29:49 +01:00
Filip Barl
6152ac0a4d Got rid of all rgba colors. 2018-03-21 12:01:27 +01:00
Filip Barl
e1a5dc6700 Linked all non-rgba colors. 2018-03-21 11:47:25 +01:00
Filip Barl
4601988ab5 Organized some variable names. 2018-03-21 11:23:40 +01:00
Filip Barl
80dd318c86 Add stylesheets linting. 2018-03-21 10:39:54 +01:00
Roland Schilter
3de06b5a09 Support controls in more k8s topologies (#3110)
* Refactor: func has already access to probeID

* Allow controls for more k8s topologies

Controls for nodes generally need to know about the probe that is in
control of them.

This PR appends the probe ID info to k8s topologies CronJob, DaemonSet,
Service, and StatefulSet. Therefore allowing plugins to append controls.

* Remove superfluous error check

* Add some tests to verify controls allowance
2018-03-16 12:39:57 -07:00
Bryan Boreham
da6995bd87 Merge pull request #3109 from weaveworks/release-1.8
Release 1.8
2018-03-12 15:43:29 +00:00
Bryan Boreham
00868097c8 Add release 1.8.0 v1.8.0 2018-03-12 15:05:22 +00:00
Bryan Boreham
a709163349 Merge pull request #3056 from weaveworks/save-codegen
Save codegen output as CI artifact
2018-03-12 11:44:38 +00:00