From 52f2edbdfa4c4a58ca2ea0978de15746329856d8 Mon Sep 17 00:00:00 2001 From: Rimantas Mocevicius Date: Mon, 25 Jul 2016 09:37:32 +0100 Subject: [PATCH] v0.4.6 --- .travis.yml | 4 ++++ src/Kube-Cluster.xcodeproj/project.pbxproj | 2 -- src/Kube-Cluster/Kube-Cluster-Info.plist | 4 ++-- src/first-init.command | 7 +++++-- src/kube-cluster-install.command | 2 +- src/up.command | 2 +- 6 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2d6363d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +osx_image: xcode7.3 +language: objective-c +xcode_project: src/Kube-Cluster.xcodeproj # path to your xcodeproj folder +xcode_scheme: Kube-Cluster diff --git a/src/Kube-Cluster.xcodeproj/project.pbxproj b/src/Kube-Cluster.xcodeproj/project.pbxproj index dd66133..cd00594 100644 --- a/src/Kube-Cluster.xcodeproj/project.pbxproj +++ b/src/Kube-Cluster.xcodeproj/project.pbxproj @@ -441,7 +441,6 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_ENABLE_OBJC_ARC = YES; - CODE_SIGN_IDENTITY = "Developer ID Application"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; @@ -463,7 +462,6 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_ENABLE_OBJC_ARC = YES; - CODE_SIGN_IDENTITY = "Developer ID Application"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; diff --git a/src/Kube-Cluster/Kube-Cluster-Info.plist b/src/Kube-Cluster/Kube-Cluster-Info.plist index b287149..0f59500 100644 --- a/src/Kube-Cluster/Kube-Cluster-Info.plist +++ b/src/Kube-Cluster/Kube-Cluster-Info.plist @@ -19,11 +19,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.4.5 + 0.4.6 CFBundleSignature ???? CFBundleVersion - 181 + 185 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/src/first-init.command b/src/first-init.command index 58bb7fe..acce84c 100755 --- a/src/first-init.command +++ b/src/first-init.command @@ -43,6 +43,7 @@ check_internet_from_vm # install k8s files on to VMs install_k8s_files +echo " " # # download latest version of fleetctl and helmc clients @@ -53,6 +54,7 @@ download_osx_clients export ETCDCTL_PEERS=http://$master_vm_ip:2379 # wait till etcd service is ready +echo " " echo "--------" echo "Waiting for etcd service to be ready on master VM..." spin='-\|/' @@ -77,7 +79,8 @@ deploy_fleet_units sleep 3 # generate kubeconfig file -echo Generating kubeconfig file ... +echo " " +echo "Generating kubeconfig file ..." "${res_folder}"/bin/gen_kubeconfig $master_vm_ip # @@ -101,7 +104,7 @@ until ~/kube-cluster/bin/kubectl get nodes | grep -w "k8snode-02" | grep -w "Rea echo "..." echo " " # -install_k8s_add_ons "$master_vm_ip" +install_k8s_add_ons # # attach label to the nodes ~/kube-cluster/bin/kubectl label nodes k8snode-01 node=worker1 diff --git a/src/kube-cluster-install.command b/src/kube-cluster-install.command index 6d160ba..db3f082 100755 --- a/src/kube-cluster-install.command +++ b/src/kube-cluster-install.command @@ -31,7 +31,7 @@ # copy k8s files cp "$1"/k8s/kubectl ~/kube-cluster/kube chmod 755 ~/kube-cluster/kube/kubectl - cp "$1"/k8s/*.yaml ~/kube-cluster/kubernetes + cp "$1"/k8s/add-ons/*.yaml ~/kube-cluster/kubernetes # linux binaries cp "$1"/k8s/kube.tgz ~/kube-cluster/kube diff --git a/src/up.command b/src/up.command index b22585f..3ec091b 100755 --- a/src/up.command +++ b/src/up.command @@ -145,7 +145,7 @@ then ~/kube-cluster/bin/kubectl label nodes k8snode-02 node=worker2 # copy add-ons files cp "${res_folder}"/k8s/add-ons/*.yaml ~/kube-cluster/kubernetes - install_k8s_add_ons "$master_vm_ip" + install_k8s_add_ons # # remove unfinished_setup file rm -f ~/kube-cluster/logs/unfinished_setup > /dev/null 2>&1