This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CMAKE generated file: DO NOT EDIT! | |
| # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | |
| # Default target executed when no arguments are given to make. | |
| default_target: all | |
| .PHONY : default_target | |
| # The main recursive all target | |
| all: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CMAKE generated file: DO NOT EDIT! | |
| # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | |
| # Delete rule output on recipe failure. | |
| .DELETE_ON_ERROR: | |
| #============================================================================= | |
| # Special targets provided by cmake. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CMAKE generated file: DO NOT EDIT! | |
| # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | |
| CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-death-test.h | |
| CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-message.h | |
| CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-param-test.h | |
| CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-printers.h | |
| CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-test-part.h | |
| CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-typed-test.h | |
| CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/rules/go_build_plugin.sh b/rules/go_build_plugin.sh | |
| index c981f9b4..58b359fd 100755 | |
| --- a/rules/go_build_plugin.sh | |
| +++ b/rules/go_build_plugin.sh | |
| @@ -20,6 +20,28 @@ fi | |
| export GOPATH=$(pwd) | |
| DEPS=$(go list -f '{{.ImportPath}}{{range .Deps}} | |
| {{.}}{{end}}' "$SHARD_PACKAGE" | sed -e 's!$!/*!' | sort | uniq) | |
| +NEWLINE=$'\n' | |
| +DEPS+="$NEWLINE" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| annotations: | |
| kompose.cmd: kompose convert | |
| kompose.version: 1.17.0 (HEAD) | |
| creationTimestamp: null | |
| labels: | |
| io.kompose.service: clair | |
| name: clair |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| annotations: | |
| kompose.cmd: kompose convert | |
| kompose.version: 1.17.0 (HEAD) | |
| creationTimestamp: null | |
| labels: | |
| io.kompose.service: clair | |
| name: clair |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "allowed_context": "minikube" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| project = str(local('gcloud config get-value project')).strip() | |
| read_file(str(local('which capdctl')).rstrip('\n')) | |
| k8s_yaml(local('capdctl platform -capi-image gcr.io/kubernetes1-226021/cluster-api-controller-amd64:dev -bp-image gcr.io/kubernetes1-226021/cluster-api-bootstrap-provider-kubeadm:dev -bp-ref master')) | |
| custom_build( | |
| 'gcr.io/' + project +'/manager', | |
| 'GOOS=linux go build ./cmd/manager && docker build -t $EXPECTED_REF .', | |
| ['.'], | |
| ignore='manager', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| load('ext://restart_process', 'docker_build_with_restart') | |
| IMG = 'controller:latest' | |
| ### FILL OUT THESE FIELDS | |
| NAME = '' # name of Go module | |
| DOMAIN = '' # domain for CRD | |
| GROUP = '' # group for CRD | |
| VERSION = '' # version for CRD | |
| KIND = '' # kind for CRD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from checks import AgentCheck | |
| from datadog_checks.base.utils.subprocess_output import get_subprocess_output | |
| # Get number of processes from `vmstat` | |
| class NumProcessesCheck(AgentCheck): | |
| def check(self, instance): | |
| out, err, retcode = get_subprocess_output(['vmstat', '1', '2'], self.log, raise_on_empty_output=True) | |
| lines = out.strip().split("\n") | |
| last_line = lines[-1] | |
| words = list(filter(None, last_line.split(" "))) |