This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remote: [1G+ ARGS=3[K | |
remote: [1G+ '[' 3 -ne 3 ']'[K | |
remote: [1G+ USER=charles[K | |
remote: [1G+ REPO=presence.git[K | |
remote: [1G+ BRANCH=refs/heads/deis[K | |
remote: [1G++ get_app_name presence.git[K | |
remote: [1G++ echo presence.git[K | |
remote: [1G++ awk -F. '{print $1}'[K | |
remote: [1G+ APP_NAME=presence[K | |
remote: [1G++ dirname /home/git/builder[K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ date && deis apps && date && deis apps && date | |
Thu Oct 9 15:10:03 UTC 2014 | |
=== Apps | |
presence | |
Thu Oct 9 15:10:04 UTC 2014 | |
=== Apps | |
presence | |
Thu Oct 9 15:12:11 UTC 2014 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sSL http://deis.io/deisctl/install.sh | sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1772k 100 1772k 0 0 652k 0 0:00:02 0:00:02 --:--:-- 652k | |
Verifying archive integrity... All good. | |
Uncompressing Deis Control Utility 100% Extraction failed. | |
Terminated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UNIT MACHINE LOAD ACTIVE SUB | |
[email protected] 574169c3.../10.0.1.247 loaded activating start-post | |
[email protected] 4298afc5.../10.0.3.34 loaded active running | |
[email protected] 120c6f83.../10.0.2.227 loaded active running | |
deis-database-data.service 120c6f83.../10.0.2.227 loaded active exited | |
[email protected] 120c6f83.../10.0.2.227 loaded active running | |
deis-logger-data.service 120c6f83.../10.0.2.227 loaded active exited | |
[email protected] 120c6f83.../10.0.2.227 loaded active running | |
deis-publisher.service 574169c3.../10.0.1.247 loaded active running | |
deis-publisher.service 574169c3.../10.0.1.247 loaded active running |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oct 08 15:44:43 ip-10-0-2-227 sh[25900]: 2014-10-08T15:44:43Z 7e2e8a1fe7f7 confd[179]: ERROR 100: Key not found (/deis/store) [58429] | |
Oct 08 15:44:43 ip-10-0-2-227 sh[25900]: 2014-10-08T15:44:43Z 7e2e8a1fe7f7 confd[179]: ERROR 100: Key not found (/deis/store) [58429] | |
Oct 08 15:44:43 ip-10-0-2-227 sh[25900]: registry: waiting for confd to write initial templates... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
vagrant destroy -f | |
vagrant box update | |
ssh-keygen -f ~/.ssh/known_hosts -R 172.17.8.101 | |
oldIFS="$IFS" | |
IFS="¬" | |
content="$(cat ./user-data)" | |
discovery="$(curl -s https://discovery.etcd.io/new)" | |
echo "new token: ${discovery}" | |
echo ${content} | sed -E "s#discovery: (.*)#discovery: ${discovery}#g" > ./user-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
oldIFS=$IFS | |
IFS=" | |
" | |
DIR=$1 | |
printf "\n\n%-25s %-15s %10s %17s\n" "REPO" "DEIS NAME" "STATUS" "IP" | |
echo "=======================================================================" | |
for d in $(find $DIR -maxdepth 1 -type d | sort ); do | |
if [[ "${d}" == "$DIR" ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Syncing... | |
Creating tables ... | |
Installing custom SQL ... | |
Installing indexes ... | |
Installed 0 object(s) from 0 fixture(s) | |
Migrating... | |
Running migrations for api: | |
- Nothing to migrate. | |
- Loading initial data for api. | |
Installed 0 object(s) from 0 fixture(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
fleet_location="" | |
fleetctl_location="" | |
version="" | |
delete_existing_dl(){ | |
rm -Rf ./fleet-v${1}* | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
etcdTestData(){ | |
etcdctl set /env/globals/DB_HOST "global_database" 1> /dev/null | |
etcdctl set /env/staging/DB_HOST "staging_database" 1> /dev/null | |
etcdctl set /env/repo1/DB_HOST "repo1_database" 1> /dev/null | |
etcdctl set /env/repo2/staging/DB_HOST "repo2_staging_database" 1> /dev/null | |
} | |
## | |
# this will fetch data from: |
NewerOlder