Proof of concept for import script; various FARs

This commit is contained in:
johndmulhausen
2016-02-14 14:08:16 -08:00
parent 42c2226bef
commit e37603f8bd
68 changed files with 527 additions and 6976 deletions
+14 -7
View File
@@ -1,7 +1,14 @@
git clone https://github.com/kubernetes/kubernetes.git
cd kubernetes
git checkout gh-pages
cd ..
rm -rf v1.1/examples
mv kubernetes/_v1.1/examples v1.1/
rm -rf kubernetes
#git clone https://github.com/kubernetes/kubernetes.git k8s
#cd k8s
#git checkout gh-pages
#cd ..
while read line || [[ -n ${line} ]]; do
CLEARPATH=${line}
K8SSOURCE='k8s/_'${line}
DESTINATION=${line%/*}
echo "rm -rf ${CLEARPATH}"
echo "mv ${K8SSOURCE} ${DESTINATION}"
done <source_files_from_main_k8s_repo.txt
#rm -rf k8s