Skip to content

Commit b397448

Browse files
committed
Merge remote-tracking branch 'origin/master' into SAN-3043-cache
* origin/master: (29 commits) Added link to list Added detention to list that's the ticket! (oops) Delta. wrong IP for gamma-api-worker move repo to repo folder so we do not conflit when adding dockerfile remove depth Revert "Revert "modify building for faster deploys"" change to fix deploy workers changed worker in gamma-hosts/hosts from gamma-worker to gamma-api-worker updated config file update ec2 instance and update gamma host with different worker change comment dummy dumb dumb last minute fixes missing "" Wiping the Redis check, as it does not work. tag entire role add metis to gamma update weave ...
2 parents 41dd5dd + 2854caa commit b397448

20 files changed

Lines changed: 110 additions & 17 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,8 @@ It is the custom at Runnable to play a song to the entire team when deploying. F
105105

106106
[Sauron: Sauron theme song from LOTR](https://www.youtube.com/watch?v=V_rk9VBrXMY)
107107

108+
[Detention: Unbreakable Kimmy Schmidt](https://youtu.be/CV9xF8CjhJk?t=21s)
109+
110+
[Link: Zelda Main Theme Song](https://www.youtube.com/watch?v=cGufy1PAeTU)
111+
108112
**IMPORTANT:** Make sure the play the song loud and proud when deploying!

ansible/ansible.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[defaults]
2+
# Required so `sudo: yes` does not lose the environment variables, which hold the ssh-agent socket
3+
sudo_flags=-HE

ansible/delta-hosts/hosts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ delta-web
2929
delta-services
3030

3131
[worker]
32-
delta-api
32+
delta-api-worker
3333

3434
[docks]
3535

@@ -95,6 +95,7 @@ bastion
9595
hipache
9696
mongodb
9797
api
98+
worker
9899
web
99100
redis
100101
redis-slave

ansible/delta-hosts/variables

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ domain=runnable.io
6363
mongo_port=27017
6464
new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead
6565
node_env=production-delta
66-
pg_host=delta-infrastructure-db.cnksgdqarobf.us-west-2.rds.amazonaws.com
66+
pg_host=delta-infradb.cnksgdqarobf.us-west-2.rds.amazonaws.com
6767
pg_pass=59a5524e-a772-11e5-bedc-1bdc0db458b3
68+
pg_user=astral
6869
rabbit_password=wKK7g7NWKpQXEeSzyWB7mIpxZIL8H2mDSf3Q6czR3Vk
6970
rabbit_username=o2mdLh9N9Ke2GzhoK8xsruYPhIQFN7iEL44dQJoq7OM
7071
registry_host=10.8.4.126

ansible/docks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
roles:
1111
- { role: docker, tags: "docker" }
1212
- { role: iptables, tags: "iptables, security" }
13-
- { role: datadog }
13+
- { role: datadog, tags: "datadog" }
1414

1515
- include: krain.yml
1616
- include: filibuster.yml

ansible/gamma-hosts/hosts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ gamma-web
2929
gamma-services
3030

3131
[worker]
32-
gamma-api
32+
gamma-api-worker
3333

3434
[eru]
3535
gamma-services
@@ -85,13 +85,17 @@ gamma-registry
8585
[swarm-manager]
8686
gamma-services
8787

88+
[metis]
89+
gamma-services
90+
8891
[docks]
8992

9093
[gamma:children]
9194
bastion
9295
hipache
9396
mongodb
9497
api
98+
worker
9599
web
96100
redis
97101
redis-slave
@@ -108,6 +112,7 @@ eru
108112
sauron
109113
shiva
110114
swarm-manager
115+
metis
111116

112117
[ec2]
113118
127.0.0.1

ansible/gamma-hosts/variables

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ vault_aws_region=us-east-1
5858
ansible_ssh_private_key_file=~/.ssh/gamma.pem
5959
datadog_host_address=10.4.6.251
6060
datadog_tags=env:gamma
61+
datadog_mongodb_user=datadog
62+
datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ
6163
domain=runnable-gamma.com
6264
mongo_port=27017
6365
new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead
@@ -70,6 +72,7 @@ registry_host=10.4.4.82
7072
swarm_token=d363b783f03a845a2c82b081bfe8443e
7173
user_content_domain=runnable.ninja
7274
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
75+
no_dd_monitoring=false
7376

7477
[ec2:vars]
7578
env=gamma

ansible/group_vars/alpha-mongo.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ db_path: "/opt/mongodb/db"
77
container_image: mongo
88
container_tag: "latest"
99
container_run_opts: "-d --name mongodb -p 27017:27017 -v {{ db_path }}:/data/db:rw"
10+
11+
# do not monitor docker-daemon for mongo, as there is none
12+
no_dd_monitoring: true

ansible/group_vars/alpha-rabbitmq.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ container_tag: "3.5.3-management"
1010
container_run_opts: "-d --name prod-rabbit -v {{ db_path }}:/var/lib/rabbitmq:rw -v {{ config_path }}/rabbitmq.config:/etc/rabbitmq/rabbitmq.config:ro -p 54320:15672 -p 54321:5672"
1111

1212
hosted_ports: [ 5672, 15672 ]
13+
# monitor the docker-daemon
14+
no_dd_monitoring: false

ansible/group_vars/alpha-sauron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ docker_path: "/bin/docker"
1313
dockerfile_pre_install_commands: [
1414
"curl -L https://get.docker.com/builds/Linux/x86_64/docker-1.6.2 -o {{ docker_path }}",
1515
"chmod a+x {{ docker_path }}",
16-
"curl -L https://github.com/weaveworks/weave/releases/download/v1.3.1/weave -o {{ weave_path }}",
16+
"curl -L https://github.com/weaveworks/weave/releases/download/v1.4.1/weave -o {{ weave_path }}",
1717
"chmod a+x {{ weave_path }}"
1818
]
1919

0 commit comments

Comments
 (0)