This content was presented at a sig-testing meeting on 8/25/2020, available as a video here
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
<html> | |
<head> | |
<title>Test</title> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> | |
<script src="http://fb.me/react-0.5.1.js"></script> | |
<script src="http://fb.me/JSXTransformer-0.5.1.js"></script> | |
</head> |
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
#!/bin/bash | |
# Iterate over dirs in a directory | |
# ref http://www.tldp.org/LDP/abs/html/parameter-substitution.html for param subs | |
TEST_DIR="/tmp/" | |
for dir in $TEST_DIR*/ ; do | |
echo "Full path : " ${dir} | |
dir=${dir%*/} # remove trailing slash | |
echo "Path minus trailing /" ${dir} |
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
Executing a shell on a running Docker container | |
First get the container id, | |
$ docker ps | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
2301f673e1d5 prom/prometheus:latest "/bin/prometheus -co 15 minutes ago Up 15 minutes 0.0.0.0:9090->9090/tcp dreamy_kirch | |
then taking the value of the CONTAINER ID from the above docker ps output you can run an interactive shell as follows |
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
# Launch /bin/bash interactively on your only running container | |
# H.B.D (assumptions) | |
# 1. You have one and only one container running | |
# 2. /bin/bash is present in your built container | |
# TODO Make robust enough to handle multiple containers | |
alias dbash='docker exec -it $(docker ps --format "{{.Names}}") /bin/bash' | |
alias dps='docker ps' |
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
~ go > src k8s.io kubernetes $ release-1.19 kind build node-image --type bazel | |
Starting to build Kubernetes | |
Starting local Bazel server and connecting to it... | |
Loading: | |
Loading: 0 packages loaded | |
Analyzing: 4 targets (4 packages loaded, 0 targets configured) | |
Analyzing: 4 targets (173 packages loaded, 657 targets configured) | |
Analyzing: 4 targets (1379 packages loaded, 11640 targets configured) | |
Analyzing: 4 targets (2320 packages loaded, 18126 targets configured) | |
INFO: Analyzed 4 targets (2320 packages loaded, 18175 targets configured). |
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
sudo kind -v10 build node-image | |
Starting to build Kubernetes | |
+++ [0714 17:13:20] Verifying Prerequisites.... | |
+++ [0714 17:13:21] Building Docker image kube-build:build-1f03c03652-5-v1.14.4-2 | |
^[+++ [0714 17:13:48] Syncing sources to container | |
+++ [0714 17:13:50] Output from this container will be rsynced out upon completion. Set KUBE_RUN_COPY_OUTPUT=n to disable. | |
+++ [0714 17:13:50] Running build command... | |
stat /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/bazel-bin: no such file or directory | |
+++ [0714 17:14:24] Building go targets for linux/amd64: | |
cmd/kubeadm |
This file has been truncated, but you can view the full file.
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
==================== Test output for //config/tests/testgrids:go_default_test: | |
=== RUN TestConfig | |
=== RUN TestConfig/Testgroup_ESPv2-continuous-anthos-cloud-run-e2e-cloud-run-http-bookstore | |
=== RUN TestConfig/Testgroup_ESPv2-continuous-build | |
=== RUN TestConfig/Testgroup_ESPv2-continuous-cloud-run-e2e-app-engine-http-bookstore | |
=== RUN TestConfig/Testgroup_ESPv2-continuous-cloud-run-e2e-cloud-function-http-bookstore | |
=== RUN TestConfig/Testgroup_ESPv2-continuous-cloud-run-e2e-cloud-run-grpc-echo | |
=== RUN TestConfig/Testgroup_ESPv2-continuous-cloud-run-e2e-cloud-run-http-bookstore | |
=== RUN TestConfig/Testgroup_ESPv2-continuous-coverage | |
=== RUN TestConfig/Testgroup_ESPv2-continuous-e2e-gcloud-build-image |
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
/* Make the dashboard names easier to read */ | |
#environments-bar-container, | |
#tab-bar { | |
text-transform: capitalize; | |
} | |
/* hightlight currently selected tab */ | |
.goog-tab-selected { | |
font-size: 10pt; | |
color:#000 !important; |
OlderNewer