Commit Graph
3758 Commits
Author SHA1 Message Date
Jordan PellizzariandGitHub 0423e49517 Merge pull request #2265 from weaveworks/fix-details-panel-links
Fix details panel links
2017-02-21 10:43:02 -08:00
jpellizzari f2f474ac80 Change to load contrast theme dynamically 2017-02-21 10:29:43 -08:00
Filip Barl 9ac546c8b9 Fix details panel links. 2017-02-21 18:40:45 +01:00
Alessandro Puccetti e81f674a02 extra/in_parallel.sh: call the right python version
We want to use the python installed as dependency to use an updated
version of the requests module (>=v2.4.2).

This regression is caused by
https://github.com/weaveworks/build-tools/pull/73
2017-02-21 17:25:39 +01:00
Alessandro Puccetti fabafecb0c circle.yml: update python-requests pkg
Update the build-tools introduced a regression while building on circle
ci.

The PR https://github.com/weaveworks/build-tools/pull/73 is compatible
with python requests module `>=v2.4.2`. We need to provide a more
updated version of the one available in ubuntu 12.04 or 14.04
repositories.
2017-02-21 17:19:19 +01:00
Alessandro Puccetti 340438b3c3 extras/build_on_circle.sh: fix find error
The find command fails on circleci running ubuntu 14.04 with the
following message:

Unix filenames usually don't contain slashes (though pathnames do).
That means that '-name `./*.go'' will probably evaluate to false all the
time on this system.  You might find the '-wholename' test more useful,
or perhaps '-samefile'.  Alternatively, if you are using GNU grep, you
could use 'find ... -print0 | grep -FzZ `./*.go''.'

This fix is compatible with ubuntu 12.04

This regression is caused by
https://github.com/weaveworks/scope/pull/2068/files#diff-3072c24bd91fea6eb71aecc590951d7e
2017-02-21 17:19:19 +01:00
Michael SchubertandAlessandro Puccetti f850f4486a Update circle.yml for Ubuntu 14.04
Change the owner of "$HOME/.bashrc.backup" as the Google cloud cli wants
to backup to this file during setup and it's owned by root in the Circle
CI image.

Second, allow writes to `/usr/local/go/pkg` for `go install net` to
work.
2017-02-21 17:19:19 +01:00
Alessandro Puccetti 3f497dd82a backend: fix permissions and add hclfmt
After updating build-tools, I got new errors:

> ./tools/lint: line 134: hclfmt: command not found

> go install net: open /usr/local/go/pkg/linux_amd64_race/net.a:
> permission denied

This patch works around that by doing the same thing as:
https://github.com/weaveworks/build-tools/pull/44/files
2017-02-21 17:19:19 +01:00
Alban CrequyandAlessandro Puccetti cf507de619 integration/gce.sh: allow PROJECT override 2017-02-21 17:19:19 +01:00
Alban CrequyandAlessandro Puccetti e031728b04 bin/setup-circleci-secrets: possibly use generic credentials
If the $SECRET_SCRIPT environment variable is defined in CircleCI, this
can override the GCE credentials.

I now use "base64" instead of "openssl base64" in order to support long
lines in base64 text. It's useful when the text comes from a long
environment variable like $SECRET_SCRIPT defined in CircleCI.

Also, the $PROJECT environment variable can now override the GCE project
name. Before, it needed to be named scope-integration-tests.

This was initially merged in https://github.com/weaveworks/scope/pull/2223
Then, reverted in https://github.com/weaveworks/scope/pull/2229

Since then, it has the following fixes:

 1. fix shell "unbound variable"

Since this shell script uses "set -u", we must not use unset variables
directly.

Symptoms:
> https://circleci.com/gh/weaveworks/scope/6384
> bin/setup-circleci-secrets: line 10: SECRET_SCRIPT: unbound variable

Instead, we should use the parameter expansion "+" to test if the
variable is set. See:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02

 2. return value of read

