Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rimusz committed Jan 4, 2016
1 parent 9411036 commit bf0588c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Kube-Solo/Kube-Solo-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.3.9</string>
<string>0.4.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>133</string>
<string>135</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
6 changes: 1 addition & 5 deletions src/bin/install_deis
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ echo "helm is installed to ~/kube-solo/bin ... "

# run helm for the first time
helm up

# add Chart repo
helm repo add kube-charts https://github.com/TheNewNormal/kube-charts

# Get the latest version of all Charts from repos
helm up

# Fetch Deis-Lite Chart to your helm's working directory
helm fetch kube-charts/deis-lite

# Install Deis-Lite PaaS
helm install deis-lite

Expand Down Expand Up @@ -60,6 +56,6 @@ echo " "
echo "Please read how to:"
echo "Deploy Applications - https://github.com/deis/workflow/blob/master/docs/src/using-deis/deploying-an-application.md"
echo "To manage Applications - https://github.com/deis/workflow/blob/master/docs/src/using-deis/managing-an-application.md"
echo "Using Deis - https://github.com/deis/workflow/tree/master/docs/src/using-deis"
echo "Using Deis PaaS - https://github.com/deis/workflow/tree/master/docs/src/using-deis"
echo " "

10 changes: 7 additions & 3 deletions src/fetch_latest_iso.command
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ echo " "
echo "Fetching lastest CoreOS $CHANNEL channel ISO ..."
echo " "
#
"${res_folder}"/bin/corectl pull --channel="$CHANNEL"
"${res_folder}"/bin/corectl pull --channel="$CHANNEL" 2>&1 | tee ~/kube-solo/tmp/check_channel
CHECK_CHANNEL=$(cat ~/kube-solo/tmp/check_channel | grep "already available")
#
echo " "
echo "You need to reload your VM to be booted from the lastest version !!! "
if [[ "$CHECK_CHANNEL" == "" ]]; then
echo " "
echo "You need to reload your VM to be booted from the lastest version !!! "
fi
rm -f ~/kube-solo/tmp/check_channel
echo " "
pause 'Press [Enter] key to continue...'
7 changes: 7 additions & 0 deletions src/first-init.command
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ install_k8s_files
download_osx_clients
#

# run helm for the first time
helm up
# add kube-charts repo
helm repo add kube-charts https://github.com/TheNewNormal/kube-charts
# Get the latest version of all Charts from repos
helm up

# set etcd endpoint
export ETCDCTL_PEERS=http://$vm_ip:2379

Expand Down
8 changes: 6 additions & 2 deletions src/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,15 @@ if [ -z "$disk_size" ]
then
echo " "
echo "Creating 5GB disk ..."
dd if=/dev/zero of=root.img bs=1024 count=0 seek=$[1024*5120]
### dd if=/dev/zero of=root.img bs=1m count=$[5120]
mkfile 5g root.img
echo "Created 5GB ROOT disk"
else
echo " "
echo "Creating "$disk_size"GB disk (it could take a while for big disks)..."
dd if=/dev/zero of=root.img bs=1024 count=0 seek=$[1024*$disk_size*1024]
### dd if=/dev/zero of=root.img bs=1m count=$[$disk_size*1024]
mkfile "$disk_size"g root.img
echo "Created "$disk_size"GB ROOT disk"
fi
echo " "
#
Expand Down

0 comments on commit bf0588c

Please sign in to comment.