Skip to content

Commit 3263e5e

Browse files
author
Henry Mollman
committed
Added egret and env vars
1 parent fb2c8fa commit 3263e5e

File tree

6 files changed

+38
-0
lines changed

6 files changed

+38
-0
lines changed

ansible/delta-hosts/hosts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ delta-app-services
5959

6060
[dock]
6161

62+
[egret]
63+
delta-app-services
64+
6265
[eru]
6366
delta-app-services
6467

@@ -149,6 +152,7 @@ dock
149152
docker-listener
150153
docks
151154
drake
155+
egret
152156
eru
153157
github-varnish
154158
hipache

ansible/delta-hosts/variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ
148148
datadog_mongodb_user=datadog
149149
datadog_tags=env:delta
150150
domain=runnable.io
151+
egret_hello_runnable_github_token=b6130cbbd1be797d83b3d419ba60176e7b3f07d2
151152
env=delta
152153
github_domain=api.github.com
153154
github_protocol=https

ansible/egret.yml

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

ansible/gamma-hosts/hosts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ gamma-consul-c
4545
[worker]
4646
gamma-api-worker
4747

48+
[egret]
49+
gamma-app-services
50+
4851
[eru]
4952
gamma-app-services
5053

@@ -140,6 +143,7 @@ dock
140143
docker-listener
141144
docks
142145
drake
146+
egret
143147
eru
144148
github-varnish
145149
hipache

ansible/gamma-hosts/variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ
130130
datadog_mongodb_user=datadog
131131
datadog_tags=env:gamma
132132
domain=runnable-gamma.com
133+
egret_hello_runnable_github_token=b6130cbbd1be797d83b3d419ba60176e7b3f07d2
133134
env=gamma
134135
github_domain=api.github.com
135136
github_protocol=https

ansible/group_vars/alpha-egret.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "arithmancy"
2+
3+
container_image: "registry.runnable.com/runnable/{{ name }}"
4+
container_tag: "{{ git_branch }}"
5+
repo: "git@github.com:CodeNow/{{ name }}.git"
6+
node_version: "6.3.1"
7+
npm_version: "4.0.5"
8+
9+
# container settings
10+
container_envs: >
11+
-e HELLO_RUNNABLE_GITHUB_TOKEN={{ api_hello_runnable_github_token }}
12+
-e NODE_ENV={{ node_env }}
13+
14+
container_run_opts: >
15+
-h {{ name }}
16+
-d
17+
-v /opt/ssl/docker/{{ name }}:/etc/ssl/docker:ro
18+
{{ container_envs }}

0 commit comments

Comments
 (0)