Skip to content

Commit a167ba2

Browse files
committed
Merge pull request #217 from CodeNow/SAN-3006-refactor-detention
Ansible deployment changes for refactored detention
2 parents 7891f2d + 331c457 commit a167ba2

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

ansible/beta-hosts/variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ api_aws_secret_access_key=A6XOpeEElvvIulfAzVLohqKtpKij5ZE8h0FFx0Jn
44
api_github_client_id=baa5c868b6d17d7ae002
55
api_github_client_secret=ad4f8527ae98d7eea15a32ee5abbead5c9a25abc
66
api_github_deploy_keys_bucket=runnable.deploykeys.production-beta
7-
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
87
api_mixpanel_app_id=c41affa4b08818443365c526cbb51606
98
api_mongo_auth=api:oW4c7x9Wiv28oiNBy2Bc
109
api_mongo_database=beta
@@ -60,3 +59,4 @@ rabbit_username=o2mdLh9N9Ke2GzhoK8xsruYPhIQFN7iEL44dQJoq7OM
6059
registry_host=10.20.1.55
6160
swarm_token=d363b783f03a845a2c82b081bfe8443e
6261
user_content_domain=runnablecloud.com
62+
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af

ansible/group_vars/all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ loggly_username: ops
3434

3535
# api
3636
api_github_hook_secret: 3V3RYTHINGisAW3S0ME!
37+
api_hostname: api.{{ domain }}
3738
api_neo4j_port: 7474
3839
api_neo4j_protocol: http://
39-
api_hostname: api.{{ domain }}
4040
api_port: 80
4141

4242
# astral

ansible/group_vars/alpha-detention.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ dockerfile_post_install_commands: [
1616
]
1717

1818
container_envs: >
19-
-e NODE_ENV={{ node_env }}
2019
-e ABSOLUTE_URL={{ detention_hostname }}
20+
-e API_HOSTNAME={{ api_hostname }}
21+
-e HELLO_RUNNABLE_GITHUB_TOKEN={{ api_hello_runnable_github_token }}
22+
-e NODE_ENV={{ node_env }}
2123
-e PORT={{ hosted_ports[0] }}
2224
2325
container_run_opts: >

ansible/prod-hosts/variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ rabbit_username=a4c1ac709c3bc685a6665fc1d23d737d
6060
registry_host=10.0.1.254
6161
swarm_token=40ec138a1b478aaf84aca2a1c21c70fe
6262
user_content_domain=runnableapp.com
63+
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af

0 commit comments

Comments
 (0)