Skip to content

Commit 3bdb751

Browse files
author
Anandkumar Patel
committed
merge with master
2 parents 630ed8e + ff3f02b commit 3bdb751

27 files changed

Lines changed: 94 additions & 40 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ It is the custom at Runnable to play a song to the entire team when deploying. F
109109

110110
[Link: Zelda Main Theme Song](https://www.youtube.com/watch?v=cGufy1PAeTU)
111111

112-
**IMPORTANT:** Make sure the play the song loud and proud when deploying!
112+
**IMPORTANT:** Make sure to play the song loud and proud when deploying!

ansible/charon.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
- { role: notify, tags: [notify] }
1010
- { role: git_repo, tags: [deploy] }
1111
- { role: node_service, tags: [deploy] }
12+
- { role: loggly-rotate }
1213
- { role: consul_value, tags: [deploy, consul_value] }

ansible/delta-hosts/variables

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ khronos_mongo_auth=api:72192e5a-a5e1-11e5-add9-0270db32f7ad
2525
khronos_mongo_database=delta
2626
khronos_mongo_replset_name=delta
2727

28+
[navi:vars]
29+
navi_new_relic_app_name=delta-navi
30+
2831
[optimus:vars]
2932
optimus_aws_access_id=AKIAJWSSSJYUXKNW2ZDA
3033
optimus_aws_secret_id=tyvGiCbj5jWCiQnMLvfrfD64dFo8i6prkdcga86y
@@ -53,8 +56,9 @@ vault_aws_region=us-east-1
5356
[delta:vars]
5457
ansible_ssh_private_key_file=~/.ssh/delta.pem
5558
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
56-
datadog_host_address=10.8.5.63
5759
datadog_tags=env:delta
60+
datadog_mongodb_user=datadog
61+
datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ
5862
domain=runnable.io
5963
mongo_port=27017
6064
new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead

ansible/gamma-hosts/variables

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ khronos_mongo_auth=api:3f5210b8-8fe3-11e5-8e62-07b6eff19ecb
2525
khronos_mongo_database=gamma
2626
khronos_mongo_replset_name=gamma
2727

28+
[navi:vars]
29+
navi_new_relic_app_name=gamma-navi
30+
2831
[optimus:vars]
2932
optimus_aws_access_id=AKIAJPA2ZYSVVA5V7XXQ
3033
optimus_aws_secret_id=5V70AUxfIyHeLvlYZe0xaYevDAdgTOWOn5G7nHlt
@@ -52,7 +55,6 @@ vault_aws_region=us-east-1
5255

5356
[gamma:vars]
5457
ansible_ssh_private_key_file=~/.ssh/gamma.pem
55-
datadog_host_address=10.4.6.251
5658
datadog_tags=env:gamma
5759
datadog_mongodb_user=datadog
5860
datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ

ansible/group_vars/all.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ loggly_username: ops
3535
# api
3636
api_github_hook_secret: 3V3RYTHINGisAW3S0ME!
3737
api_hostname: api.{{ domain }}
38+
api_url: https://{{ api_hostname }}
3839
api_neo4j_port: 7474
3940
api_neo4j_protocol: http://
4041
api_port: 80

ansible/group_vars/alpha-api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ container_envs: >
2525
-e DATADOG_PORT={{ datadog_port }}
2626
-e DOMAIN={{ domain }}
2727
-e FILIBUSTER_PORT={{ filibuster_port }}
28-
-e GITHUB_CALLBACK_URL=https://{{ api_hostname }}/auth/github/callback
28+
-e GITHUB_CALLBACK_URL={{ api_url }}/auth/github/callback
2929
-e GITHUB_CLIENT_ID={{ api_github_client_id }}
3030
-e GITHUB_CLIENT_SECRET={{ api_github_client_secret }}
3131
-e GITHUB_DEPLOY_KEYS_BUCKET={{ api_github_deploy_keys_bucket }}
32-
-e GITHUB_HOOK_URL=https://{{ api_hostname }}/actions/github
32+
-e GITHUB_HOOK_URL={{ api_url }}/actions/github
3333
-e HELLO_RUNNABLE_GITHUB_TOKEN={{ api_hello_runnable_github_token }}
3434
-e KRAIN_PORT={{ krain_port }}
3535
-e MAVIS_HOST=http://{{ mavis_hostname }}:80

ansible/group_vars/alpha-charon.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ app_repo: git@github.com:CodeNow/{{ name }}.git
44
hosted_ports: ["{{ charon_port }}"]
55

66
enviroment_vars:
7-
API_HOST: "{{ api_hostname }}"
7+
API_URL: "{{ api_url }}"
88
API_TOKEN: 51c61b779f3de616a9639cfc44a22c79fbd8e328
99
DATADOG_HOST: "{{ datadog_host_address }}"
1010
DATADOG_PORT: "{{ datadog_port }}"
@@ -17,3 +17,5 @@ enviroment_vars:
1717
consul_values:
1818
- key: "{{ name }}/version"
1919
value: "{{ git_branch }}"
20+
- key: api/url
21+
value: "{{ api_url }}"

ansible/group_vars/alpha-consul.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ consul_seed:
4444
value: "{{ node_env }}"
4545
- key: api/hostname
4646
value: "{{ api_hostname }}"
47+
- key: api/url
48+
value: "{{ api_url }}"

ansible/group_vars/alpha-detention.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dockerfile_post_install_commands: [
1717

1818
container_envs: >
1919
-e ABSOLUTE_URL={{ detention_hostname }}
20-
-e API_HOSTNAME={{ api_hostname }}
20+
-e API_URL={{ api_url }}
2121
-e HELLO_RUNNABLE_GITHUB_TOKEN={{ api_hello_runnable_github_token }}
2222
-e NODE_ENV={{ node_env }}
2323
-e PORT={{ hosted_ports[0] }}

ansible/group_vars/alpha-eru.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ container_envs: >
1515
-e ADMIN_DOMAIN={{ eru_hostname }}
1616
-e ADMIN_GITHUB_ID={{ eru_github_id }}
1717
-e ADMIN_GITHUB_SECRET={{ eru_github_secret }}
18-
-e API_HOST={{ api_hostname }}
18+
-e API_URL={{ api_url }}
1919
-e RUNNABLE_HOST={{ domain }}
2020
-e PORT={{ hosted_ports[0] }}
2121

0 commit comments

Comments
 (0)