Bryan Boreham
af707fa32f
Run golangci-lint instead of multiple older tools
2020-12-30 17:41:53 +00:00
Bryan Boreham
b75736d244
Update build image from this branch
2020-12-30 12:02:16 +00:00
Bryan Boreham
d8d86b0a64
Simplify Go cross-compile settings
...
We only want to force CGO_ENABLED when cross-compiling for arm;
it is on by default for native linux compilation and off by default
for darwin cross-compilation.
2020-12-30 12:00:50 +00:00
Bryan Boreham
27561dcccf
Remove 'demo.json' file, not used in Scope
2020-12-30 10:56:46 +00:00
Bryan Boreham
c133c047e6
Move codecgen exe inside build_in_container
...
It calls 'go', which may not be present outside the build container
2020-12-30 10:56:46 +00:00
Bryan Boreham
9ab9692699
Remove unused 'deps' tools
...
gvt replaced by Go modules; github-release not used in CI
2020-12-30 10:56:46 +00:00
Bryan Boreham
6807ef66d2
Use build image from branch in CI
2020-12-30 10:54:09 +00:00
Bryan Boreham
0965f6e134
Upgrade Go compiler to 1.15.6
2020-12-30 10:54:09 +00:00
Bryan Boreham
bba4879bf3
Move 'esc' tool out of image into vendor'd source
...
Smaller that way, and more consistent
(Note we run it with GC enabled; it crashes in CI otherwise)
2020-12-30 10:53:34 +00:00
Bryan Boreham
bebc124ae5
Stop installing Python in build container
...
Scope itself doesn't have any Python code.
Disable Python test scheduler in CI
- we set parallelism=1 so no point scheduling
2020-12-30 10:50:38 +00:00
Bryan Boreham
52ef903acf
Stop creating a NodeJS build image
...
All it does is set some environment variables so just set those on the command-line
2020-12-30 10:50:38 +00:00
Bryan Boreham
486c4cc7e9
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.
2020-12-30 10:50:05 +00:00
Bryan Boreham
0586f4cba2
Mount Go build cache from host
...
This speeds up subsequent compilations
2020-12-29 18:15:06 +00:00
Bryan Boreham
14528fbf0d
Tell Docker to optimise build mounts
...
'delegated' says the container side is in charge, and Docker doesn't have to work hard to keep the host in sync
'z' is needed for SELinux
2020-12-29 18:15:06 +00:00
Bryan Boreham
55dd401dce
Refactor Makefile: extract repeated docker command
...
The command and arguments for yarn runs was repeated many times.
2020-12-29 18:14:37 +00:00
Bryan Boreham
085bd40be8
Run Go build as current user via -u flag
...
Remove complicated workaround in build.sh
2020-12-29 11:24:23 +00:00
Bryan Boreham
de60ebd37f
Merge pull request #3806 from milindchawre/fix-rbac
...
Add permission to read namespaces
2020-11-01 17:55:57 +00:00
Akash Srivastava
b8d04b9f1e
Merge pull request #3821 from weaveworks/update-ci-images
...
Update build images
2020-10-09 11:52:37 +05:30
Bryan Boreham
3d2a52f2fc
Fix up test for go1.14 change
2020-10-08 11:51:29 +00:00
Bryan Boreham
b4cf268db0
Update build images
...
Incorporating changes from #3785 and #3819
2020-10-08 11:47:18 +00:00
Daniel Holbach
bf6af9cfcc
Merge pull request #3819 from weaveworks/dependabot/npm_and_yarn/client/http-proxy-1.18.1
...
build(deps-dev): bump http-proxy from 1.16.2 to 1.18.1 in /client
2020-09-07 15:30:45 +02:00
dependabot[bot]
a32ce1a019
build(deps-dev): bump http-proxy from 1.16.2 to 1.18.1 in /client
...
Bumps [http-proxy](https://github.com/http-party/node-http-proxy ) from 1.16.2 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases )
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.16.2...1.18.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-07 13:15:46 +00:00
Akash Srivastava
0763817ca4
Merge pull request #3816 from dholbach/security-updates
...
Security updates
2020-09-03 13:27:19 +05:30
Daniel Holbach
2b71e780ae
update webpack and terser-webpack-plugin
2020-08-19 11:05:36 +02:00
Daniel Holbach
eab0b149e3
update dot-prop
2020-08-19 10:58:50 +02:00
Daniel Holbach
28700e3f43
Merge pull request #3814 from weaveworks/dependabot/npm_and_yarn/client/elliptic-6.5.3
...
build(deps): bump elliptic from 6.4.0 to 6.5.3 in /client
2020-07-31 13:19:55 +02:00
dependabot[bot]
8de130a436
build(deps): bump elliptic from 6.4.0 to 6.5.3 in /client
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-31 11:00:53 +00:00
Daniel Holbach
727c51756e
Merge pull request #3812 from weaveworks/dependabot/npm_and_yarn/client/lodash-4.17.19
...
build(deps): bump lodash from 4.17.15 to 4.17.19 in /client
2020-07-20 11:47:59 +02:00
dependabot[bot]
470f3d62f5
build(deps): bump lodash from 4.17.15 to 4.17.19 in /client
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-20 09:19:32 +00:00
Milind Chawre
0385ac6c43
Updating cluster-role.yaml to fix rbac
2020-07-02 00:19:14 +05:30
Bryan Boreham
e6faa2ba4b
Merge pull request #3796 from weaveworks/billing-spy-interval
...
billing: cope with spy-interval set longer than publish-interval
2020-06-11 14:12:37 +01:00
Bryan Boreham
c71bf0fa18
Merge pull request #3801 from weaveworks/cancel-rendering
...
improvement: stop rendering if Context is cancelled
2020-06-11 12:45:53 +01:00
Bryan Boreham
5318498d9a
improvement: make command-line parsing more robust
2020-06-11 11:15:35 +00:00
Bryan Boreham
70240fc82d
billing: cope with spy-interval set longer than publish-interval
2020-06-11 11:15:35 +00:00
Bryan Boreham
5264b61951
improvement: stop rendering if Context is cancelled
...
Typically this means the http caller has closed the connection,
so no point responding to them.
Also check at the point we send a response back, and log to OpenTracing.
2020-06-11 11:13:38 +00:00
Bryan Boreham
f16f321c78
Merge pull request #3800 from weaveworks/fix-312-localhost
...
fix (integration tests): replace localhost with 127.0.0.1
2020-06-11 12:13:04 +01:00
Bryan Boreham
8807aef333
fix (integration tests): replace localhost with 127.0.0.1 for more predictable behaviour
2020-06-11 10:48:37 +00:00
Daniel Holbach
2021c7431e
Merge pull request #3795 from weaveworks/update-deps
...
Update to most recent weaveworks/ui-components
2020-06-09 08:05:44 +02:00
Daniel Holbach
a82b6330c1
Run go mod vendor to fix build issue
...
As this would have deleted some headers in
./vendor/github.com/iovisor/gobpf/elf
I also ran
git diff vendor/github.com/iovisor/gobpf/ | patch -p0 -R
2020-06-08 11:17:23 +02:00
Daniel Holbach
df07c894a7
update to most recent weaveworks-ui-components
2020-06-08 11:17:17 +02:00
Bryan Boreham
bf90d56f0c
Merge pull request #3791 from weaveworks/fix-drop-topologies
...
multitenant query: don't drop topologies so much
2020-05-26 09:22:06 +01:00
Bryan Boreham
a20c51e94d
Higher limit on topology size for merged reports.
...
Where a report has been merged from several probes, give it a higher
limit before dropping topologies.
We will already have applied the limit on each single-probe report as
it came in, except for historical ones.
2020-05-25 13:12:47 +00:00
Bryan Boreham
fd65155cd6
Register the metric for dropped topologies
...
Missed earlier.
2020-05-25 13:12:27 +00:00
Bryan Boreham
7163f42170
Merge pull request #3785 from weaveworks/go-1-14-2
...
Update tools: Go 1.4.2 and JS kind-of 6.0.3
2020-05-20 11:17:44 +01:00
Bryan Boreham
7f48d7ebc8
Merge pull request #3790 from knrt10/exampleFix
...
Fixed example for PodSecurityPolicy inside examples/k8s/psp.yaml
2020-05-20 11:16:50 +01:00
knrt10
73cb10ab64
expamples: Fixed examples/k8s/psp.yaml file
...
PodSecurityPolicy (in the extensions/v1beta1 API group)
Migrated to use the policy/v1beta1 API, available since v1.10. Existing persisted data can be retrieved/updated via the policy/v1beta1 API.
Signed-off-by: knrt10 <tripathi.kautilya@gmail.com >
2020-05-20 15:15:02 +05:30
Bryan Boreham
b308f0cf51
Merge pull request #3789 from weaveworks/billing-use-container-info
...
multitenant: scan container command-lines as well as process
2020-05-19 12:17:08 +01:00
Bryan Boreham
b117b1a5ef
cosmetic: move misplaced import
2020-05-19 10:09:52 +00:00
Bryan Boreham
ad82fafde8
multitenant: scan container command-lines as well as process
2020-05-19 10:09:28 +00:00
Bryan Boreham
f83ad517d8
multitenant: extract command-line parsing function and add test
2020-05-19 10:07:23 +00:00