Skip to content

Commit 5a1a6f5

Browse files
committed
Merge pull request #158 from CodeNow/remove-old-docks
remove old style docks
2 parents 4688644 + 4c65439 commit 5a1a6f5

3 files changed

Lines changed: 1 addition & 120 deletions

File tree

ansible/beta-hosts/docks.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,6 @@ ec2.describeInstances(params, function (err, data) {
5555
}
5656
});
5757

58-
// Add Static docks
59-
// TODO Eventually we should no longer need these
60-
hosts.push('beta-runnable-build');
61-
hosts.push('beta-runnable-run');
62-
hosts.push('beta-dock1');
63-
hostVars['beta-runnable-build'] = {
64-
host_tags: '2335750,build,run'
65-
};
66-
hostVars['beta-runnable-run'] = {
67-
host_tags: '2335750,build,run'
68-
};
69-
hostVars['beta-dock1'] = {
70-
host_tags: 'default'
71-
};
72-
7358
// Output the resulting JSON
7459
// NOTE http://docs.ansible.com/ansible/developing_inventory.html
7560
console.log(JSON.stringify(

ansible/prod-hosts/docks.js

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var aws = require('aws-sdk');
66
var ec2 = new aws.EC2({
77
accessKeyId: 'AKIAJ3RCYU6FCULAJP2Q',
88
secretAccessKey: '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',
9-
region: 'us-west-2'
9+
region: 'us-west-1'
1010
});
1111

1212
var params = {
@@ -55,39 +55,6 @@ ec2.describeInstances(params, function (err, data) {
5555
}
5656
});
5757

58-
// Add Static docks
59-
// TODO Eventually we should no longer need these
60-
hosts.push('alpha-dock2');
61-
hosts.push('alpha-dock3');
62-
hosts.push('alpha-dock4');
63-
hosts.push('alpha-dock5');
64-
hosts.push('alpha-demo');
65-
hosts.push('alpha-runnable2');
66-
hosts.push('alpha-intercom1');
67-
hosts.push('alpha-intercom2');
68-
69-
hostVars['alpha-dock3'] = {
70-
host_tags: 'default'
71-
};
72-
hostVars['alpha-dock4'] = {
73-
host_tags: 'default'
74-
};
75-
hostVars['alpha-dock5'] = {
76-
host_tags: 'default'
77-
};
78-
hostVars['alpha-demo'] = {
79-
host_tags: '1085792,1617343,run,build'
80-
};
81-
hostVars['alpha-runnable2'] = {
82-
host_tags: '2335750,build,run'
83-
};
84-
hostVars['alpha-intercom1'] = {
85-
host_tags: '6585,build,run'
86-
};
87-
hostVars['alpha-intercom2'] = {
88-
host_tags: '6585,build,run'
89-
};
90-
9158
// Output the resulting JSON
9259
// NOTE http://docs.ansible.com/ansible/developing_inventory.html
9360
console.log(JSON.stringify(

ssh/config

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ Host beta*
1010
StrictHostKeyChecking no
1111
IdentityFile ~/.ssh/oregon.pem
1212

13-
Host mesos*
14-
User core
15-
ForwardAgent yes
16-
IdentityFile ~/.ssh/oregon.pem
17-
1813
################################################################################
1914
# production runnable.io
2015
################################################################################
@@ -71,35 +66,6 @@ Host alpha-redis-slave
7166
Host alpha-redis
7267
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.172 22
7368

74-
## do not change below line, it is referenced in ansible scripts
75-
# prod-hosts docks
76-
Host alpha-demo
77-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.92 22
78-
79-
Host alpha-dock1
80-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.41 22
81-
82-
Host alpha-dock2
83-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.10 22
84-
85-
Host alpha-dock3
86-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.210 22
87-
88-
Host alpha-dock4
89-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.4 22
90-
91-
Host alpha-dock5
92-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.206 22
93-
94-
Host alpha-runnable2
95-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.93 22
96-
97-
Host alpha-intercom1
98-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.79 22
99-
100-
Host alpha-intercom2
101-
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.117 22
102-
10369
Host alpha-rabbit
10470
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.253 22
10571

@@ -142,12 +108,6 @@ Host migration-router
142108
ForwardAgent yes
143109
IdentityFile ~/.ssh/oregon.pem
144110

145-
Host elk
146-
ProxyCommand ssh -q ubuntu@oregon-bastion nc 10.2.1.222 22
147-
User ubuntu
148-
ForwardAgent yes
149-
IdentityFile ~/.ssh/oregon.pem
150-
151111
Host hubot
152112
ProxyCommand ssh -q ubuntu@oregon-bastion nc 10.2.0.230 22
153113
User ubuntu
@@ -206,33 +166,6 @@ Host beta-rabbit
206166
Host beta-web
207167
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.20.1.61 22
208168

209-
## do not change below line, it is referenced in ansible scripts
210-
# beta-hosts docks
211-
Host beta-runnable-build
212-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.20.1.209 22
213-
Host beta-runnable-run
214-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.20.1.26 22
215-
Host beta-dock1
216-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.20.1.201 22
217-
218-
## beta mesos
219-
Host mesos-master
220-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.0.4.196 22
221-
Host mesos-private-slave1
222-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.0.3.159 22
223-
Host mesos-private-slave2
224-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.0.3.157 22
225-
Host mesos-private-slave3
226-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.0.3.158 22
227-
Host mesos-private-slave4
228-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.0.3.160 22
229-
Host mesos-private-slave5
230-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.0.3.156 22
231-
Host mesos-public-slave1
232-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.0.4.178 22
233-
Host mesos-admin
234-
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.0.5.195 22
235-
236169
################################################################################
237170
# other
238171
################################################################################
@@ -241,7 +174,3 @@ Host 127.0.0.1
241174
UserKnownHostsFile /dev/null
242175
User core
243176
LogLevel QUIET
244-
245-
Host devbox-3
246-
User ubuntu
247-
HostName 54.177.1.44

0 commit comments

Comments
 (0)