Commit Graph

49 Commits

Author SHA1 Message Date
Tom Wilkie
31f1fbee6d Make scope compile under go 1.5 2015-09-04 12:01:32 +00:00
Alvaro Saurin
01d1bcfe9c Improved error message when docker-squash is not detected 2015-08-28 14:14:26 +02:00
Tom Wilkie
d8ac16d3f3 Gather container IP addresses from Docker and Weave, and apply them to nodes in the container topology. 2015-08-26 10:19:08 +00:00
David Kaltschmidt
e518bedecb Update the JS tooling
* get rid of gulp
* use webpack-dev-server to serve app.js
* express serves static files
* 2 webpack configs: local and production
* for development with backend, websocket URL is injected
* remove unneeded static files
2015-08-24 12:41:17 +02:00
Tom Wilkie
9289b6626a Review feedback 2015-08-18 11:21:02 +00:00
Tom Wilkie
efeba4a2ed Use rebuild-image script from tools.git
- Add some extra files to build image
- Add make to UI build container
2015-08-17 16:26:06 +00:00
Peter Bourgon
b9afa67ad6 gopacket-based traffic sniffing 2015-08-03 10:55:59 +02:00
Tom Wilkie
0043e9f37d Remove binaries on make clean. 2015-07-06 14:06:08 +00:00
Peter Bourgon
37c99b71ea Merge pull request #293 from weaveworks/rename-components
In Docker, {app,probe} -> {scope-app,scope-probe}
2015-07-02 11:50:05 +01:00
Peter Bourgon
f4b3930a19 Probe re-org
- tag/weave* -> package overlay
- tag/origin_host* -> package host
- tag/topology* -> package main
2015-06-30 10:18:00 +02:00
Peter Bourgon
ea9eaae26a In Docker, {app,probe} -> {scope-app,scope-probe} 2015-06-29 18:59:19 +02:00
David Kaltschmidt
934082bca1 fail make static on build JS build errors
fixes #277
2015-06-25 17:12:08 +02:00
Tom Wilkie
626320d7f4 Move probe host topology code into its own module
- add tests
- use constants for NodeMetadata keys
- add host uptime and kernel version
2015-06-23 13:31:22 +00:00
Tom Wilkie
a4ddd0094f Duplicate endpoints in the endpoint topology to account for NAT mapping.
Also, move spy.go into probe/endpoint and make it adhere to the Reporter interface.
2015-06-23 10:33:06 +00:00
Tom Wilkie
560cf66454 Refactor PIDTree
- Move pidtree to its own module and disaggregate it into tree, walker and reporter.
- Extend testing for probe/process
- Extend process metadata; add command line & # threads.
2015-06-23 09:40:35 +00:00
Tom Wilkie
314af5ca89 Improve probe docker code quality & test coverage.
- Move docker probe code into it's own module
- Put PIDTree behind and interface for mocking
- Disaggregate dockerTagger into a registry, tagger and reporter
- Similarly disaggregate tests
- Add mocks for docker container and registry
- Add test for docker events & stats
2015-06-18 17:09:33 +00:00
Tom Wilkie
1e92e7dcbd Introduce renderers; allow them to recurse. 2015-06-16 10:54:30 +00:00
Peter Bourgon
d486d1074a Refactor process mappers to taggers
- Reduce tagger interface to operate on reports
- Remove cgroup tagger
2015-06-08 15:04:40 +02:00
Tom Wilkie
b815ad80fa I put the makefile voodoo in the wrong place. 2015-06-03 13:56:46 +00:00
Tom Wilkie
2e16c5e21d Add client-sync target for doing client dev with the container and use shorter version string when building for source. 2015-06-03 13:21:56 +00:00
Peter Bourgon
edde7a02db Makefile: make deps, not make dep 2015-06-01 22:37:59 +02:00
Tom Wilkie
2d430895e3 Plumbing for releases stolen straight from weave. 2015-06-01 15:17:32 +00:00
David Kaltschmidt
4d027fef19 changed tooling from browserify to webpack
* using browsersync instead of livereload
* `gulp serve` works as before
* `gulp sync` starts browserSync and serves UI on port 3000
* everything is built in `build/`
* build release with `gulp build --release`
2015-05-29 11:48:55 +02:00
David Kaltschmidt
42a3f57e11 Added linter for js
- use global stricts
- use airbnb linter rules
- gulp lint target
- make target client-lint
2015-05-28 15:06:46 +00:00
Tom Wilkie
8a735b4d8d Merge pull request #109 from tomwilkie/errcheck
Add errcheck to our bin/test script (doesn't fit well with lint)
2015-05-26 17:24:24 +01:00
Tom Wilkie
c378e72ac3 Check for docker-squash and the correct netgo libs in the makefile. 2015-05-26 16:20:16 +00:00
Tom Wilkie
924c8b84e6 Add errcheck to our bin/test script (doesn't fit well with lint) 2015-05-26 15:43:17 +00:00
Tom Wilkie
957d5253a1 Merge pull request #95 from tomwilkie/docker-image-annot
Expose Docker image IDs and Names
2015-05-26 11:21:45 +01:00
David Kaltschmidt
66d66a4d01 Fix grouping bar for topologies that don't support grouping
- fixes #61
- dont clear nodes cache if topo is the same
- combined stores that were interdependent
- dont show topology grouping menu if unsupported
- also harmonized some variable names
- removed old grouping switcher
- moved topo actions to app actions, removed search
- get correct topology url
- first JS test using Jest
- make tests run on circle using the build container.
- replaced jest test runner with karma/jasmine
- Use debian for UI build and test container.
- updated karma-browserify
2015-05-22 16:41:48 +00:00
Tom Wilkie
f11168c051 Make bin/test download test dependancies. 2015-05-22 15:02:36 +00:00
Tom Wilkie
b536d1161b Set git version variable at build time. 2015-05-22 13:34:23 +00:00
Peter Bourgon
d42b03f709 Makefile: add go-spew, go-difflib 2015-05-22 13:43:11 +02:00
Peter Bourgon
a7371947ff Merge branch 'master' into enhanced-details 2015-05-22 13:24:22 +02:00
Peter Bourgon
2d5f58e8ed Expand details pane 2015-05-22 13:20:00 +02:00
Tom Wilkie
07e1f0ff18 Squash docker layers to make the scope image fetch nicer. 2015-05-22 10:25:00 +00:00
Tom Wilkie
8db53458dd Use netgo tag to rebuild go std lib so resulting binaries are statically compiled. 2015-05-21 14:47:15 +00:00
Peter Bourgon
a16aebc310 Update Makefile and README 2015-05-21 14:23:34 +02:00
Tom Wilkie
8c66c061c6 A docker process mapper 2015-05-20 11:21:54 +00:00
David Kaltschmidt
4ca869d891 Automated UI building
- Add Dockerfile for js build image
- Wire up dockerized-ui build to the makefile.
- Removed unused dev tools from package.json/gulp
2015-05-20 10:45:35 +00:00
Tom Wilkie
9eff84292f Merge pull request #59 from tomwilkie/runit
Use runit inside the scope container
2015-05-19 16:00:56 +02:00
Tom Wilkie
7b1c949a51 Use runit inside the scope container 2015-05-19 13:50:02 +00:00
Tom Wilkie
4c3912edf0 Add lint script; run it on circle. Intentionally don't lint static.go. 2015-05-19 10:43:04 +00:00
Tom Wilkie
84d724f645 Move container build files into their own dir and introduce the scope script. 2015-05-19 10:05:40 +00:00
Tom Wilkie
4598d37ecd Add circle ci config and test script. 2015-05-19 10:05:04 +00:00
Peter Bourgon
b003336a46 Makefile: first cut at porting the Docker instructions 2015-05-19 10:03:02 +00:00
Peter Bourgon
5ad24319f2 Build instructions and fixes 2015-05-19 10:03:01 +00:00
Peter Bourgon
8269cc9705 First cut of toplevel Makefile 2015-05-19 10:02:59 +00:00
Peter Bourgon
ac71b262c3 rm some toplevel docs, minor changes 2015-05-19 10:02:55 +00:00
Tom Wilkie
d50e827fd5 Intial commit 2015-05-19 10:02:02 +00:00