I use the builtin "read" and this returns a non-zero value when reading
until EOF. I use "|| true" to accept that.
2017-02-21 17:19:18 +01:00
Alessandro Puccetti 6a1af9ac0e Squashed 'tools/' changes from a3b18bf..52d695c
52d695c Merge pull request #77 from kinvolk/schu/fix-relative-weave-path
77aed01 Merge pull request #73 from weaveworks/mike/sched/fix-unicode-issue
7c080f4 integration/sanity_check: disable SC1090
d6d360a integration/gce.sh: update gcloud command
e8def2c provisioning/setup: fix shellcheck SC2140
cc02224 integration/config: fix weave path
9c0d6a5 Fix config_management/README.md
334708c Merge pull request #75 from kinvolk/alban/external-build-1
da2505d gce.sh: template: print creation date
e676854 integration tests: fix user account
8530836 host nameing: add repo name
b556c0a gce.sh: fix deletion of gce instances
2ecd1c2 integration: fix GCE --zones/--zone parameter
3e863df sched: Fix unicode encoding issues
51785b5 Use rm -f and set current dir using BASH_SOURCE.
f5c6d68 Merge pull request #71 from kinvolk/schu/fix-linter-warnings
0269628 Document requirement for `lint_sh`
9a3f09e Fix linter warnings
efcf9d2 Merge pull request #53 from weaveworks/2647-testing-mvp
d31ea57 Weave Kube playbook now works with multiple nodes.
27868dd Add GCP firewall rule for FastDP crypto.
edc8bb3 Differentiated name of dev and test playbooks, to avoid confusion.
efa3df7 Moved utility Ansible Yaml to library directory.
fcd2769 Add shorthands to run Ansible playbooks against Terraform-provisioned virtual machines.
f7946fb Add shorthands to SSH into Terraform-provisioned virtual machines.
aad5c6f Mention Terraform and Ansible in README.md.
dddabf0 Add Terraform output required for templates' creation.
dcc7d02 Add Ansible configuration playbooks for development environments.
f86481c Add Ansible configuration playbooks for Docker, K8S and Weave-Net.
efedd25 Git-ignore Ansible retry files.
765c4ca Add helper functions to setup Terraform programmatically.
801dd1d Add Terraform cloud provisioning scripts.
b8017e1 Install hclfmt on CircleCI.
4815e19 Git-ignore Terraform state files.
0aaebc7 Add script to generate cartesian product of dependencies of cross-version testing.
007d90a Add script to list OS images from GCP, AWS and DO.
ca65cc0 Add script to list relevant versions of Go, Docker and Kubernetes.
aa66f44 Scripts now source dependencies using absolute path (previously breaking make depending on current directory).
7865e86 Add -p option to parallelise lint.
36c1835 Merge pull request #69 from weaveworks/mflag
9857568 Use mflag and mflagext package from weaveworks/common.
9799112 Quote bash variable.
10a36b3 Merge pull request #67 from weaveworks/shfmt-ignore
a59884f Add support for .lintignore.
03cc598 Don't lint generated protobuf code.
2b55c2d Merge pull request #66 from weaveworks/reduce-test-timeout
d4e163c Make timeout a flag
49a8609 Reduce test timeout
8fa15cb Merge pull request #63 from weaveworks/test-defaults
b783528 Tweak test script so it can be run on a mca

