-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more chunk metrics #103
Conversation
@@ -131,9 +133,19 @@ func New(cfg Config, chunkStore cortex.Store) (*Ingester, error) { | |||
), | |||
chunkUtilization: prometheus.NewHistogram(prometheus.HistogramOpts{ | |||
Name: "cortex_ingester_chunk_utilization", | |||
Help: "Distribution of stored chunk utilization.", | |||
Help: "Distribution of stored chunk utilization (when stored).", | |||
Buckets: []float64{0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use https://godoc.org/github.com/prometheus/client_golang/prometheus#LinearBuckets for this instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't know about that (I don't think I added this / not sure). But nice, will use in the future.
Follow-up to #103, merged without review
LGTM. |
35679ee5 Merge pull request #110 from weaveworks/parallel-push-errors 3ae41b6f Remove unneeded if block 51ff31a5 Exit on first error 0faad9f7 Check for errors when pushing images in parallel 74dc626b Merge pull request #108 from weaveworks/disable-apt-daily b4f1d918 Merge pull request #107 from weaveworks/docker-17-update 7436aa14 Override apt daily job to not run immediately on boot 7980f152 Merge pull request #106 from weaveworks/document-docker-install-role f741e533 Bump to Docker 17.06 from CE repo 61796a1b Update Docker CE Debian repo details 0d86f5e1 Allow for Docker package to be named docker-ce 065c68d4 Document selection of Docker installation role. 38090539 Just --porcelain; it defaults to v1 11400eaa Merge pull request #105 from weaveworks/remove-weaveplugin-remnants b8b4d64c remove weaveplugin remnants 35099c93 Merge pull request #104 from weaveworks/pull-docker-py cdd48fc3 Pull docker-py to speed tests/builds up. e1c6c24b Merge pull request #103 from weaveworks/test-build-tags d5d71e06 Add -tags option so callers can pass in build tags 8949b2b5 Merge pull request #98 from weaveworks/git-status-tag ac30687f Merge pull request #100 from weaveworks/python_linting 4b125b55 Pin yapf & flake8 versions 7efb4853 Lint python linting function 444755b7 Swap diff direction to reflect changes required c5b24346 Install flake8 & yapf 5600eac5 Lint python in build-tools repo 0b02ca93 Add python linting c011c0dc Merge pull request #79 from kinvolk/schu/python-shebang 6577d078 Merge pull request #99 from weaveworks/shfmt-version 00ce0dcd Use git status instead of diff to add 'WIP' tag 411fd13a Use shfmt v1.3.0 instead of latest from master. 0d6d4da9 Run shfmt 1.3 on the code. 5cdba320 Add sudo c322ca83 circle.yml: Install shfmt binary. e59c2251 Install shfmt 1.3 binary. 30706e6b Install pyhcl in the build container. 960d2228 Merge pull request #97 from kinvolk/alban/update-shfmt-3 1d535c7b shellcheck: fix escaping issue 55424986 Merge pull request #96 from kinvolk/alban/update-shfmt-2 32f7cc51 shfmt: fix coding style 09f72af0 lint: print the diff in case of error 571c7d71 Merge pull request #95 from kinvolk/alban/update-shfmt bead6edd Update for latest shfmt b08dc4d6 Update for latest shfmt (#94) 2ed8aaa8 Add no-race argument to test script (#92) 80dd78e6 Merge pull request #91 from weaveworks/upgrade-go-1.8.1 08dcd0df Please ./lint as shfmt changed its rules between 1.0.0 and 1.3.0. a8bc9ab0 Upgrade default Go version to 1.8.1. 41c56221 Merge pull request #90 from weaveworks/build-golang-service-conf e8ebdd5e broaden imagetag regex to fix haskell build image ba3fbfa6 Merge pull request #89 from weaveworks/build-golang-service-conf e506f1b9 Fix up test script for updated shfmt 9216db86 Add stuff for service-conf build to build-goland image 66a9a93c Merge pull request #88 from weaveworks/haskell-image cb3e3a25 shfmt 74a5239e Haskell build image 4ccd42b9 Trying circle quay login b2c295fc Merge branch 'common-build' 0ac746fa Trim quay prefix in circle script c405b311 Merge pull request #87 from weaveworks/common-build 9672d7cb Push build images to quay as they have sane robot accounts a2bf1123 Review feedback fef9b7dd Add protobuf tools 10a77ead Update readme 254f2660 Don't need the image name in ffb59fcb Adding a weaveworks/build-golang image with tags b8173683 Update min Weave Net docker version cf87ca33 Merge pull request #86 from weaveworks/lock-kubeadm-version 3ae69196 Add example of custom SSH private key to tf_ssh's usage. cf8bd8af Add example of custom SSH private key to tf_ansi's usage. c7d33700 Lock kubeadm's Kubernetes version. faaaa6f2 Merge pull request #84 from weaveworks/centos-rhel ef552e7d Select weave-kube YAML URL based on K8S version. b4c11982 Upgrade default kubernetes_version to 1.6.1. b82805ef Use a fixed version of kubeadm. f33888bc Factorise and make kubeconfig option optional. f7b8b897 Install EPEL repo for CentOS. 615917a6 Fix error in decrypting AWS access key and secret. 86f97b42 Add CentOS 7 AMI and username for AWS via Terraform. eafd810e Add tf_ansi example with Ansible variables. 2b05787f Skip setup of Docker over TCP for CentOS/RHEL. 84c420b6 Add docker-ce role for CentOS/RHEL. 00a820cd Add setup_weave-net_debug.yml playbook for user issues' debugging. 3eae480b Upgrade default kubernetes_version to 1.5.4. 753921cf Allow injection of Docker installation role. e1ff90d2 Fix kubectl taint command for 1.5. b989e97a Fix typo in kubectl taint for single node K8S cluster. 541f58d2 Remove 'install_recommends: no' for ethtool. c3f97115 Make Ansible role docker-from-get.docker.com work on RHEL/CentOS. 038c0ae8 Add frequently used OS images, for convenience. d30649f0 Add --insecure-registry to docker.conf 1dd92188 shfmt -i 4 -w push-images 6de96ac7 Add option to not push docker hub images 310f53dc Add push-images script from cortex 8641381b Add port 6443 to kubeadm join commands for K8S 1.6+. 50bf0bc6 Force type of K8S token to string. 08ab1c0c Remove trailing whitespaces. ae9efb83 Enable testing against K8S release candidates. 9e32194c Secure GCP servers for Scope: open port 80. a22536ac Secure GCP servers for Scope. 89c3a29b Merge pull request #78 from weaveworks/lint-merge-rebase-issue-in-docs 73ad56d7 Add linter function to avoid bad merge/rebase artefact 31d069d6 Change Python shebang to `#!/usr/bin/env python` 52d695cc Merge pull request #77 from kinvolk/schu/fix-relative-weave-path 77aed016 Merge pull request #73 from weaveworks/mike/sched/fix-unicode-issue 7c080f45 integration/sanity_check: disable SC1090 d6d360a1 integration/gce.sh: update gcloud command e8def2c4 provisioning/setup: fix shellcheck SC2140 cc022241 integration/config: fix weave path 9c0d6a55 Fix config_management/README.md 334708ca Merge pull request #75 from kinvolk/alban/external-build-1 da2505d6 gce.sh: template: print creation date e6768547 integration tests: fix user account 85308369 host nameing: add repo name b556c0ad gce.sh: fix deletion of gce instances 2ecd1c2c integration: fix GCE --zones/--zone parameter 3e863df9 sched: Fix unicode encoding issues 51785b5f Use rm -f and set current dir using BASH_SOURCE. f5c6d68c Merge pull request #71 from kinvolk/schu/fix-linter-warnings 0269628e Document requirement for `lint_sh` 9a3f09e6 Fix linter warnings efcf9d21 Merge pull request #53 from weaveworks/2647-testing-mvp d31ea574 Weave Kube playbook now works with multiple nodes. 27868dd5 Add GCP firewall rule for FastDP crypto. edc8bb3a Differentiated name of dev and test playbooks, to avoid confusion. efa3df7c Moved utility Ansible Yaml to library directory. fcd2769e Add shorthands to run Ansible playbooks against Terraform-provisioned virtual machines. f7946fbb Add shorthands to SSH into Terraform-provisioned virtual machines. aad5c6f1 Mention Terraform and Ansible in README.md. dddabf0e Add Terraform output required for templates' creation. dcc7d025 Add Ansible configuration playbooks for development environments. f86481ca Add Ansible configuration playbooks for Docker, K8S and Weave-Net. efedd258 Git-ignore Ansible retry files. 765c4ca1 Add helper functions to setup Terraform programmatically. 801dd1d1 Add Terraform cloud provisioning scripts. b8017e19 Install hclfmt on CircleCI. 4815e19b Git-ignore Terraform state files. 0aaebc7d Add script to generate cartesian product of dependencies of cross-version testing. 007d90ab Add script to list OS images from GCP, AWS and DO. ca65cc02 Add script to list relevant versions of Go, Docker and Kubernetes. aa66f447 Scripts now source dependencies using absolute path (previously breaking make depending on current directory). 7865e86d Add -p option to parallelise lint. 36c1835b Merge pull request #69 from weaveworks/mflag 98575686 Use mflag and mflagext package from weaveworks/common. 97991128 Quote bash variable. 10a36b33 Merge pull request #67 from weaveworks/shfmt-ignore a59884f3 Add support for .lintignore. 03cc5989 Don't lint generated protobuf code. 2b55c2df Merge pull request #66 from weaveworks/reduce-test-timeout d4e163cc Make timeout a flag 49a86091 Reduce test timeout 8fa15cba Merge pull request #63 from weaveworks/test-defaults git-subtree-dir: tools git-subtree-split: 35679ee5ff17c4edf864b7c43dc70a40337fcd80
35679ee5 Merge pull request #110 from weaveworks/parallel-push-errors 3ae41b6f Remove unneeded if block 51ff31a5 Exit on first error 0faad9f7 Check for errors when pushing images in parallel 74dc626b Merge pull request #108 from weaveworks/disable-apt-daily b4f1d918 Merge pull request #107 from weaveworks/docker-17-update 7436aa14 Override apt daily job to not run immediately on boot 7980f152 Merge pull request #106 from weaveworks/document-docker-install-role f741e533 Bump to Docker 17.06 from CE repo 61796a1b Update Docker CE Debian repo details 0d86f5e1 Allow for Docker package to be named docker-ce 065c68d4 Document selection of Docker installation role. 38090539 Just --porcelain; it defaults to v1 11400eaa Merge pull request #105 from weaveworks/remove-weaveplugin-remnants b8b4d64c remove weaveplugin remnants 35099c93 Merge pull request #104 from weaveworks/pull-docker-py cdd48fc3 Pull docker-py to speed tests/builds up. e1c6c24b Merge pull request #103 from weaveworks/test-build-tags d5d71e06 Add -tags option so callers can pass in build tags 8949b2b5 Merge pull request #98 from weaveworks/git-status-tag ac30687f Merge pull request #100 from weaveworks/python_linting 4b125b55 Pin yapf & flake8 versions 7efb4853 Lint python linting function 444755b7 Swap diff direction to reflect changes required c5b24346 Install flake8 & yapf 5600eac5 Lint python in build-tools repo 0b02ca93 Add python linting c011c0dc Merge pull request #79 from kinvolk/schu/python-shebang 6577d078 Merge pull request #99 from weaveworks/shfmt-version 00ce0dcd Use git status instead of diff to add 'WIP' tag 411fd13a Use shfmt v1.3.0 instead of latest from master. 0d6d4da9 Run shfmt 1.3 on the code. 5cdba320 Add sudo c322ca83 circle.yml: Install shfmt binary. e59c2251 Install shfmt 1.3 binary. 30706e6b Install pyhcl in the build container. 960d2228 Merge pull request #97 from kinvolk/alban/update-shfmt-3 1d535c7b shellcheck: fix escaping issue 55424986 Merge pull request #96 from kinvolk/alban/update-shfmt-2 32f7cc51 shfmt: fix coding style 09f72af0 lint: print the diff in case of error 571c7d71 Merge pull request #95 from kinvolk/alban/update-shfmt bead6edd Update for latest shfmt b08dc4d6 Update for latest shfmt (#94) 2ed8aaa8 Add no-race argument to test script (#92) 80dd78e6 Merge pull request #91 from weaveworks/upgrade-go-1.8.1 08dcd0df Please ./lint as shfmt changed its rules between 1.0.0 and 1.3.0. a8bc9ab0 Upgrade default Go version to 1.8.1. 41c56221 Merge pull request #90 from weaveworks/build-golang-service-conf e8ebdd5e broaden imagetag regex to fix haskell build image ba3fbfa6 Merge pull request #89 from weaveworks/build-golang-service-conf e506f1b9 Fix up test script for updated shfmt 9216db86 Add stuff for service-conf build to build-goland image 66a9a93c Merge pull request #88 from weaveworks/haskell-image cb3e3a25 shfmt 74a5239e Haskell build image 4ccd42b9 Trying circle quay login b2c295fc Merge branch 'common-build' 0ac746fa Trim quay prefix in circle script c405b311 Merge pull request #87 from weaveworks/common-build 9672d7cb Push build images to quay as they have sane robot accounts a2bf1123 Review feedback fef9b7dd Add protobuf tools 10a77ead Update readme 254f2660 Don't need the image name in ffb59fcb Adding a weaveworks/build-golang image with tags b8173683 Update min Weave Net docker version cf87ca33 Merge pull request #86 from weaveworks/lock-kubeadm-version 3ae69196 Add example of custom SSH private key to tf_ssh's usage. cf8bd8af Add example of custom SSH private key to tf_ansi's usage. c7d33700 Lock kubeadm's Kubernetes version. faaaa6f2 Merge pull request #84 from weaveworks/centos-rhel ef552e7d Select weave-kube YAML URL based on K8S version. b4c11982 Upgrade default kubernetes_version to 1.6.1. b82805ef Use a fixed version of kubeadm. f33888bc Factorise and make kubeconfig option optional. f7b8b897 Install EPEL repo for CentOS. 615917a6 Fix error in decrypting AWS access key and secret. 86f97b42 Add CentOS 7 AMI and username for AWS via Terraform. eafd810e Add tf_ansi example with Ansible variables. 2b05787f Skip setup of Docker over TCP for CentOS/RHEL. 84c420b6 Add docker-ce role for CentOS/RHEL. 00a820cd Add setup_weave-net_debug.yml playbook for user issues' debugging. 3eae480b Upgrade default kubernetes_version to 1.5.4. 753921cf Allow injection of Docker installation role. e1ff90d2 Fix kubectl taint command for 1.5. b989e97a Fix typo in kubectl taint for single node K8S cluster. 541f58d2 Remove 'install_recommends: no' for ethtool. c3f97115 Make Ansible role docker-from-get.docker.com work on RHEL/CentOS. 038c0ae8 Add frequently used OS images, for convenience. d30649f0 Add --insecure-registry to docker.conf 1dd92188 shfmt -i 4 -w push-images 6de96ac7 Add option to not push docker hub images 310f53dc Add push-images script from cortex 8641381b Add port 6443 to kubeadm join commands for K8S 1.6+. 50bf0bc6 Force type of K8S token to string. 08ab1c0c Remove trailing whitespaces. ae9efb83 Enable testing against K8S release candidates. 9e32194c Secure GCP servers for Scope: open port 80. a22536ac Secure GCP servers for Scope. 89c3a29b Merge pull request #78 from weaveworks/lint-merge-rebase-issue-in-docs 73ad56d7 Add linter function to avoid bad merge/rebase artefact 31d069d6 Change Python shebang to `#!/usr/bin/env python` 52d695cc Merge pull request #77 from kinvolk/schu/fix-relative-weave-path 77aed016 Merge pull request #73 from weaveworks/mike/sched/fix-unicode-issue 7c080f45 integration/sanity_check: disable SC1090 d6d360a1 integration/gce.sh: update gcloud command e8def2c4 provisioning/setup: fix shellcheck SC2140 cc022241 integration/config: fix weave path 9c0d6a55 Fix config_management/README.md 334708ca Merge pull request #75 from kinvolk/alban/external-build-1 da2505d6 gce.sh: template: print creation date e6768547 integration tests: fix user account 85308369 host nameing: add repo name b556c0ad gce.sh: fix deletion of gce instances 2ecd1c2c integration: fix GCE --zones/--zone parameter 3e863df9 sched: Fix unicode encoding issues 51785b5f Use rm -f and set current dir using BASH_SOURCE. f5c6d68c Merge pull request #71 from kinvolk/schu/fix-linter-warnings 0269628e Document requirement for `lint_sh` 9a3f09e6 Fix linter warnings efcf9d21 Merge pull request #53 from weaveworks/2647-testing-mvp d31ea574 Weave Kube playbook now works with multiple nodes. 27868dd5 Add GCP firewall rule for FastDP crypto. edc8bb3a Differentiated name of dev and test playbooks, to avoid confusion. efa3df7c Moved utility Ansible Yaml to library directory. fcd2769e Add shorthands to run Ansible playbooks against Terraform-provisioned virtual machines. f7946fbb Add shorthands to SSH into Terraform-provisioned virtual machines. aad5c6f1 Mention Terraform and Ansible in README.md. dddabf0e Add Terraform output required for templates' creation. dcc7d025 Add Ansible configuration playbooks for development environments. f86481ca Add Ansible configuration playbooks for Docker, K8S and Weave-Net. efedd258 Git-ignore Ansible retry files. 765c4ca1 Add helper functions to setup Terraform programmatically. 801dd1d1 Add Terraform cloud provisioning scripts. b8017e19 Install hclfmt on CircleCI. 4815e19b Git-ignore Terraform state files. 0aaebc7d Add script to generate cartesian product of dependencies of cross-version testing. 007d90ab Add script to list OS images from GCP, AWS and DO. ca65cc02 Add script to list relevant versions of Go, Docker and Kubernetes. aa66f447 Scripts now source dependencies using absolute path (previously breaking make depending on current directory). 7865e86d Add -p option to parallelise lint. 36c1835b Merge pull request #69 from weaveworks/mflag 98575686 Use mflag and mflagext package from weaveworks/common. 97991128 Quote bash variable. 10a36b33 Merge pull request #67 from weaveworks/shfmt-ignore a59884f3 Add support for .lintignore. 03cc5989 Don't lint generated protobuf code. 2b55c2df Merge pull request #66 from weaveworks/reduce-test-timeout d4e163cc Make timeout a flag 49a86091 Reduce test timeout 8fa15cba Merge pull request #63 from weaveworks/test-defaults git-subtree-dir: tools git-subtree-split: 35679ee5ff17c4edf864b7c43dc70a40337fcd80
1fe184f Bazel rules for building gogo protobufs (#123) b917bb8 Merge pull request #122 from weaveworks/fix-scope-gc c029ce0 Add regex to match scope VMs 0d4824b Merge pull request #121 from weaveworks/provisioning-readme-terraform 5a82d64 Move terraform instructions to tf section d285d78 Merge pull request #120 from weaveworks/gocyclo-return-value 76b94a4 Do not spawn subshell when reading cyclo output 93b3c0d Use golang:1.9.2-stretch image d40728f Gocyclo should return error code if issues detected c4ac1c3 Merge pull request #114 from weaveworks/tune-spell-check 8980656 Only check files 12ebc73 Don't spell-check pki files 578904a Special-case spell-check the same way we do code checks e772ed5 Special-case on mime type and extension using just patterns ae82b50 Merge pull request #117 from weaveworks/test-verbose 8943473 Propagate verbose flag to 'go test'. 7c79b43 Merge pull request #113 from weaveworks/update-shfmt-instructions 258ef01 Merge pull request #115 from weaveworks/extra-linting e690202 Use tools in built image to lint itself 126eb56 Add shellcheck to bring linting in line with scope 63ad68f Don't run lint on files under .git 51d908a Update shfmt instructions e91cb0d Merge pull request #112 from weaveworks/add-python-lint-tools 0c87554 Add yapf and flake8 to golang build image 35679ee Merge pull request #110 from weaveworks/parallel-push-errors 3ae41b6 Remove unneeded if block 51ff31a Exit on first error 0faad9f Check for errors when pushing images in parallel 74dc626 Merge pull request #108 from weaveworks/disable-apt-daily b4f1d91 Merge pull request #107 from weaveworks/docker-17-update 7436aa1 Override apt daily job to not run immediately on boot 7980f15 Merge pull request #106 from weaveworks/document-docker-install-role f741e53 Bump to Docker 17.06 from CE repo 61796a1 Update Docker CE Debian repo details 0d86f5e Allow for Docker package to be named docker-ce 065c68d Document selection of Docker installation role. 3809053 Just --porcelain; it defaults to v1 11400ea Merge pull request #105 from weaveworks/remove-weaveplugin-remnants b8b4d64 remove weaveplugin remnants 35099c9 Merge pull request #104 from weaveworks/pull-docker-py cdd48fc Pull docker-py to speed tests/builds up. e1c6c24 Merge pull request #103 from weaveworks/test-build-tags d5d71e0 Add -tags option so callers can pass in build tags 8949b2b Merge pull request #98 from weaveworks/git-status-tag ac30687 Merge pull request #100 from weaveworks/python_linting 4b125b5 Pin yapf & flake8 versions 7efb485 Lint python linting function 444755b Swap diff direction to reflect changes required c5b2434 Install flake8 & yapf 5600eac Lint python in build-tools repo 0b02ca9 Add python linting c011c0d Merge pull request #79 from kinvolk/schu/python-shebang 6577d07 Merge pull request #99 from weaveworks/shfmt-version 00ce0dc Use git status instead of diff to add 'WIP' tag 411fd13 Use shfmt v1.3.0 instead of latest from master. 0d6d4da Run shfmt 1.3 on the code. 5cdba32 Add sudo c322ca8 circle.yml: Install shfmt binary. e59c225 Install shfmt 1.3 binary. 30706e6 Install pyhcl in the build container. 960d222 Merge pull request #97 from kinvolk/alban/update-shfmt-3 1d535c7 shellcheck: fix escaping issue 5542498 Merge pull request #96 from kinvolk/alban/update-shfmt-2 32f7cc5 shfmt: fix coding style 09f72af lint: print the diff in case of error 571c7d7 Merge pull request #95 from kinvolk/alban/update-shfmt bead6ed Update for latest shfmt b08dc4d Update for latest shfmt (#94) 2ed8aaa Add no-race argument to test script (#92) 80dd78e Merge pull request #91 from weaveworks/upgrade-go-1.8.1 08dcd0d Please ./lint as shfmt changed its rules between 1.0.0 and 1.3.0. a8bc9ab Upgrade default Go version to 1.8.1. 41c5622 Merge pull request #90 from weaveworks/build-golang-service-conf e8ebdd5 broaden imagetag regex to fix haskell build image ba3fbfa Merge pull request #89 from weaveworks/build-golang-service-conf e506f1b Fix up test script for updated shfmt 9216db8 Add stuff for service-conf build to build-goland image 66a9a93 Merge pull request #88 from weaveworks/haskell-image cb3e3a2 shfmt 74a5239 Haskell build image 4ccd42b Trying circle quay login b2c295f Merge branch 'common-build' 0ac746f Trim quay prefix in circle script c405b31 Merge pull request #87 from weaveworks/common-build 9672d7c Push build images to quay as they have sane robot accounts a2bf112 Review feedback fef9b7d Add protobuf tools 10a77ea Update readme 254f266 Don't need the image name in ffb59fc Adding a weaveworks/build-golang image with tags b817368 Update min Weave Net docker version cf87ca3 Merge pull request #86 from weaveworks/lock-kubeadm-version 3ae6919 Add example of custom SSH private key to tf_ssh's usage. cf8bd8a Add example of custom SSH private key to tf_ansi's usage. c7d3370 Lock kubeadm's Kubernetes version. faaaa6f Merge pull request #84 from weaveworks/centos-rhel ef552e7 Select weave-kube YAML URL based on K8S version. b4c1198 Upgrade default kubernetes_version to 1.6.1. b82805e Use a fixed version of kubeadm. f33888b Factorise and make kubeconfig option optional. f7b8b89 Install EPEL repo for CentOS. 615917a Fix error in decrypting AWS access key and secret. 86f97b4 Add CentOS 7 AMI and username for AWS via Terraform. eafd810 Add tf_ansi example with Ansible variables. 2b05787 Skip setup of Docker over TCP for CentOS/RHEL. 84c420b Add docker-ce role for CentOS/RHEL. 00a820c Add setup_weave-net_debug.yml playbook for user issues' debugging. 3eae480 Upgrade default kubernetes_version to 1.5.4. 753921c Allow injection of Docker installation role. e1ff90d Fix kubectl taint command for 1.5. b989e97 Fix typo in kubectl taint for single node K8S cluster. 541f58d Remove 'install_recommends: no' for ethtool. c3f9711 Make Ansible role docker-from-get.docker.com work on RHEL/CentOS. 038c0ae Add frequently used OS images, for convenience. d30649f Add --insecure-registry to docker.conf 1dd9218 shfmt -i 4 -w push-images 6de96ac Add option to not push docker hub images 310f53d Add push-images script from cortex 8641381 Add port 6443 to kubeadm join commands for K8S 1.6+. 50bf0bc Force type of K8S token to string. 08ab1c0 Remove trailing whitespaces. ae9efb8 Enable testing against K8S release candidates. 9e32194 Secure GCP servers for Scope: open port 80. a22536a Secure GCP servers for Scope. 89c3a29 Merge pull request #78 from weaveworks/lint-merge-rebase-issue-in-docs 73ad56d Add linter function to avoid bad merge/rebase artefact 31d069d Change Python shebang to `#!/usr/bin/env python` 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 git-subtree-dir: tools git-subtree-split: 1fe184f1f5330c4444c4377bef84f2d30e7dc7fe
* Squashed 'tools/' changes from b783528..1fe184f 1fe184f Bazel rules for building gogo protobufs (#123) b917bb8 Merge pull request #122 from weaveworks/fix-scope-gc c029ce0 Add regex to match scope VMs 0d4824b Merge pull request #121 from weaveworks/provisioning-readme-terraform 5a82d64 Move terraform instructions to tf section d285d78 Merge pull request #120 from weaveworks/gocyclo-return-value 76b94a4 Do not spawn subshell when reading cyclo output 93b3c0d Use golang:1.9.2-stretch image d40728f Gocyclo should return error code if issues detected c4ac1c3 Merge pull request #114 from weaveworks/tune-spell-check 8980656 Only check files 12ebc73 Don't spell-check pki files 578904a Special-case spell-check the same way we do code checks e772ed5 Special-case on mime type and extension using just patterns ae82b50 Merge pull request #117 from weaveworks/test-verbose 8943473 Propagate verbose flag to 'go test'. 7c79b43 Merge pull request #113 from weaveworks/update-shfmt-instructions 258ef01 Merge pull request #115 from weaveworks/extra-linting e690202 Use tools in built image to lint itself 126eb56 Add shellcheck to bring linting in line with scope 63ad68f Don't run lint on files under .git 51d908a Update shfmt instructions e91cb0d Merge pull request #112 from weaveworks/add-python-lint-tools 0c87554 Add yapf and flake8 to golang build image 35679ee Merge pull request #110 from weaveworks/parallel-push-errors 3ae41b6 Remove unneeded if block 51ff31a Exit on first error 0faad9f Check for errors when pushing images in parallel 74dc626 Merge pull request #108 from weaveworks/disable-apt-daily b4f1d91 Merge pull request #107 from weaveworks/docker-17-update 7436aa1 Override apt daily job to not run immediately on boot 7980f15 Merge pull request #106 from weaveworks/document-docker-install-role f741e53 Bump to Docker 17.06 from CE repo 61796a1 Update Docker CE Debian repo details 0d86f5e Allow for Docker package to be named docker-ce 065c68d Document selection of Docker installation role. 3809053 Just --porcelain; it defaults to v1 11400ea Merge pull request #105 from weaveworks/remove-weaveplugin-remnants b8b4d64 remove weaveplugin remnants 35099c9 Merge pull request #104 from weaveworks/pull-docker-py cdd48fc Pull docker-py to speed tests/builds up. e1c6c24 Merge pull request #103 from weaveworks/test-build-tags d5d71e0 Add -tags option so callers can pass in build tags 8949b2b Merge pull request #98 from weaveworks/git-status-tag ac30687 Merge pull request #100 from weaveworks/python_linting 4b125b5 Pin yapf & flake8 versions 7efb485 Lint python linting function 444755b Swap diff direction to reflect changes required c5b2434 Install flake8 & yapf 5600eac Lint python in build-tools repo 0b02ca9 Add python linting c011c0d Merge pull request #79 from kinvolk/schu/python-shebang 6577d07 Merge pull request #99 from weaveworks/shfmt-version 00ce0dc Use git status instead of diff to add 'WIP' tag 411fd13 Use shfmt v1.3.0 instead of latest from master. 0d6d4da Run shfmt 1.3 on the code. 5cdba32 Add sudo c322ca8 circle.yml: Install shfmt binary. e59c225 Install shfmt 1.3 binary. 30706e6 Install pyhcl in the build container. 960d222 Merge pull request #97 from kinvolk/alban/update-shfmt-3 1d535c7 shellcheck: fix escaping issue 5542498 Merge pull request #96 from kinvolk/alban/update-shfmt-2 32f7cc5 shfmt: fix coding style 09f72af lint: print the diff in case of error 571c7d7 Merge pull request #95 from kinvolk/alban/update-shfmt bead6ed Update for latest shfmt b08dc4d Update for latest shfmt (#94) 2ed8aaa Add no-race argument to test script (#92) 80dd78e Merge pull request #91 from weaveworks/upgrade-go-1.8.1 08dcd0d Please ./lint as shfmt changed its rules between 1.0.0 and 1.3.0. a8bc9ab Upgrade default Go version to 1.8.1. 41c5622 Merge pull request #90 from weaveworks/build-golang-service-conf e8ebdd5 broaden imagetag regex to fix haskell build image ba3fbfa Merge pull request #89 from weaveworks/build-golang-service-conf e506f1b Fix up test script for updated shfmt 9216db8 Add stuff for service-conf build to build-goland image 66a9a93 Merge pull request #88 from weaveworks/haskell-image cb3e3a2 shfmt 74a5239 Haskell build image 4ccd42b Trying circle quay login b2c295f Merge branch 'common-build' 0ac746f Trim quay prefix in circle script c405b31 Merge pull request #87 from weaveworks/common-build 9672d7c Push build images to quay as they have sane robot accounts a2bf112 Review feedback fef9b7d Add protobuf tools 10a77ea Update readme 254f266 Don't need the image name in ffb59fc Adding a weaveworks/build-golang image with tags b817368 Update min Weave Net docker version cf87ca3 Merge pull request #86 from weaveworks/lock-kubeadm-version 3ae6919 Add example of custom SSH private key to tf_ssh's usage. cf8bd8a Add example of custom SSH private key to tf_ansi's usage. c7d3370 Lock kubeadm's Kubernetes version. faaaa6f Merge pull request #84 from weaveworks/centos-rhel ef552e7 Select weave-kube YAML URL based on K8S version. b4c1198 Upgrade default kubernetes_version to 1.6.1. b82805e Use a fixed version of kubeadm. f33888b Factorise and make kubeconfig option optional. f7b8b89 Install EPEL repo for CentOS. 615917a Fix error in decrypting AWS access key and secret. 86f97b4 Add CentOS 7 AMI and username for AWS via Terraform. eafd810 Add tf_ansi example with Ansible variables. 2b05787 Skip setup of Docker over TCP for CentOS/RHEL. 84c420b Add docker-ce role for CentOS/RHEL. 00a820c Add setup_weave-net_debug.yml playbook for user issues' debugging. 3eae480 Upgrade default kubernetes_version to 1.5.4. 753921c Allow injection of Docker installation role. e1ff90d Fix kubectl taint command for 1.5. b989e97 Fix typo in kubectl taint for single node K8S cluster. 541f58d Remove 'install_recommends: no' for ethtool. c3f9711 Make Ansible role docker-from-get.docker.com work on RHEL/CentOS. 038c0ae Add frequently used OS images, for convenience. d30649f Add --insecure-registry to docker.conf 1dd9218 shfmt -i 4 -w push-images 6de96ac Add option to not push docker hub images 310f53d Add push-images script from cortex 8641381 Add port 6443 to kubeadm join commands for K8S 1.6+. 50bf0bc Force type of K8S token to string. 08ab1c0 Remove trailing whitespaces. ae9efb8 Enable testing against K8S release candidates. 9e32194 Secure GCP servers for Scope: open port 80. a22536a Secure GCP servers for Scope. 89c3a29 Merge pull request #78 from weaveworks/lint-merge-rebase-issue-in-docs 73ad56d Add linter function to avoid bad merge/rebase artefact 31d069d Change Python shebang to `#!/usr/bin/env python` 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 git-subtree-dir: tools git-subtree-split: 1fe184f1f5330c4444c4377bef84f2d30e7dc7fe * Use keyed fields in composite literal * Squashed 'tools/' changes from 1fe184f..ccc8316 ccc8316 Revert "Gocyclo should return error code if issues detected" (#124) git-subtree-dir: tools git-subtree-split: ccc831682b5d51e068b17fe9ad482f025abd1fbb
7fab441 Rename bazel to bazel-rules (#125) ccc8316 Revert "Gocyclo should return error code if issues detected" (#124) 1fe184f Bazel rules for building gogo protobufs (#123) b917bb8 Merge pull request #122 from weaveworks/fix-scope-gc c029ce0 Add regex to match scope VMs 0d4824b Merge pull request #121 from weaveworks/provisioning-readme-terraform 5a82d64 Move terraform instructions to tf section d285d78 Merge pull request #120 from weaveworks/gocyclo-return-value 76b94a4 Do not spawn subshell when reading cyclo output 93b3c0d Use golang:1.9.2-stretch image d40728f Gocyclo should return error code if issues detected c4ac1c3 Merge pull request #114 from weaveworks/tune-spell-check 8980656 Only check files 12ebc73 Don't spell-check pki files 578904a Special-case spell-check the same way we do code checks e772ed5 Special-case on mime type and extension using just patterns ae82b50 Merge pull request #117 from weaveworks/test-verbose 8943473 Propagate verbose flag to 'go test'. 7c79b43 Merge pull request #113 from weaveworks/update-shfmt-instructions 258ef01 Merge pull request #115 from weaveworks/extra-linting e690202 Use tools in built image to lint itself 126eb56 Add shellcheck to bring linting in line with scope 63ad68f Don't run lint on files under .git 51d908a Update shfmt instructions e91cb0d Merge pull request #112 from weaveworks/add-python-lint-tools 0c87554 Add yapf and flake8 to golang build image 35679ee Merge pull request #110 from weaveworks/parallel-push-errors 3ae41b6 Remove unneeded if block 51ff31a Exit on first error 0faad9f Check for errors when pushing images in parallel 74dc626 Merge pull request #108 from weaveworks/disable-apt-daily b4f1d91 Merge pull request #107 from weaveworks/docker-17-update 7436aa1 Override apt daily job to not run immediately on boot 7980f15 Merge pull request #106 from weaveworks/document-docker-install-role f741e53 Bump to Docker 17.06 from CE repo 61796a1 Update Docker CE Debian repo details 0d86f5e Allow for Docker package to be named docker-ce 065c68d Document selection of Docker installation role. 3809053 Just --porcelain; it defaults to v1 11400ea Merge pull request #105 from weaveworks/remove-weaveplugin-remnants b8b4d64 remove weaveplugin remnants 35099c9 Merge pull request #104 from weaveworks/pull-docker-py cdd48fc Pull docker-py to speed tests/builds up. e1c6c24 Merge pull request #103 from weaveworks/test-build-tags d5d71e0 Add -tags option so callers can pass in build tags 8949b2b Merge pull request #98 from weaveworks/git-status-tag ac30687 Merge pull request #100 from weaveworks/python_linting 4b125b5 Pin yapf & flake8 versions 7efb485 Lint python linting function 444755b Swap diff direction to reflect changes required c5b2434 Install flake8 & yapf 5600eac Lint python in build-tools repo 0b02ca9 Add python linting c011c0d Merge pull request #79 from kinvolk/schu/python-shebang 6577d07 Merge pull request #99 from weaveworks/shfmt-version 00ce0dc Use git status instead of diff to add 'WIP' tag 411fd13 Use shfmt v1.3.0 instead of latest from master. 0d6d4da Run shfmt 1.3 on the code. 5cdba32 Add sudo c322ca8 circle.yml: Install shfmt binary. e59c225 Install shfmt 1.3 binary. 30706e6 Install pyhcl in the build container. 960d222 Merge pull request #97 from kinvolk/alban/update-shfmt-3 1d535c7 shellcheck: fix escaping issue 5542498 Merge pull request #96 from kinvolk/alban/update-shfmt-2 32f7cc5 shfmt: fix coding style 09f72af lint: print the diff in case of error 571c7d7 Merge pull request #95 from kinvolk/alban/update-shfmt bead6ed Update for latest shfmt b08dc4d Update for latest shfmt (#94) 2ed8aaa Add no-race argument to test script (#92) 80dd78e Merge pull request #91 from weaveworks/upgrade-go-1.8.1 08dcd0d Please ./lint as shfmt changed its rules between 1.0.0 and 1.3.0. a8bc9ab Upgrade default Go version to 1.8.1. 41c5622 Merge pull request #90 from weaveworks/build-golang-service-conf e8ebdd5 broaden imagetag regex to fix haskell build image ba3fbfa Merge pull request #89 from weaveworks/build-golang-service-conf e506f1b Fix up test script for updated shfmt 9216db8 Add stuff for service-conf build to build-goland image 66a9a93 Merge pull request #88 from weaveworks/haskell-image cb3e3a2 shfmt 74a5239 Haskell build image 4ccd42b Trying circle quay login b2c295f Merge branch 'common-build' 0ac746f Trim quay prefix in circle script c405b31 Merge pull request #87 from weaveworks/common-build 9672d7c Push build images to quay as they have sane robot accounts a2bf112 Review feedback fef9b7d Add protobuf tools 10a77ea Update readme 254f266 Don't need the image name in ffb59fc Adding a weaveworks/build-golang image with tags b817368 Update min Weave Net docker version cf87ca3 Merge pull request #86 from weaveworks/lock-kubeadm-version 3ae6919 Add example of custom SSH private key to tf_ssh's usage. cf8bd8a Add example of custom SSH private key to tf_ansi's usage. c7d3370 Lock kubeadm's Kubernetes version. faaaa6f Merge pull request #84 from weaveworks/centos-rhel ef552e7 Select weave-kube YAML URL based on K8S version. b4c1198 Upgrade default kubernetes_version to 1.6.1. b82805e Use a fixed version of kubeadm. f33888b Factorise and make kubeconfig option optional. f7b8b89 Install EPEL repo for CentOS. 615917a Fix error in decrypting AWS access key and secret. 86f97b4 Add CentOS 7 AMI and username for AWS via Terraform. eafd810 Add tf_ansi example with Ansible variables. 2b05787 Skip setup of Docker over TCP for CentOS/RHEL. 84c420b Add docker-ce role for CentOS/RHEL. 00a820c Add setup_weave-net_debug.yml playbook for user issues' debugging. 3eae480 Upgrade default kubernetes_version to 1.5.4. 753921c Allow injection of Docker installation role. e1ff90d Fix kubectl taint command for 1.5. b989e97 Fix typo in kubectl taint for single node K8S cluster. 541f58d Remove 'install_recommends: no' for ethtool. c3f9711 Make Ansible role docker-from-get.docker.com work on RHEL/CentOS. 038c0ae Add frequently used OS images, for convenience. d30649f Add --insecure-registry to docker.conf 1dd9218 shfmt -i 4 -w push-images 6de96ac Add option to not push docker hub images 310f53d Add push-images script from cortex 8641381 Add port 6443 to kubeadm join commands for K8S 1.6+. 50bf0bc Force type of K8S token to string. 08ab1c0 Remove trailing whitespaces. ae9efb8 Enable testing against K8S release candidates. 9e32194 Secure GCP servers for Scope: open port 80. a22536a Secure GCP servers for Scope. 89c3a29 Merge pull request #78 from weaveworks/lint-merge-rebase-issue-in-docs 73ad56d Add linter function to avoid bad merge/rebase artefact 31d069d Change Python shebang to `#!/usr/bin/env python` 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 git-subtree-dir: tools git-subtree-split: 7fab44131e536aee46f60e17f7dcc438869fec76
7fab441 Rename bazel to bazel-rules (#125) ccc8316 Revert "Gocyclo should return error code if issues detected" (#124) 1fe184f Bazel rules for building gogo protobufs (#123) b917bb8 Merge pull request #122 from weaveworks/fix-scope-gc c029ce0 Add regex to match scope VMs 0d4824b Merge pull request #121 from weaveworks/provisioning-readme-terraform 5a82d64 Move terraform instructions to tf section d285d78 Merge pull request #120 from weaveworks/gocyclo-return-value 76b94a4 Do not spawn subshell when reading cyclo output 93b3c0d Use golang:1.9.2-stretch image d40728f Gocyclo should return error code if issues detected c4ac1c3 Merge pull request #114 from weaveworks/tune-spell-check 8980656 Only check files 12ebc73 Don't spell-check pki files 578904a Special-case spell-check the same way we do code checks e772ed5 Special-case on mime type and extension using just patterns ae82b50 Merge pull request #117 from weaveworks/test-verbose 8943473 Propagate verbose flag to 'go test'. 7c79b43 Merge pull request #113 from weaveworks/update-shfmt-instructions 258ef01 Merge pull request #115 from weaveworks/extra-linting e690202 Use tools in built image to lint itself 126eb56 Add shellcheck to bring linting in line with scope 63ad68f Don't run lint on files under .git 51d908a Update shfmt instructions e91cb0d Merge pull request #112 from weaveworks/add-python-lint-tools 0c87554 Add yapf and flake8 to golang build image 35679ee Merge pull request #110 from weaveworks/parallel-push-errors 3ae41b6 Remove unneeded if block 51ff31a Exit on first error 0faad9f Check for errors when pushing images in parallel 74dc626 Merge pull request #108 from weaveworks/disable-apt-daily b4f1d91 Merge pull request #107 from weaveworks/docker-17-update 7436aa1 Override apt daily job to not run immediately on boot 7980f15 Merge pull request #106 from weaveworks/document-docker-install-role f741e53 Bump to Docker 17.06 from CE repo 61796a1 Update Docker CE Debian repo details 0d86f5e Allow for Docker package to be named docker-ce 065c68d Document selection of Docker installation role. 3809053 Just --porcelain; it defaults to v1 11400ea Merge pull request #105 from weaveworks/remove-weaveplugin-remnants b8b4d64 remove weaveplugin remnants 35099c9 Merge pull request #104 from weaveworks/pull-docker-py cdd48fc Pull docker-py to speed tests/builds up. e1c6c24 Merge pull request #103 from weaveworks/test-build-tags d5d71e0 Add -tags option so callers can pass in build tags 8949b2b Merge pull request #98 from weaveworks/git-status-tag ac30687 Merge pull request #100 from weaveworks/python_linting 4b125b5 Pin yapf & flake8 versions 7efb485 Lint python linting function 444755b Swap diff direction to reflect changes required c5b2434 Install flake8 & yapf 5600eac Lint python in build-tools repo 0b02ca9 Add python linting c011c0d Merge pull request #79 from kinvolk/schu/python-shebang 6577d07 Merge pull request #99 from weaveworks/shfmt-version 00ce0dc Use git status instead of diff to add 'WIP' tag 411fd13 Use shfmt v1.3.0 instead of latest from master. 0d6d4da Run shfmt 1.3 on the code. 5cdba32 Add sudo c322ca8 circle.yml: Install shfmt binary. e59c225 Install shfmt 1.3 binary. 30706e6 Install pyhcl in the build container. 960d222 Merge pull request #97 from kinvolk/alban/update-shfmt-3 1d535c7 shellcheck: fix escaping issue 5542498 Merge pull request #96 from kinvolk/alban/update-shfmt-2 32f7cc5 shfmt: fix coding style 09f72af lint: print the diff in case of error 571c7d7 Merge pull request #95 from kinvolk/alban/update-shfmt bead6ed Update for latest shfmt b08dc4d Update for latest shfmt (#94) 2ed8aaa Add no-race argument to test script (#92) 80dd78e Merge pull request #91 from weaveworks/upgrade-go-1.8.1 08dcd0d Please ./lint as shfmt changed its rules between 1.0.0 and 1.3.0. a8bc9ab Upgrade default Go version to 1.8.1. 41c5622 Merge pull request #90 from weaveworks/build-golang-service-conf e8ebdd5 broaden imagetag regex to fix haskell build image ba3fbfa Merge pull request #89 from weaveworks/build-golang-service-conf e506f1b Fix up test script for updated shfmt 9216db8 Add stuff for service-conf build to build-goland image 66a9a93 Merge pull request #88 from weaveworks/haskell-image cb3e3a2 shfmt 74a5239 Haskell build image 4ccd42b Trying circle quay login b2c295f Merge branch 'common-build' 0ac746f Trim quay prefix in circle script c405b31 Merge pull request #87 from weaveworks/common-build 9672d7c Push build images to quay as they have sane robot accounts a2bf112 Review feedback fef9b7d Add protobuf tools 10a77ea Update readme 254f266 Don't need the image name in ffb59fc Adding a weaveworks/build-golang image with tags b817368 Update min Weave Net docker version cf87ca3 Merge pull request #86 from weaveworks/lock-kubeadm-version 3ae6919 Add example of custom SSH private key to tf_ssh's usage. cf8bd8a Add example of custom SSH private key to tf_ansi's usage. c7d3370 Lock kubeadm's Kubernetes version. faaaa6f Merge pull request #84 from weaveworks/centos-rhel ef552e7 Select weave-kube YAML URL based on K8S version. b4c1198 Upgrade default kubernetes_version to 1.6.1. b82805e Use a fixed version of kubeadm. f33888b Factorise and make kubeconfig option optional. f7b8b89 Install EPEL repo for CentOS. 615917a Fix error in decrypting AWS access key and secret. 86f97b4 Add CentOS 7 AMI and username for AWS via Terraform. eafd810 Add tf_ansi example with Ansible variables. 2b05787 Skip setup of Docker over TCP for CentOS/RHEL. 84c420b Add docker-ce role for CentOS/RHEL. 00a820c Add setup_weave-net_debug.yml playbook for user issues' debugging. 3eae480 Upgrade default kubernetes_version to 1.5.4. 753921c Allow injection of Docker installation role. e1ff90d Fix kubectl taint command for 1.5. b989e97 Fix typo in kubectl taint for single node K8S cluster. 541f58d Remove 'install_recommends: no' for ethtool. c3f9711 Make Ansible role docker-from-get.docker.com work on RHEL/CentOS. 038c0ae Add frequently used OS images, for convenience. d30649f Add --insecure-registry to docker.conf 1dd9218 shfmt -i 4 -w push-images 6de96ac Add option to not push docker hub images 310f53d Add push-images script from cortex 8641381 Add port 6443 to kubeadm join commands for K8S 1.6+. 50bf0bc Force type of K8S token to string. 08ab1c0 Remove trailing whitespaces. ae9efb8 Enable testing against K8S release candidates. 9e32194 Secure GCP servers for Scope: open port 80. a22536a Secure GCP servers for Scope. 89c3a29 Merge pull request #78 from weaveworks/lint-merge-rebase-issue-in-docs 73ad56d Add linter function to avoid bad merge/rebase artefact 31d069d Change Python shebang to `#!/usr/bin/env python` 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 git-subtree-dir: tools git-subtree-split: 7fab44131e536aee46f60e17f7dcc438869fec76
Add
cortex_ingester_chunk_length
(the number of samples per chunk) andcortex_ingester_chunk_age_seconds
(the age in seconds of the chunk, where ages is now - first sample).Should help with #11 and #84. Will need post-merge review #97.