Skip to content

Add intercom to pheidi #525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 2, 2016
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
4 changes: 3 additions & 1 deletion ansible/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,10 @@ optimus_rollbar_token: a49f9cce09ee46f09df3f603178fba75
palantiri_rollbar_token: f675e9090d6f483ca4e742af2c7f2f83

# pheidi
pheidi_rollbar_token: 6fc422ac645441bea7f6f14853eb01ab
pheidi_email_github_token: 115b4d854e34e8a5ba99ab73eefe4bf7a8944d6d
pheidi_intercom_id: qzm3rju
pheidi_intercom_key: ro-02a5323fd37f41f8eeebf6e6364cf87e6b6ac8c5
pheidi_rollbar_token: 6fc422ac645441bea7f6f14853eb01ab

# rabbit
rabbit_host_address: "{{ hostvars[groups['rabbitmq'][0]]['ansible_default_ipv4']['address'] }}"
Expand Down
16 changes: 9 additions & 7 deletions ansible/group_vars/alpha-pheidi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,23 @@ container_envs: >
-e DATADOG_HOST={{ datadog_host_address }}
-e DATADOG_PORT={{ datadog_port }}
-e DOMAIN={{ domain }}
-e EMAIL_GITHUB_ACCESS_TOKEN={{ pheidi_email_github_token }}
-e FULL_API_DOMAIN=https://api.{{ domain }}
-e INTERCOM_API_KEY={{ pheidi_intercom_key }}
-e INTERCOM_APP_ID={{ pheidi_intercom_id }}
-e LOGGLY_TOKEN="{{ loggly_token }}"
-e MONGO=mongodb://{{ pheidi_mongo_auth }}@{{ mongo_hosts }}/{{ pheidi_mongo_database }}
-e MONGO_REPLSET_NAME={{ pheidi_mongo_replset_name }}
{% if node_env != "production-epsilon" %} -e MONGO_CACERT=/opt/ssl/mongo-client/ca.pem {% endif %}
{% if node_env != "production-epsilon" %} -e MONGO_CERT=/opt/ssl/mongo-client/cert.pem {% endif %}
{% if node_env != "production-epsilon" %} -e MONGO_KEY=/opt/ssl/mongo-client/key.pem {% endif %}
-e NODE_ENV="{{ node_env }}"
-e FULL_API_DOMAIN=https://api.{{ domain }}
-e RABBITMQ_HOSTNAME="{{ rabbit_host_address }}"
-e RABBITMQ_PASSWORD="{{ rabbit_password }}"
-e RABBITMQ_PORT="{{ rabbit_port }}"
-e RABBITMQ_USERNAME="{{ rabbit_username }}"
-e ROLLBAR_KEY={{ pheidi_rollbar_token }}
-e EMAIL_GITHUB_ACCESS_TOKEN={{ pheidi_email_github_token }}
-e RUNNABOT_GITHUB_ACCESS_TOKENS={{ pheidi_runnabot_tokens }}
{% if node_env != "production-epsilon" %} -e MONGO_CACERT=/opt/ssl/mongo-client/ca.pem {% endif %}
{% if node_env != "production-epsilon" %} -e MONGO_CERT=/opt/ssl/mongo-client/cert.pem {% endif %}
{% if node_env != "production-epsilon" %} -e MONGO_KEY=/opt/ssl/mongo-client/key.pem {% endif %}
-e MONGO_REPLSET_NAME={{ pheidi_mongo_replset_name }}
-e MONGO=mongodb://{{ pheidi_mongo_auth }}@{{ mongo_hosts }}/{{ pheidi_mongo_database }}
-e SENDGRID_KEY={{ sendgrid_key }}
-e USER_CONTENT_DOMAIN={{ user_content_domain }}
-e WEB_URL=https://app.{{ domain }}
Expand Down