Proof of concept for import script; various FARs
This commit is contained in:
+14
-7
@@ -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
|
||||
Reference in New Issue
Block a user