Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ It is the custom at Runnable to play a song to the entire team when deploying. F
| Service | Deploy Song Link |
| ------- | ---------------- |
| api / api-workers | [Push it - Rick Ross](https://www.youtube.com/watch?v=qk2jeE1LOn8) |
| arithmancy | [onerepublic - Counting Stars](https://www.youtube.com/watch?v=hT_nvWreIhg) |
| big poppa | [Big Poppa - The Notorious B.I.G.](https://www.youtube.com/watch?v=phaJXp_zMYM) |
| charon | [Enter Sandman - Metallica](https://www.youtube.com/watch?v=CD-E-LDc384) |
| cream | [C.R.E.A.M. - Wu-Tang Clan](https://www.youtube.com/watch?v=PBwAxmrE194) |
Expand Down
13 changes: 13 additions & 0 deletions ansible/arithmancy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
- hosts: rabbitmq
- hosts: consul

- hosts: arithmancy
vars_files:
- group_vars/alpha-arithmancy.yml
roles:
- role: notify
rollbar_token: "{{ arithmancy_rollbar_token }}"
tags: [ notify ]
- { role: builder, tags: [build] }
- { role: container_kill_start }
4 changes: 4 additions & 0 deletions ansible/delta-hosts/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,12 @@ delta-app-services
[cream]
delta-app-services

[arithmancy]
delta-app-services

[delta:children]
api
arithmancy
bastion
big-poppa
charon
Expand Down
4 changes: 4 additions & 0 deletions ansible/epsilon-hosts/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,12 @@ epsilon-app-services
[github-varnish]
epsilon-app-services

[arithmancy]
epsilon-app-services

[epsilon:children]
api
arithmancy
bastion
big-poppa
charon
Expand Down
4 changes: 4 additions & 0 deletions ansible/gamma-hosts/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,16 @@ gamma-app-services
[github-varnish]
gamma-app-services

[arithmancy]
gamma-app-services

[docks]

[dock]

[gamma:children]
api
arithmancy
bastion
big-poppa
charon
Expand Down
3 changes: 3 additions & 0 deletions ansible/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ api_socket_server_hostname: apisock.{{ domain }}
api_socket_server_rollbar_key: cad27f265e8e473c9b293615e7ed0f3a
api_url: https://{{ api_hostname }}

# arithmancy
arithmancy_rollbar_key: 1fe145fdeb1a4526b48f5dd82b0d6eb5

# astral
pg_database: astral

Expand Down
24 changes: 24 additions & 0 deletions ansible/group_vars/alpha-arithmancy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "arithmancy"

container_image: "registry.runnable.com/runnable/{{ name }}"
container_tag: "{{ git_branch }}"
repo: "git@github.com:CodeNow/{{ name }}.git"
node_version: "4.2.2"
npm_version: "2.14.7"

# container settings
container_envs: >
-e NODE_ENV={{ node_env }}
-e DATADOG_HOST={{ datadog_host_address }}
-e DATADOG_PORT={{ datadog_port }}
-e RABBITMQ_HOSTNAME={{ rabbit_host_address }}
-e RABBITMQ_PASSWORD={{ rabbit_password }}
-e RABBITMQ_PORT={{ rabbit_port }}
-e RABBITMQ_USERNAME={{ rabbit_username }}
-e ROLLBAR_KEY={{ arithmancy_rollbar_key }}

container_run_opts: >
-h {{ name }}
-d
-v /opt/ssl/docker/{{ name }}:/etc/ssl/docker:ro
{{ container_envs }}