git-subtree-dir: tools
git-subtree-split: 52d695cc629c524ff17eb06e2de12d78701919c9
2017-02-21 16:55:24 +01:00
Alessandro Puccetti d1f5fcaaec Merge commit '6a1af9ac0e65098e0b4e914ce451f6bd1e659f60' into alessandro/integration-fix 2017-02-21 16:55:24 +01:00
abuehrle 36178e99f0 or hosts 2017-02-20 14:28:36 -06:00
Jordan PellizzariandGitHub 341446fa93 Merge pull request #2237 from weaveworks/change-instance
Add logic to remove non-transferrable state when switching Cloud instances
2017-02-20 10:47:45 -08:00
jpellizzariandJordan Pellizzari 3d13e916af Added logic to remove non-transferrable state keys when switching Cloud instances 2017-02-20 10:28:01 -08:00
Jordan PellizzariandGitHub 3e810f76e7 Merge pull request #2260 from weaveworks/2236-csrf-token
Consolidate API requests into single helper; added CSRF header
2017-02-20 10:21:51 -08:00
abuehrle 7903aea03b made suggested changes 2017-02-20 11:50:40 -06:00
Jordan Pellizzariandjpellizzari 0a99d04b4b Consolidated API requests into single helper; added CSRF header 2017-02-20 09:34:18 -08:00
Filip BarlandGitHub b5813a2551 Merge pull request #2244 from weaveworks/uncontained-filtering-fix
Fix filtering out uncontained nodes in DNS view
2017-02-20 12:16:59 +01:00
Filip Barl 2e9255b190 Addressed the comments and fixed the tests. 2017-02-20 11:40:40 +01:00
Filip Barl f1904a626f Fix filtering issue for uncontained nodes in DNS name view (#2170). 2017-02-20 11:38:21 +01:00
Filip BarlandGitHub 76fec79ad5 Merge pull request #2221 from weaveworks/layout-rendering-dynamic-optimizations
Layout rendering dynamic optimizations
2017-02-20 11:35:09 +01:00
Filip Barl e5c655aa88 Addressed the comments. 2017-02-20 11:10:44 +01:00
Filip Barl 6d0066cd38 Polished the selectors code and fixed failing tests. 2017-02-20 10:58:26 +01:00
Filip Barl b9ba83ffca Moved the node networks computation to selectors. 2017-02-20 10:58:26 +01:00
Filip Barl 5bd8e8f690 Renamed 'subLabel' to 'labelMinor' and removed 'node_count' property. 2017-02-20 10:58:26 +01:00
Filip Barl 3987e95465 Moved the node layout metrics computation to selectors. 2017-02-20 10:58:26 +01:00
Filip Barl 2a54085c62 Node transformations done from NodeContainer. Put node searching logic in selectors. 2017-02-20 10:58:26 +01:00
Jordan PellizzariandGitHub a07d01b07c Merge pull request #2232 from weaveworks/1804-loading-topologies
Show loading indicator on topology changes
2017-02-19 18:52:08 -08:00
abuehrle 435ee9f77b fixed reversed icon 2017-02-17 16:31:40 -06:00
abuehrle 7a50ca3524 multiple terminal windows 2017-02-17 16:30:10 -06:00
abuehrle 2f2fbbb631 made terminal plural 2017-02-17 16:28:26 -06:00
Mike Lang a49f1c9559 ECS service controls: Don't allow scale down below 1
as currently this would make it disappear (#2085).
See also https://github.com/weaveworks/scope/pull/2197#discussion_r100424800
2017-02-17 13:31:54 -08:00
abuehrle bb0c41e776 clarified container controls 2017-02-17 15:29:54 -06:00
abuehrle 133586aa2a ecs tasks file name updated 2017-02-17 10:36:40 -06:00
abuehrle a5b2cb89a3 update index 2017-02-17 09:59:33 -06:00
abuehrle 959aef670b updated features description 2017-02-17 09:55:30 -06:00
abuehrle b78f59e77a removed old screen captures 2017-02-17 09:54:55 -06:00
abuehrle 5e607759ce update and add new screen captures 2017-02-17 09:51:38 -06:00
Jordan PellizzariandGitHub 037fc67a65 Merge pull request #2250 from weaveworks/release-1.2
Release 1.2.1
2017-02-16 11:33:32 -08:00
jpellizzari a470704b73 Change to release script tag check to numeric equality 2017-02-16 10:34:33 -08:00
jpellizzari 42e6360c46 Docs update with new version 2017-02-16 10:34:33 -08:00
jpellizzari 7420fb16f9 Release 1.2.1 CHANGELOG updates 2017-02-16 10:33:06 -08:00
abuehrle b4affe6fcd adjust res and size 2017-02-15 20:58:41 -06:00
abuehrle 48e2508396 show highlighted search 2017-02-15 20:31:56 -06:00
abuehrle 40fae7f35b added anchor for without WC 2017-02-15 20:12:20 -06:00
abuehrle c97460655b update screen captures 2017-02-15 18:15:39 -06:00
abuehrle 55393a34ce fixed anchor tag 2017-02-15 17:54:26 -06:00
Alfonso AcostaandGitHub 9a507cc60d Merge pull request #2251 from weaveworks/revert-2249-revert-2238-docs-update-new-branch
Revert "Revert "update cloud description and small edits""
2017-02-15 20:27:44 +01:00
Alfonso AcostaandGitHub 49b90ec483 Revert "Revert "update cloud description and small edits"" 2017-02-15 20:13:03 +01:00