Commit Graph
5805 Commits
Author SHA1 Message Date
Filip Barl 3c6cced4d3 Use new Search component. 2018-09-04 14:11:50 +02:00
Bryan Boreham d6bbf690e6 Use build images with master tag 2018-09-01 14:34:25 +00:00
Bryan Boreham fda40b8338 Merge pull request #3333 from weaveworks/circle-2.0
Move to CircleCI 2.0
2018-09-01 13:48:06 +01:00
Bryan Boreham 65bdb145f9 Merge pull request #3334 from weaveworks/registry-test-sleep
Sleep to stop TestRegistryDelete() failing
2018-09-01 13:47:30 +01:00
Bryan Boreham d9e88c0e43 Use newer ui-build image 2018-08-30 11:57:40 +00:00
Bryan Boreham 1734def7ee Get deploy step to work
Simplify deploy shell scripts;
Run yarn bundle as part of client-build step;
Install awscli as part of deploy step;
Don't run ui-upload in another container.
2018-08-30 10:13:43 +00:00
Bryan Boreham 7b9a15efbf Combine arm and darwin build jobs
saves spinning up another container
2018-08-30 10:13:42 +00:00
Bryan Boreham 8a0c42299e Use newer build image 2018-08-30 10:13:42 +00:00
Bryan Boreham 6a51cd8185 Tidy up 2018-08-30 10:13:42 +00:00
Bryan Boreham cf0d85b7f4 Run coverage as part of integration test job
This lets it run at the same time as GCE VMs are deleted, and saves us
having to run up another job just for coverage.
2018-08-30 10:13:42 +00:00
Bryan Boreham 29e6409fab Move all go installs to same Dockerfile step
Reduces the size of the resulting image
2018-08-30 10:13:42 +00:00
Bryan Boreham e1552de65a 'requests' is installed via pip; we don't need to install via apt-get too 2018-08-30 10:13:42 +00:00
Bryan Boreham 1d2a5c6544 Set up dependencies for integration test job
* Build 'runner' program in build job and save to workspace;
* Save build outputs - externalui, staticui, codecgen output;
* Install required tools in test VM;
* Call 'make deps' in integration-tests-job and touch 'runner' from
  workspace so it doesn't rebuild.
2018-08-30 10:13:42 +00:00
Bryan Boreham 8b9d49d9d6 Run client static build
and run client lint and test in the same job, after client-build,
to reduce the number of jobs running in parallel.
2018-08-30 10:13:42 +00:00
Bryan Boreham 5d029d74f1 Install docker client in build container 2018-08-30 10:13:42 +00:00
Bryan Boreham ebfed1bc83 Don't insist the build container is up-to-date when BUILD_IN_CONTAINER=false
Why do you care?  You're either inside it or not using it.
2018-08-30 10:13:42 +00:00
Bryan Boreham d7b40846a4 Run arm and darwin builds after main build
Try to balance the parallelism more
2018-08-30 10:13:42 +00:00
Bryan Boreham fd08129e30 Remove deploy-dev job; it isn't used 2018-08-30 10:13:42 +00:00
Bryan Boreham c07b6b5ca8 Sleep to stop TestRegistryDelete() failing 2018-08-30 10:13:42 +00:00
Bryan Boreham c1b93c3161 Break into steps, use current build images 2018-08-30 10:13:42 +00:00
Bryan Boreham ec49a38b83 Tag build images with git hash 2018-08-30 10:13:41 +00:00
Bryan Boreham 89d7ab1677 Remove unnecessary file 2018-08-30 10:13:41 +00:00
Bryan Boreham 191b6c8c08 Don't need a third build image 2018-08-30 10:13:41 +00:00
guyfedwards 9efcea41b9 add docker build image; 2018-08-30 10:13:41 +00:00
guyfedwards fc7e5bf9f8 fix env defaults 2018-08-30 10:13:41 +00:00
guyfedwards 6b4a51563f initial 2018-08-30 10:13:41 +00:00
Simon b090dfe788 Merge pull request #3326 from weaveworks/option-disable-store-view-state
Adds a scope-cmp prop to disable storing the view state in localStorage
2018-08-30 08:47:47 +02:00
Daniel Holbach 6abeced17a Merge pull request #3336 from dholbach/update-tcptracer-bpf
update vendored copy of tcptracer-bpf
2018-08-28 17:24:28 +01:00
Daniel Holbach f05d741c88 update vendored copy of tcptracer-bpf
See https://github.com/iovisor/gobpf/pull/139 and
  https://github.com/weaveworks/tcptracer-bpf/pull/61 for more info
  on the change.

  gvt update github.com/weaveworks/tcptracer-bpf
