Commit Graph

5810 Commits

Author SHA1 Message Date
Bryan Boreham
26ad48728e Fix 'Show in' UI element
Needs a space after it so the words don't run together
2021-03-21 20:52:06 +00:00
Juan Calderon-Perez
69dd8853c4 Update alpine base image to 3.13 (#3838)
* Bump alpine to 3.13.2
2021-03-17 13:25:04 +00:00
Bryan Boreham
e29f474bb8 Merge pull request #3834 from Kielek/fix-build
Remove obsolete dependency github.com/fatih/hclfmt
2021-03-17 10:22:37 +00:00
Bryan Boreham
86add9a196 Merge pull request #3836 from weaveworks/no-controls-faq
Update faq.md - fix read-only mode gotcha
2021-03-17 09:37:10 +00:00
Kingdon Barrett
05596a9059 Update faq.md
* use double dashes for consistency
* fixup - says "set it to false", should be "true"
* fixup - the deployment and the daemonset both need this setting

Signed-off-by: Kingdon Barrett <kingdon@weave.works>
2021-03-09 09:10:33 -05:00
Piotr Kiełkowicz
8ce4743cb0 github.com/fatih/hclfmt was archived. Technically there is a possibility to fork (or used another forked version) to executle hclfmt.
But it leads to another issues - problems with importing https://github.com/hashicorp/hcl/hcl/printers. HCL was released in version 2 so that the file structure was changes.
I do not see any way to install it in changed Makefile. Go installs does not support pining to given tags so that always the newest version is installed.

For now, the impact on build process should be minimal. it is used only in ./tools/lint/lint() method. I was able to execute it locally without executing hclfmt.
2021-03-03 11:06:33 +01:00
Bryan Boreham
6d95f31883 Merge pull request #3831 from Kielek/update-lodash
fix CVE-2020-8203 (lodash vulnerability)
2021-02-10 13:29:13 +00:00
Piotr Kiełkowicz
4628ff8d54 fix CVE-2020-8203 (lodash vulnerability) 2021-02-10 09:15:20 +01:00
Daniel Holbach
8f116e9fdb Merge pull request #3828 from weaveworks/mention-coc
point out CoC more clearly
2021-02-08 14:26:09 +01:00
Daniel Holbach
aadad19dd9 point out CoC more clearly
Signed-off-by: Daniel Holbach <daniel@weave.works>
2021-02-08 14:11:06 +01:00
Bryan Boreham
084a1b9a90 Merge pull request #3827 from weaveworks/k8s-node-name
Set hostname to Kubernetes node name
2021-02-06 11:16:11 +00:00
Bryan Boreham
c86021ec05 Stop shellcheck warning on 'echo -v'
Non-portability is unlikely to be a problem
2021-01-30 15:37:56 +00:00
Bryan Boreham
cb032b00de Set hostname to Kubernetes node name
This will allow the app to match up data from node and cluster probes
2021-01-30 15:08:48 +00:00
Bryan Boreham
9aa9b1ae70 Merge pull request #3797 from weaveworks/update-build-tools
Update build tools
2021-01-18 10:50:31 +00:00
Bryan Boreham
2c040c7c96 Merge pull request #3825 from weaveworks/readonly-var-run
Only mount plugins directory if it exists
2021-01-02 18:36:06 +00:00
Bryan Boreham
5c09ebac54 Fix Mac probe launch command
Paren in wrong place meant it was running the app and not getting any extra args
2021-01-01 11:54:40 +00:00
Bryan Boreham
7243af71c7 Create embedded Go files before linting
Otherwise we get a compile error
2020-12-30 18:30:34 +00:00
Bryan Boreham
69c685105f Tell lint to ignore some files
tools needs to be fixed in its own repo.
We're not going to fix the generated output of protobuf.
2020-12-30 18:30:34 +00:00
Bryan Boreham
4f75600931 Pin SHOUT library at working version
The version we did have has a bug of not importing 'time'.

Remove other vendor'd copy of SHOUT library which may or may not be used.
2020-12-30 18:30:34 +00:00
Bryan Boreham
103ea2095f Fix lint warnings in Go code
All cosmetic.
2020-12-30 18:30:34 +00:00
Bryan Boreham
18acfcefe1 Run go fmt on various files
Seems that go fmt has changed behaviour since these files were last
checked in.  Changes are all cosmetic.
2020-12-30 18:30:34 +00:00
Bryan Boreham
b438707a92 Clean up lint errors in shell scripts 2020-12-30 18:30:34 +00:00
Bryan Boreham
f17dceab0d Create /var/run/scope directory in test
The scope script is no longer creating it.
2020-12-29 18:48:56 +00:00
Bryan Boreham
4f713984f2 Only mount plugins directory if it exists
This gets over problem with Docker for Mac where /var/run is read-only
2020-12-29 15:44:06 +00:00
Akash Srivastava
86daaf3a39 Update email address of Akash Srivastava (#3824)
Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
2020-12-29 11:32:50 +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
Daniel Holbach
1ab610ca78 .. 2020-09-03 10:16:04 +02:00
Daniel Holbach
cc85b48151 Merge commit '37ea4937a4de85a51c6f7af501f0a59c0f96f44a' into update-build-tools 2020-09-03 10:15:13 +02:00
Daniel Holbach
37ea4937a4 Squashed 'tools/' changes from f041a74ff..604e133c2
604e133c2 Merge pull request #167 from weaveworks/update-scheduler-instructions
bdd647e92 Merge pull request #169 from weaveworks/go-1.14.4
2c2792e7d Upgrade to Go 1.14.4
e6dd5e8f0 Merge pull request #168 from weaveworks/downgrade-werkzeug
144aa64c0 Restruct scheduler to use compatible version of werkzeug library
cc807901d Update instructions on how to deploy gc/scheduler
51a217660 Merge pull request #166 from weaveworks/165-rename-circleci-to-wksctl
bfd7a2bbe Renames circleci project wks -> wksctl afte code move
a5f7be3cc Note that the API token was revoked
15e4cfb94 Merge pull request #164 from weaveworks/improve-lint
dc8722589 Fix lint errors in Python code
8cb6a62a2 Set failure state if lint_files fails
c635ce412 Simplify the no-arguments case
167b7ed57 Skip entire directories that match filter patterns
1caa455a6 Refactor: read filter patterns once at start
4cc7911e5 Merge pull request #163 from weaveworks/fix-lint
393808dab Merge pull request #162 from weaveworks/golang-python3
3c5fcd16e Make lint run on CircleCI
f0936a1e9 lint all directories if not given a list
68f62a393 Fix typo in lint script
9ef44b057 Stop installing promtool
882df5ec5 Install python 3 instead of obsolete v2.7
988002377 Update Go to latest 1.13.3
2a2df5278 Merge pull request #161 from murali-reddy/terraform-update
bf8ed23b9 update google_compute_instance arguments as per the latest documentation

git-subtree-dir: tools
git-subtree-split: 604e133c2b7eb805766eab7be28723ef1ccd32aa
2020-09-03 10:15:13 +02:00
Daniel Holbach
b64ac919f7 shellcheck version? 2020-09-03 10:15:02 +02:00
Daniel Holbach
c9b44d7c93 use supported releases 2020-09-03 10:15:02 +02: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