Skip to content

Commit d8f68cc

Browse files
authored
Merge pull request #534 from CodeNow/add-cream
Add initial files for deploying CREAM
2 parents b26ee4e + 82f0929 commit d8f68cc

File tree

16 files changed

+162
-5
lines changed

16 files changed

+162
-5
lines changed

ansible/api-core.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- hosts: rabbitmq
66
- hosts: redis
77
- hosts: big-poppa
8+
- hosts: cream
89
- hosts: swarm-manager
910
- hosts: consul
1011

ansible/cream-http.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
- hosts: rabbitmq
3+
- hosts: consul
4+
5+
- hosts: cream
6+
vars_files:
7+
- group_vars/alpha-cream-http.yml
8+
roles:
9+
- role: notify
10+
rollbar_token: "{{ cream_http_rollbar_token }}"
11+
tags: [ notify ]
12+
- { role: builder, tags: [ build ] }
13+
- { role: container_kill_start }

ansible/cream-worker.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
- hosts: rabbitmq
3+
- hosts: consul
4+
5+
- hosts: cream
6+
vars_files:
7+
- group_vars/alpha-cream-worker.yml
8+
roles:
9+
- role: notify
10+
rollbar_token: "{{ cream_http_rollbar_token }}"
11+
tags: [ notify ]
12+
- { role: builder, tags: [ build ] }
13+
- { role: container_kill_start }

ansible/cream.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- include: cream-worker.yml
2+
- include: cream-http.yml

ansible/delta-hosts/hosts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,16 @@ delta-app-services
116116
[big-poppa]
117117
delta-app-services
118118

119+
[cream]
120+
delta-app-services
121+
119122
[delta:children]
120123
api
121124
bastion
122125
big-poppa
123126
charon
124127
consul
128+
cream
125129
dock
126130
docker-listener
127131
docks

ansible/delta-hosts/variables

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ big_poppa_mongo_auth=api:72192e5a-a5e1-11e5-add9-0270db32f7ad
2929
big_poppa_mongo_database=delta
3030
big_poppa_mongo_replset_name=delta-rs0
3131

32+
[cream:vars]
33+
cream_hello_runnable_github_token=5ff90dacd14fb1ff202c6b48c1393ba713adf483
34+
cream_http_rollbar_token=baa03dbd9f814d14ab0c99863ed6a4fb
35+
cream_worker_rollbar_token=87924b881c3143968cdb059fe41acbc3
36+
cream_intercom_key=173c1b366d11a3ef0f641c6b3327914368e67095
37+
cream_intercom_id=wqzm3rju
38+
cream_stripe_secret_key=sk_live_TM63XoojqPNzRNH3pG0p9adP
39+
cream_stripe_publishable_key=pk_live_5yYYZlYIwY3LwvKFaXY0jNlm
40+
3241
[docks:vars]
3342
docker_config=docks
3443
docks_rollbar_key=d1af6567ed0f464fb1d676f38fd31751

ansible/epsilon-hosts/hosts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ epsilon-api
2121
[big-poppa]
2222
epsilon-app-services
2323

24+
[cream]
25+
epsilon-app-services
26+
2427
[consul]
2528
epsilon-consul-a
2629
epsilon-consul-b
@@ -113,6 +116,7 @@ bastion
113116
big-poppa
114117
charon
115118
consul
119+
cream
116120
dock
117121
docker-listener
118122
docks

ansible/epsilon-hosts/variables

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ big_poppa_github_token=e11a1264130fb62ce045bf03118bf123f980c205
1919
big_poppa_http_rollbar_token=1f1eeea0b1334aaeb50fb7bc4a43241a
2020
big_poppa_worker_rollbar_token=98cabb8440024e3a8242cf3220b802c9
2121

22+
[cream:vars]
23+
cream_hello_runnable_github_token=798fd0b696df96cf088de249918bf52f71058553
24+
cream_http_rollbar_token=baa03dbd9f814d14ab0c99863ed6a4fb
25+
cream_worker_rollbar_token=87924b881c3143968cdb059fe41acbc3
26+
cream_intercom_key=219f46abfc3dce8c9b029d0d799dc1727dce318a
27+
cream_intercom_id=xs5g95pd
28+
cream_stripe_secret_key=sk_test_4De8Zdkfcyb29swkMmjZUMRh
29+
cream_stripe_publishable_key=pk_test_sHr5tQaPtgwiE2cpW6dQkzi8
30+
2231
[docks:vars]
2332
docker_config=docks
2433
docks_rollbar_key=d1af6567ed0f464fb1d676f38fd31751

ansible/gamma-hosts/hosts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ gamma-api
2323
[big-poppa]
2424
gamma-app-services
2525

26+
[cream]
27+
gamma-app-services
28+
2629
[consul]
2730
gamma-consul-a
2831
gamma-consul-b
@@ -118,8 +121,10 @@ gamma-app-services
118121
[gamma:children]
119122
api
120123
bastion
124+
big-poppa
121125
charon
122126
consul
127+
cream
123128
dock
124129
docker-listener
125130
docks

ansible/gamma-hosts/variables

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ big_poppa_mongo_auth=api:3f5210b8-8fe3-11e5-8e62-07b6eff19ecb
2626
big_poppa_mongo_database=gamma
2727
big_poppa_mongo_replset_name=gamma-rs0
2828

29+
[cream:vars]
30+
cream_hello_runnable_github_token=e1b68a2cbfefcfee87d72df6d1c07bce886454b9
31+
cream_http_rollbar_token=baa03dbd9f814d14ab0c99863ed6a4fb
32+
cream_worker_rollbar_token=87924b881c3143968cdb059fe41acbc3
33+
cream_intercom_key=2548f3affd4923602dbf7bbab66eac377b5d3aac
34+
cream_intercom_id=xs5g95pd
35+
cream_stripe_secret_key=sk_test_4De8Zdkfcyb29swkMmjZUMRh
36+
cream_stripe_publishable_key=pk_test_sHr5tQaPtgwiE2cpW6dQkzi8
37+
2938
[docks:vars]
3039
docker_config=docks
3140
docks_rollbar_key=d1af6567ed0f464fb1d676f38fd31751

0 commit comments

Comments
 (0)