Skip to content

Commit 923f805

Browse files
author
Bryan Kendall
committed
Merge remote-tracking branch 'origin/master' into consul
2 parents 8c9febb + df4ccd4 commit 923f805

99 files changed

Lines changed: 426 additions & 1680 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
node_modules
1+
node_modules
2+
ca-key.pem
3+
pass
4+
hellorunnable

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ansible-playbook -i ./[stage-hosts, prod-hosts] [appname].yml -t deploy -e git_b
6060
This will redeploy the current deploy without rebuilding
6161

6262
```
63-
ansible-playbook -i./[stage-hosts, prod-hosts] [appname].yml -e git_branch=some-branch-name -e build_args=--no-cache
63+
ansible-playbook -i./[stage-hosts, prod-hosts] [appname].yml -e git_branch=some-branch-name -e build_args=--no-cache
6464
```
6565

6666
deploy latest version of the branch
@@ -77,7 +77,7 @@ It is the custom at Runnable to play a song to the entire team when deploying. F
7777

7878
[runnable-angular: Push it to the limit - Scarface](https://www.youtube.com/watch?v=9D-QD_HIfjA)
7979

80-
[mavis: Fairy Tail theme song](https://www.youtube.com/watch?v=kIwmrk7LoDk)
80+
[mavis: Fairy Tail theme song](https://www.youtube.com/watch?v=R4UFCTMrV-o)
8181

8282
[khronos: Time After Time - Cyndi Lauper](https://www.youtube.com/watch?v=VdQY7BusJNU)
8383

@@ -95,4 +95,8 @@ It is the custom at Runnable to play a song to the entire team when deploying. F
9595

9696
[shiva: FFXIV Shiva Theme](https://www.youtube.com/watch?v=noJiH8HLZw4)
9797

98+
[swarm-manager: Eric Prydz VS Pink Floyd - 'Proper Education'](https://www.youtube.com/watch?v=IttkDYE33aU)
99+
100+
[swarm-deamon: Pink Floyd - Another Brick In The Wall](https://www.youtube.com/watch?v=5IpYOF4Hi6Q)
101+
98102
**IMPORTANT:** Make sure the play the song loud and proud when deploying!

ansible/Dockerfile

Lines changed: 0 additions & 22 deletions
This file was deleted.

ansible/beta-hosts/docks.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ var params = {
2020
{
2121
Name: 'tag:role',
2222
Values: ['dock']
23+
},
24+
// Only fetch running instances
25+
{
26+
Name: 'instance-state-name',
27+
Values: ['running']
2328
}
2429
]
2530
};

ansible/beta-hosts/hosts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,15 @@ beta-redis-slave
7070
[shiva]
7171
beta-services
7272

73+
[metis]
74+
beta-services
75+
7376
[registry]
7477
beta-registry
7578

79+
[swarm-manager]
80+
beta-services
81+
7682
[docks]
7783

7884
[beta:children]
@@ -94,6 +100,7 @@ optimus
94100
rabbitmq
95101
eru
96102
shiva
103+
swarm-manager
97104

98105
[targets]
99106
localhost ansible_connection=local bastion_name=beta-bastion

ansible/beta-hosts/variables

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,20 @@ api_aws_secret_access_key=A6XOpeEElvvIulfAzVLohqKtpKij5ZE8h0FFx0Jn
44
api_github_client_id=baa5c868b6d17d7ae002
55
api_github_client_secret=ad4f8527ae98d7eea15a32ee5abbead5c9a25abc
66
api_github_deploy_keys_bucket=runnable.deploykeys.production-beta
7-
api_github_hook_secret=3V3RYTHINGisAW3S0ME!
87
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
9-
api_loggly_token=f673760d-e0b3-4a93-a15e-2862ea074f91
108
api_mixpanel_app_id=c41affa4b08818443365c526cbb51606
119
api_mongo_auth=api:oW4c7x9Wiv28oiNBy2Bc
1210
api_mongo_database=beta
1311
api_mongo_replset_name=beta
1412
api_neo4j_auth=neo4j:oqGlRV1KTpaqbHDkdlJz
15-
api_neo4j_port=7474
16-
api_neo4j_protocol=http://
1713
api_new_relic_app_name=beta-api-production
1814
api_rollbar_key=a90d9c262c7c48cfabbd32fd0a1bc61c
1915
api_s3_context_bucket=runnable.context.resources.production-beta
2016

17+
[docks:vars]
18+
docker_config=docks
19+
2120
[eru:vars]
22-
eru_api_host=api.{{ domain }}
2321
eru_github_id=8abb08f83f6d1c52bd1a
2422
eru_github_secret=74a23ee56486d57b14f292283cb04625f600917c
2523

@@ -50,17 +48,14 @@ shiva_rollbar_key=0526a90faec845d796e1ef5361a00526
5048
[beta:vars]
5149
ansible_ssh_private_key_file=~/.ssh/oregon.pem
5250
datadog_host=10.20.1.59
53-
datadog_port=8125
5451
datadog_tags=env:beta
5552
domain=runnable-beta.com
5653
new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead
5754
node_env=production-beta
58-
pg_database=shiva
5955
pg_host=beta-infrastructure-db.cnksgdqarobf.us-west-2.rds.amazonaws.com
6056
pg_pass=QBjSpAXVYwmGHu4Y
61-
pg_user=shiva
6257
rabbit_password=wKK7g7NWKpQXEeSzyWB7mIpxZIL8H2mDSf3Q6czR3Vk
63-
rabbit_port=54321
6458
rabbit_username=o2mdLh9N9Ke2GzhoK8xsruYPhIQFN7iEL44dQJoq7OM
6559
registry_host=10.20.1.55
60+
swarm_token=d363b783f03a845a2c82b081bfe8443e
6661
user_content_domain=runnablecloud.com

ansible/certs/10.0.1.219-cert.pem

Lines changed: 0 additions & 20 deletions
This file was deleted.

ansible/certs/10.0.1.219-key.pem

Lines changed: 0 additions & 27 deletions
This file was deleted.

ansible/certs/10.0.1.240-cert.pem

Lines changed: 0 additions & 20 deletions
This file was deleted.

ansible/certs/10.0.1.240-key.pem

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)