Skip to content

Instantly share code, notes, and snippets.

View nikhita's full-sized avatar
E_TOO_MANY_THINGS

Nikhita Raghunath nikhita

E_TOO_MANY_THINGS
View GitHub Profile
recursive-delete-patterns:
- BUILD
- "*/BUILD"
- BUILD.bazel
- "*/BUILD.bazel"
- Gopkg.toml
rules:
- destination: apimachinery
library: true
branches:
recursive-delete-patterns:
- BUILD
- "*/BUILD"
- BUILD.bazel
- "*/BUILD.bazel"
- Gopkg.toml
rules:
- destination: code-generator
branches:
- source:
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
[merge]
tool = mymeld
conflictstyle = diff3
[mergetool "mymeld"]
# Shows three-pane merge view with central output directly being the merged file to save
cmd = $MANISHMELD $LOCAL $BASE $REMOTE --output=$MERGED
#cmd = meld "$LOCAL" "$BASE" "$REMOTE"
@nikhita
nikhita / client-go-release-11-smoke-test.sh
Last active April 3, 2019 06:41
Script used to smoke test client-go v11.0.0 before releasing
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
diff --git a/artifacts/scripts/util.sh b/artifacts/scripts/util.sh
index e9e3d01..7875b46 100755
--- a/artifacts/scripts/util.sh
+++ b/artifacts/scripts/util.sh
@@ -380,7 +380,7 @@ sync_repo() {
squash ${squash_commits}
# if there is no pending merge commit, update Godeps.json because this could be a target of tag
- if [ -z "${k_pending_merge_commit}" ]; then
+ if ! pick-incorrect-godep-changes ${k_mainline_commit} && [ -z "${k_pending_merge_commit}" ]; then
@nikhita
nikhita / client-go-release-10-smoke-test.sh
Last active December 4, 2018 05:34
Script used to smoke test client-go v10.0.0 before releasing
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
@nikhita
nikhita / client-go-smoke-test-release-9.txt
Last active October 5, 2018 10:00
Glide test for client-go release v9.0.0
#!/bin/bash -ex
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
done
popd