2018-08-28 16:56:30 +01:00
Bryan Boreham 4e08ea0869 Merge pull request #3325 from weaveworks/trace-context-detect
Add middleware to detect jaeger trace context over HTTP
2018-08-28 14:32:31 +01:00
Marcus Cobden 67b887cb5d Add middleware to detect trace context on HTTP 2018-08-28 13:32:29 +01:00
Marcus Cobden 6f17a2961c Update weaveworks/common to d442d08d89b51712ca61de3f7c14e2e218a739d7
Changes:
- Default diff-printer to hide details (#103) - da4c3ff
- Improve logging of http errors (#115) - f5a1710
- Update httpgrpc to match weaveworks/cortex#910 (#117) - 80ff076
- Expose the HTTP server from the server struct. (#118) - 1a7a6b3
- Add HTTP tracing middleware (#119) - d442d08
2018-08-28 11:35:54 +01:00
Bryan Boreham 2215e66d39 Merge pull request #3335 from weaveworks/simplify-addrs
Simplify fetch of IP addresses in a namespace
2018-08-27 22:46:20 +01:00
Bryan Boreham 75d0893351 Merge pull request #3286 from dholbach/licenses-fix
license: document files under LGPL3 and MPL3 licenses
2018-08-27 22:41:45 +01:00
Bryan Boreham ef832eb128 Simplify fetch of all IP addresses
Code was unnecessarily fetching all links then fetching all addresses
filtered by link, when we can just get the addresses without any
filter.
2018-08-27 17:10:43 +00:00
Simon Howe d5c49e5277 Fixes tests: add sessionStorage mock 2018-08-27 18:50:10 +02:00
Simon Howe 1906e319a9 Read from sessionStorage before localStorage when loading view state 2018-08-27 16:20:40 +02:00
Bryan Boreham ec71876879 Sleep to stop TestRegistryDelete() failing 2018-08-26 21:33:26 +00:00
Bryan Boreham 5634e8c07e Merge pull request #3332 from weaveworks/fix-ebpf
Create bpf stop file differently, in integration test
2018-08-25 11:35:31 +01:00
Bryan Boreham efd4bbd5be Create bpf stop file differently
Somehow the /proc/pid/root thing is not creating a file that can be
seen inside the container any more.
2018-08-25 09:53:55 +00:00
Bryan Boreham c1b1ee2a1b Merge pull request #3266 from weaveworks/slim-metrics
Remove First and Last data members from Metrics structs
2018-08-24 17:39:21 +01:00
Daniel Holbach 03803c8ee6 license: document files under LGPL3 and MPL3 licenses 2018-08-24 18:02:04 +02:00
Bryan Boreham eb3a2feabb Merge pull request #3329 from satyamz/client-go-upgrade
Upgrade Kubernetes client-go version to 8.0.0
2018-08-24 16:30:01 +01:00
Bryan Boreham 321c5709b9 Merge pull request #3231 from meghalidhoble/master
[Power Support] Enable weaveworks scope on Power.
2018-08-24 15:27:57 +01:00
Satyam Zode fd01143725 Upgrade client-go version to 8.0.0
This will
Add:
	- golang.org/x/time
upgrade:
        - k8s.io/client-go v8.0.0
	- k8s.io/api version to kubernetes-1.11.0
	- k8s.io/apimachinery version to kubernetes-1.11.0
	- github.com/json-iterator/go version to latest because `https://github.com/kubernetes/kubernetes/issues/64612`
delete:
	- vendor/github.com/juju/ratelimit because k8s-client-go is shifted to golang.org/x/time
	  Please refer: https://github.com/kubernetes/client-go/commit/acc52496ce5c3836ec57a55cc59bd8a6e0b0879f

```
gvt delete k8s.io/client-go
gvt delete k8s.io/api
gvt delete k8s.io/apimachinery
gvt delete github.com/json-iterator/go
gvt delete github.com/juju/ratelimit

gvt fetch --no-recurse -tag v8.0.0 k8s.io/client-go
gvt fetch --no-recurse -tag kubernetes-1.11.0 k8s.io/api
gvt fetch --no-recurse -tag kubernetes-1.11.0 k8s.io/apimachinery
gvt fetch github.com/json-iterator/go
gvt fetch golang.org/x/time
```

fixes: #3284

Signed-off-by: Satyam Zode <satyamzode@gmail.com>
2018-08-24 19:05:36 +05:30
Guy Edwards 1eab1d53a7 Merge pull request #3324 from weaveworks/sheet-storage-node-name-compat
support `storagesheet` for old scope reports
2018-08-23 16:53:47 +01:00
Simon Howe 3791198edc Adds a scope-cmp prop to disable storing the view state in localStorage
- Scope will forget where it was last opened.
2018-08-23 15:44:33 +02:00
guyfedwards ebd6376bd4 support storagesheet for old scope reports
Old versions of scope reports use `storagesheet` as the value for node
shape. This shape is no longer supported in weaveworks-ui-components and
so this commit normalises to `sheet` for compatiblity with old reports.

related #3322
2018-08-22 15:33:34 +01:00
Guy Edwards 34316376d5 Merge pull request #3323 from weaveworks/sheet-storage-node-name
rename 'storagesheet' to 'sheet'
2018-08-22 15:08:49 +01:00
guyfedwards a38b6213d1 rename storagesheet to sheet
the client now expects a node shape of `sheet` not `storagesheet`
update report.go to reflect this.

fixes #3322
2018-08-22 13:07:45 +01:00