Skip to content

Commit df6e13b

Browse files
authored
Merge pull request #599 from cmu-delphi/add-ansible-to-set-api-match-list
Add Ansible and Jenkins necessities for deploying the staging api proxy signal match list
2 parents 7fb09b6 + 3f1571e commit df6e13b

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ pipeline {
4545
}
4646
parallel deploy_staging
4747
}
48+
sh "jenkins/ansible-deploy-staging-api-proxy-match-list"
4849
}
4950
}
5051
stage('Deploy production') {
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
- hosts: api_proxy_staging
3+
remote_user: deploy
4+
vars_files:
5+
- vars.yaml
6+
- vault.yaml
7+
tasks:
8+
- name: Set staging api proxy openresty signal match list template.
9+
template:
10+
src: templates/staging-api-match-list.j2
11+
dest: "/common/staging-api-match-list"
12+
owner: "root"
13+
group: "root"
14+
mode: 0600

ansible/inventory

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ delphi-master-prod-01.delphi.cmu.edu
33

44
[runtime_host_staging]
55
app-mono-dev-01.delphi.cmu.edu
6+
7+
[api_proxy_staging]
8+
api-staging.delphi.cmu.edu
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
data_source=quidel-staging&signal=covid_ag_
2+
data_source=chng
3+
data_source=safegraph
4+
data_source=google-symptoms

0 commit comments

Comments
 (0)