Skip to content

Commit aaf7fd5

Browse files
author
tosih
committed
Add preliminary deploy files.
1 parent 4f97f19 commit aaf7fd5

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

ansible/customerbot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
- hosts: customerbot
3+
vars_files:
4+
- group_vars/alpha-customerbot.yml
5+
roles:
6+
- role: notify
7+
8+
- role: builder
9+
10+
- role: k8-deployment
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: customerbot
2+
3+
inject_ca: false
4+
repo: "git@github.com:CodeNow/{{ name }}.git"
5+
node_version: "boron"
6+
7+
dockerfile_enviroment: [
8+
"NPM_TOKEN {{ npm_token }}"
9+
]
10+
11+
dockerfile_pre_install_commands: [
12+
"echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc"
13+
]
14+
15+
container_envs:
16+
- name: APP_NAME
17+
value: "{{ customerbot_app_name }}"
18+
- name: BIG_POPPA_HOST
19+
value: "http://{{ big_poppa_host_address }}:{{ big_poppa_port }}"
20+
- name: BOT_API_KEY
21+
value: "{{ customerbot_bot_api_key }}"
22+
- name: DATADOG_API_KEY
23+
value: "{{ customerbot_datadog_api_key }}"
24+
- name: DATADOG_APP_KEY
25+
value: "{{ customerbot_datadog_app_key }}"
26+
- name: GITHUB_ACCESS_TOKEN
27+
value: "{{ customerbot_github_access_token }}"
28+
- name: INTERCOM_APP_API_KEY
29+
value: "{{ customerbot_intercom_api_key }}"
30+
- name: INTERCOM_APP_ID
31+
value: "{{ customerbot_intercom_app_id }}"
32+
- name: JIRA_PASSWORD
33+
value: "{{ customerbot_jira_password }}"
34+
- name: JIRA_USERNAME
35+
value: "{{ customerbot_jira_username }}"
36+
- name: RABBITMQ_HOSTNAME
37+
value: "{{ rabbit_host_address }}"
38+
- name: RABBITMQ_PASSWORD
39+
value: "{{ rabbit_password }}"
40+
- name: RABBITMQ_PORT
41+
value: "{{ rabbit_port }}"
42+
- name: RABBITMQ_USERNAME
43+
value: "{{ rabbit_username }}"
44+
- name: SLACK_WHITELIST
45+
value: "{{ customerbot_slack_whitelist }}"
46+
- name: STRIPE_SECRET_KEY
47+
value: "{{ customerbot_stripe_secret_key }}"

0 commit comments

Comments
 (0)