Skip to content

Instantly share code, notes, and snippets.

@caesarxuchao
caesarxuchao / failure.log
Created November 17, 2017 21:00
godep-verify.sh failure with `godep save -v` output
This file has been truncated, but you can view the full file.
xuchao@silkgoogle:~/.../k8s.io/kubernetes$ hack/verify-godep
verify-godep-licenses.sh verify-godeps.sh
xuchao@silkgoogle:~/.../k8s.io/kubernetes$ hack/verify-godep
verify-godep-licenses.sh verify-godeps.sh
xuchao@silkgoogle:~/.../k8s.io/kubernetes$ hack/verify-godeps.sh
Checking for 'Godeps/' changes against 'upstream/master'
+++ [1117 11:36:51] Restoring kubernetes godeps
+++ [1117 11:36:51] Downloading dependencies - this might take a while
+++ [1117 11:43:02] Done
+++ [1117 11:43:02] Ensuring prereqs
@caesarxuchao
caesarxuchao / test.sh
Created September 22, 2017 17:24
godep restore and go build tests
#!/bin/bash -xe
remove_vendor() {
rm -rf $GOPATH/src/k8s.io/code-generator/vendor || true
rm -rf $GOPATH/src/k8s.io/sampe-apiserver/vendor || true
rm -rf $GOPATH/src/k8s.io/kube-aggregator/vendor || true
rm -rf $GOPATH/src/k8s.io/apiserver/vendor || true
rm -rf $GOPATH/src/k8s.io/client-go/vendor || true
rm -rf $GOPATH/src/k8s.io/api/vendor || true
rm -rf $GOPATH/src/k8s.io/apimachinery/vendor || true
@caesarxuchao
caesarxuchao / real_run.sh
Created September 13, 2017 23:33
push masters
#!/bin/bash -ex
test -d code-generator || git clone git@github.com:sttts/code-generator.git
pushd code-generator
git fetch git@github.com:sttts/code-generator.git
git push git@github.com:kubernetes/code-generator.git a8e1019df0df00506fe1db5232a2af30ff4c87aa:refs/heads/master
popd
test -d sample-apiserver || git clone git@github.com:sttts/sample-apiserver.git
@caesarxuchao
caesarxuchao / gist:9f7eec6d90c26698580a6eb1810ec5f4
Created February 2, 2017 13:10
git log --oneline | pbcopy, in kube-sync, post-filter
8759f356a4 k8s.io/apiserver: add example api group
76bb1ef5e8 pkg/api/testing: cut off fuzzers from static codecs
fd7b381ef2 Merge pull request #40124 from mbohlool/separation
1b057ed048 pkg/api: move HasObjectMetaSystemFieldValues into apimachinery
30f11579e5 Merge pull request #40630 from liggitt/apply-null
ca711d2cd1 fixup apply null tests
a1384892a7 CreateThreeWayMergePatch should propagate explicit null fields
8ab0a7e067 move portforward to client-go
ea9918091b Add backward compatibility to OpenAPI spec for renamed definitions
f3a576a2dd Use full package path as definition name in OpenAPI
@caesarxuchao
caesarxuchao / diff
Created October 30, 2016 20:06
test_csv before rebase
-PersistentVolumes with Single PV - PVC pairs create a PV and a pre-bound PVC: test write access,roberthbailey,1
-PersistentVolumes with Single PV - PVC pairs create a PVC and a pre-bound PV: test write access,piosz,1
-PersistentVolumes with Single PV - PVC pairs create a PVC and non-pre-bound PV: test write access,sttts,1
-PersistentVolumes with Single PV - PVC pairs should create a non-pre-bound PV and PVC: test write access,yujuhong,1
-PersistentVolumes with multiple PVs and PVCs all in same ns should create 2 PVs and 4 PVCs: test write access,brendandburns,1
-PersistentVolumes with multiple PVs and PVCs all in same ns should create 3 PVs and 3 PVCs: test write access,hurf,1
-PersistentVolumes with multiple PVs and PVCs all in same ns should create 4 PVs and 2 PVCs: test write access,jlowdermilk,1
+PersistentVolumes with Single PV - PVC pairs create a PV and a pre-bound PVC: test write access,caesarxuchao,1
+PersistentVolumes with Single PV - PVC pairs create a PVC and a pre-bound PV: test write ac
name,owner,auto-assigned
DEFAULT,rmmh/spxtr/ixdy/apelisse/fejta,0
Addon update should propagate add-on file changes,eparis,1
AppArmor when running with AppArmor should enforce a permissive profile,yujuhong,1
AppArmor when running with AppArmor should enforce a profile blocking writes,freehan,1
AppArmor when running with AppArmor should reject an unloaded profile,kargakis,1
AppArmor when running without AppArmor should reject a pod with an AppArmor profile,vulpecula,1
Cadvisor should be healthy on every node.,vishh,0
Cassandra should create and scale cassandra,fabioy,1
CassandraStatefulSet should create statefulset,wojtek-t,1