Commit Graph
52 Commits
Author SHA1 Message Date
Bryan Boreham 440892516f Set HOME for build containers
Otherwise it's blank on Apple M1 platform (at least) and builds fail

Now we have to git-ignore .yarnrc file, which is created in the HOME dir.
2021-04-04 11:16:13 +01:00
Bryan Boreham b2d98dc1f7 Add doc files so 'go clean' can run
If the directories are empty then go modules tries to download them.
2020-03-23 15:04:50 +00:00
Marcus Cobden 041ebed8a3 Fix path confusion in bundle building 2018-09-26 12:16:49 +01:00
Marc Carré 069d780fc5 Add .cache to .gitignore
This file appears when building under macOS
2018-07-23 20:10:19 +02:00
Filip Barl 80dd318c86 Add stylesheets linting. 2018-03-21 10:39:54 +01:00
Matthias Radestock b703f4d9bd add copyreport to .gitignore 2017-05-29 11:07:33 +01:00
Ilya Dmitrichenko 05f6a9b217 Add website preview via Netlify 2017-04-27 13:52:57 +01:00
Alfonso AcostaandGitHub 98395bb595 Create cloud agent image (#2284)
* Create cloud-agent image

* Refactor Makefile

* Push the image from CircleCI and releases

* Review feedback

* Review feedback

* Review feedback
2017-02-27 17:49:26 +01:00
Alfonso Acosta 051884d26a Embed Docker 1.13.1 (but force protocol 1.22) 2017-02-24 13:50:19 +00:00
Bryan BorehamandAlfonso Acosta a60192d98a Install weaveutil so we don't have to run it via docker 2017-02-24 12:31:10 +00:00
jpellizzari a0b1aa12c0 Changed client build-pkg directory 2017-01-24 16:15:02 -08:00
jpellizzari 9acca772a9 Added npm module scripts to CI 2017-01-24 13:36:39 -08:00
jpellizzari bfefa0902b Added exports and install script 2017-01-24 11:25:02 -08:00
Filip BarlandGitHub d15e884cb1 Table-mode: sort ips numerically (#2007)
Fix #1746 - sort IPs numerically in the table mode
2016-11-22 11:05:59 +01:00
Mike Lang ce5fc17972 Add new generated content to gitignore 2016-10-06 18:58:39 -07:00
Jonathan Lange 1c440486f0 Delete experimental, replace with 'extras'
extras contains fixprobe and example, and ought to build properly
2016-07-07 14:30:08 +01:00
Tom Wilkie 99204e1ff7 Add k8s pod log control (#1298)
* Remove individually vendored k8s.io/kubernetes/pkg/<foo>

* Vendor the whole of vendor/k8s.io/kubernetes/pkg

* Add k8s pod log control

* Tag pods with host id and include them in the host topology as children.

* adding a basic test for kubernetes.Reporter.GetLogs
2016-04-21 13:48:50 +01:00
Paul Bellamy 4b4e52397b add .uptodate to gitignore (for http-requests example plugin) 2016-04-12 17:22:39 +01:00
Tom Wilkie da53aac25d Tests & vartious fixes for consul pipe router.
Fix a few bugs in the consul pipe router:
- Don't share a pointer
- Write nil to pipe when closing a bridge connection to ensure the connection shutdown.
- Ensure we shutdown bridge connections correctly
2016-04-12 14:28:10 +01:00
Alfonso AcostaandSimon Howe 805bedf3e1 Create codecgen binary based on the host's architecture 2016-03-10 11:25:15 +01:00
Tom Wilkie a0bcb2023c Ignore vendor/github.com/ugorji/go/codec/codecgen/codecgen 2016-02-22 14:19:00 +00:00
Paul Bellamy 1a27e5199e gitignore *.generated.go 2016-02-17 16:20:39 +00:00
Alfonso Acosta 9c368c4e84 Implement Selfers for all render types
To workaround https://github.com/ugorji/go/issues/141
2016-02-16 23:52:32 +00:00
Alfonso Acosta 0d917b2d8b Use github.com/ugorji/go/codec/ for wiring messages
* New encoding format:
  * Msgpack reports between probe<->app (smaller representation, faster to
    encode/decode).
  * Still use JSON between app<->UI (try to avoid making javascript deal with
    mspack).

  The app still suports publishing reports in both gob and JSON, not braking
  backwards compatibility.

* Use compile-time generated marshallers/unmarshallers for higher performance. In
  order to be able to skip code-generation for certain types, I included
  https://github.com/2opremio/go-1/tree/master/codec/codecgen instead of
  upstream until https://github.com/ugorji/go/pull/139 is merged.

* Encode/decode intermediate types using github.com/ugorji/go/codec.Selfer
  for higher performance and reducing garbage collection (no temporary buffers).
2016-02-16 06:31:31 +00:00
Tom Wilkie b89deb6aa9 Review feedback 2016-01-06 11:48:29 +00:00
Tom Wilkie d6052973af Pass -i to go build to speed up builds. 2016-01-04 16:48:41 +00:00
Simon HoweandTom Wilkie 3b2af2ae6c Terminal UI for pipes
- term.js
- Add eslintignore
- Fix color and es2015 after rebase
- Fix JS test, probably deleted during conflict resolution
- Moves terminal close button to top-right of window
- Consitent w/ details window.
- Changes padding of details window close button so both close buttons
  are horizonally aligned.
- Terminal resizes w/ browser window.
- No longer can drag window around.
- Add tiny big of padding between term and node-details.
- Playing w/ terminal placement.  This one's more drawer-like.
- Send DELETE when we close a terminal window.
- Dont lint or bable JS vendor files
- Ignore ctags 'tags' files.
- Adds popping out terminal out into a new browser window.
- Simplify code as now we've just a single terminal window.
- ESC is back to close the terminal, then the details panel.
- Fixes bug w/ slow response to closing the details panel.
- Moving away from "drawer-style" for terminal size and position to a
  simple window.
- Just gotta handle the case for refreshing a popped out terminal.
- Stop terminal text being auto-deselected.
- window resizes will still deselect.
- Adds state.connected to react.scu check.
- Don't delete pipe when browser closes
- To allow for nicer refresh flows
- scope-app will time out pipe after a while.
- Keep terminal-open/closed state in the url.
- shouldComponentUpdate fix to prevent deselection of text has been
  rolled back so gotta come up w/ another way to handle that...
- Fixes terminal text-selection again.
- Make pipes work for non-raw terminals too.
- Move document.title updating somewhere more sensible.
- Pass rawTty prop along to all terminals.
- Don't render react root into doc.body
- Reconnect the websocket if we lose it.
- First, slightly rough, attempt at displaying if pipe has been deleted
- Refactor controlPipe structure in the AppStore/hash.
- Merge controlPipeId, controlPipeRaw, controlPipeStatus into a single object.
- Adds a status bar to the terminal window.
- Error handling in popout working again.
- Don't show terminal cursor when not connected.
- Simplify controlPipe status and error handling.
- Don't keep the status in the hash.
- Use special new action receiveControlPipeFromParams rather than
  adding lots of branching to receiveControlPipe.
- You can reload a terminal but it doesn't exist in history stack.
- Pull out terminal into its own entry point!
- Fixes prod webpack build
- Fixes terminal-app websocket path when running on prod.
- Fixes old terminals appearing when closing a terminal.
- History hacking wasn't working, this is a little simpler.
2015-12-10 12:52:44 +00:00
Tom Wilkie 949ae6f807 Review feedback 2015-12-09 12:45:13 +00:00
Tom Wilkie c749f5aa33 Merge probe and app binaries, run with ./scope probe or ./scope app. 2015-12-09 11:00:42 +00:00
Tom WilkieandTom Wilkie c317cff86e App: Rename package main->app, put main.go in prog/app 2015-12-07 14:53:28 +00:00
Paul BellamyandTom Wilkie 269a11759f makefile should build app/static.go when needed
- Add non-containerised build for UI.
- Update README for new build steps.
2015-12-07 14:53:28 +00:00
Tom Wilkie a8718104de Remove probe/scope-probe .gitignore, to help #696 2015-11-30 08:40:47 +00:00
David Kaltschmidt a74178b722 Ignore prog/probe/probe 2015-11-11 15:27:17 +01:00
Paul BellamyandTom Wilkie 92ec7d9397 Move probe main.go to prog/probe/, break out a probe struct with appropriate responsibilities.
Also adds test for probe 'engine'
2015-11-09 16:25:28 +00:00
Paul Bellamy a1466cb3fc Review Feedback 2015-10-20 14:26:27 +01:00
Peter Bourgon 36b743fe1f probe, app: reliable shutdown
- Restructure main funcs for clean defer-stack-unwinds
- Fix Docker container to handle signals properly
- Introduce runsvinit for container init process
- Integration test
2015-09-29 11:45:12 +02:00
Tom Wilkie f4a426daa1 Makefile improvements. 2015-09-14 04:00:27 +00:00
Peter Bourgon b97407a540 Use local checkout 2015-09-10 16:58:49 +02:00
Peter Bourgon fc95067bd3 First cut of Docker build for backend 2015-09-10 15:38:48 +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
Peter Bourgon ea9eaae26a In Docker, {app,probe} -> {scope-app,scope-probe} 2015-06-29 18:59:19 +02:00
Peter Bourgon 49ec565a04 Improve error messages during report validation 2015-06-16 10:42:40 +02:00
Tom Wilkie 03bdff8694 Add shout proxy to example app. 2015-06-05 14:56:56 +00:00
Tom Wilkie b031835148 Fixup experimental, add a makefile and add it to circle to stop experimental getting broken again. 2015-06-05 13:44:59 +00:00
Tom Wilkie b858f76a40 Ignore releases/ directory. 2015-06-02 16:03:07 +00:00
David KaltschmidtandTom Wilkie 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 84d724f645 Move container build files into their own dir and introduce the scope script. 2015-05-19 10:05:40 +00:00
Peter BourgonandTom Wilkie e739555582 .gitignore experimental/goapp/app 2015-05-19 10:05:08 +00:00
Tom Wilkie a49a6c86c1 An example micro-services based application for testing purposes. 2015-05-19 10:05:07 +00:00
Peter BourgonandTom Wilkie cab7c84ce4 move things to experimental, and rm more old things 2015-05-19 10:02:58 +00:00