This project is mirrored from https://gitee.com/NQL886/scope.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 11 Oct, 2018 1 commit
-
-
Marcus Cobden authored
To prevent docker from creating it with root as the owner
-
- 26 Sep, 2018 4 commits
-
-
Marcus Cobden authored
-
Marcus Cobden authored
-
Marcus Cobden authored
-
Marcus Cobden authored
Stop baking the toolchain and dependencies into the build image. Instead, run the install step each time, but use volume mounts or CircleCI caching to keep the happy path fast. Previously, some parts of the client (UI) directory were baked into the build image, and some parts were mounted or copied into the build environment. As a result, files baked into the build image require a two-step update for changes to take effect in CI. Now, for dockerised builds, we pre-install very little into the build image and mount the whole directory into the build environment. However, we do overlay a volume on the node_modules folder to allow the standard build toolchain to be separate from the host build toolchain. Non-dockerised builds (e.g. CI) are now more similar to the dockerised versions.
-
- 30 Aug, 2018 2 commits
-
-
Bryan Boreham authored
Why do you care? You're either inside it or not using it.
-
Bryan Boreham authored
-
- 26 Jul, 2018 1 commit
-
-
Lili Cosic authored
The cri make target generates the api.pb.go files by first fetching the latest proto files from upstream and uses protoc to generate them.
-
- 14 May, 2018 1 commit
-
-
Marc Carré authored
- This should ultimately help for image-to-code back references. - `org.label-schema.*` labels are now deprecated, in favour of `org.opencontainers.image.*` labels. See also: https://github.com/opencontainers/image-spec/blob/master/annotations.md#back-compatibility-with-label-schema - Git revision (`git rev-parse HEAD`) is now injected at `docker build` time.
-
- 27 Dec, 2017 1 commit
-
-
Matthias Radestock authored
This was left over from #1345.
-
- 11 Dec, 2017 2 commits
-
-
Matthias Radestock authored
We needed it because some of our invocations of Weave Net's `weave` script depended on it, but that is no longer the case as of Weave Net 2.1. Fixes #2974.
-
Matthias Radestock authored
-
- 30 Jul, 2017 1 commit
-
-
Matthias Radestock authored
...and use that in bin/release, so that we don't build releases with ancient images.
-
- 21 Jul, 2017 1 commit
-
-
Roland Schilter authored
When you run the client locally with `yarn start` and modify the app/probe code you don't want to compile the client on `make prog/scope`. This allows you to do `SCOPE_SKIP_UI_ASSETS=true make prog/scope` to only build the scope binary.
-
- 13 Jul, 2017 1 commit
-
-
Bryan Boreham authored
-
- 04 Jul, 2017 1 commit
-
-
Roland Schilter authored
Fixes #2606
-
- 08 Jun, 2017 1 commit
-
-
Roland Schilter authored
Also fixed prog/main_test.go (which has never been part of the test suite so far)
-
- 05 Jun, 2017 1 commit
-
-
Roland Schilter authored
It seems that on my OS the passed param to find gets expanded early and thus the command $(shell find ./ -path ./vendor -prune -o -type f -name *.go) results in ./test.go ./vendor instead of including all the go files from subdirs. Quoting helps.
-
- 27 Apr, 2017 1 commit
-
-
Ilya Dmitrichenko authored
-
- 26 Apr, 2017 1 commit
-
-
Alfonso Acosta authored
-
- 25 Mar, 2017 1 commit
-
-
Jordan Pellizzari authored
-
- 23 Mar, 2017 2 commits
-
-
Bryan Boreham authored
'codecgen' embeds a random integer in each identifier; this means code coverage across different CircleCI lanes may not match. Here we force the integer to 23 on every CircleCI build so they always match.
-
Bryan Boreham authored
-
- 22 Mar, 2017 1 commit
-
-
jpellizzari authored
-
- 08 Mar, 2017 1 commit
-
-
Iago López Galeiras authored
Based on work from Lorenzo, updated by Iago, Alban, Alessandro and Michael. This PR adds connection tracking using eBPF. This feature is not enabled by default. For now, you can enable it by launching scope with the following command: ``` sudo ./scope launch --probe.ebpf.connections=true ``` This patch allows scope to get notified of every connection event, without relying on the parsing of /proc/$pid/net/tcp{,6} and /proc/$pid/fd/*, and therefore improve performance. We vendor https://github.com/iovisor/gobpf in Scope to load the pre-compiled ebpf program and https://github.com/weaveworks/tcptracer-bpf to guess the offsets of the structures we need in the kernel. In this way we don't need a different pre-compiled ebpf object file per kernel. The pre-compiled ebpf program is included in the vendoring of tcptracer-bpf. The ebpf program uses kprobes/kretprobes on the following kernel functions: - tcp_v4_connect - tcp_v6_connect - tcp_set_state - inet_csk_accept - tcp_close It generates "connect", "accept" and "close" events containing the connection tuple but also pid and netns. Note: the IPv6 events are not supported in Scope and thus not passed on. probe/endpoint/ebpf.go maintains the list of connections. Similarly to conntrack, it also keeps the dead connections for one iteration in order to report short-lived connections. The code for parsing /proc/$pid/net/tcp{,6} and /proc/$pid/fd/* is still there and still used at start-up because eBPF only brings us the events and not the initial state. However, the /proc parsing for the initial state is now done in foreground instead of background, via newForegroundReader(). NAT resolution on connections from eBPF works in the same way as it did on connections from /proc: by using conntrack. One of the two conntrack instances is only started to get the initial state and then it is stopped since eBPF detects short-lived connections. The Scope Docker image size comparison: - weaveworks/scope in current master: 22 MB (compressed), 68 MB (uncompressed) - weaveworks/scope with this patchset: 23 MB (compressed), 69 MB (uncompressed) Fixes #1168 (walking /proc to obtain connections is very expensive) Fixes #1260 (Short-lived connections not tracked for containers in shared networking namespaces) Fixes #1962 (Port ebpf tracker to Go) Fixes #1961 (Remove runtime kernel header dependency from ebpf tracker)
-
- 27 Feb, 2017 1 commit
-
-
Alfonso Acosta authored
* Create cloud-agent image * Refactor Makefile * Push the image from CircleCI and releases * Review feedback * Review feedback * Review feedback
-
- 24 Feb, 2017 6 commits
-
-
jpellizzari authored
-
Alfonso Acosta authored
-
Alfonso Acosta authored
-
Alfonso Acosta authored
-
Bryan Boreham authored
-
Bryan Boreham authored
for more repeatable builds
-
- 03 Feb, 2017 2 commits
-
-
Matthias Radestock authored
It's just not worth the extra complication in the Makefile, and the code for it was actually broken. Also, outdent comment so it doesn't get splattered onto the console.
-
Alfonso Acosta authored
-
- 27 Jan, 2017 1 commit
-
-
Mike Lang authored
When the directory is created during the build process, it is as root. This prevents us deleting root-owned files inside the directory during make clean. In client/build/, we get around this because the directory contains a tracked file, so it's created during git checkout. We make this the case for build-external by adding a hidden, empty file to track. This won't fix existing checkouts though, so we also add a fix-up step to make clean. The use of .gitignore as the empty file to track is taken from https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F Specifically: "If you really need a directory to exist in checkouts you should create a file in it. .gitignore works well for this purpose"
-
- 25 Jan, 2017 2 commits
-
-
jpellizzari authored
-
jpellizzari authored
-
- 24 Jan, 2017 1 commit
-
-
jpellizzari authored
-
- 15 Nov, 2016 1 commit
-
-
jpellizzari authored
-
- 06 Oct, 2016 1 commit
-
-
Mike Lang authored
-