Skip to content

Commit 9215da4

Browse files
Merge branch 'main' into refactor/migrate-apollo-3-to-4t
2 parents b175fb9 + 70d24d5 commit 9215da4

File tree

151 files changed

+9023
-2885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+9023
-2885
lines changed

.coderabbit.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ reviews:
99
assess_linked_issues: true
1010
auto_apply_labels: false
1111
auto_review:
12-
enabled: true
12+
base_branches:
13+
- feature/*
1314
drafts: true
15+
enabled: true
1416
collapse_walkthrough: false
1517
high_level_summary: true
1618
high_level_summary_in_walkthrough: true

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ __pycache__
44
.cache
55
.dockerignore
66
.env
7+
.env.*
78
.envs
89
.git
910
.gitignore

.github/ansible/production/proxy.yaml

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
11
- name: Deploy Production Nest Proxy
22
hosts: production_nest_proxy
33
tasks:
4-
- name: Copy proxy docker-compose.yaml
5-
ansible.builtin.copy:
6-
src: '{{ github_workspace }}/proxy/docker-compose.yaml'
7-
dest: ~/docker-compose.yaml
8-
mode: '0644'
9-
10-
- name: Copy proxy configuration file
11-
ansible.builtin.copy:
12-
src: '{{ github_workspace }}/proxy/production.conf'
13-
dest: ~/production.conf
14-
mode: '0644'
15-
16-
- name: Copy headers.conf
17-
ansible.builtin.copy:
18-
src: '{{ github_workspace }}/proxy/headers.conf'
19-
dest: ~/headers.conf
20-
mode: '0644'
21-
22-
- name: Copy redirects.conf
23-
ansible.builtin.copy:
24-
src: '{{ github_workspace }}/proxy/redirects.conf'
25-
dest: ~/redirects.conf
4+
- name: Copy proxy configuration files
5+
copy:
6+
src: '{{ github_workspace }}/proxy/{{ item }}'
7+
dest: ~/
268
mode: '0644'
9+
loop:
10+
- blocked_ips.conf
11+
- docker-compose.yaml
12+
- headers.conf
13+
- production.conf
14+
- redirects.conf
2715

2816
- name: Retart services
2917
shell:

.github/ansible/staging/proxy.yaml

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,22 @@
11
- name: Deploy Staging Nest Proxy
22
hosts: staging_nest_proxy
33
tasks:
4-
- name: Copy proxy docker-compose.yaml
5-
ansible.builtin.copy:
6-
src: '{{ github_workspace }}/proxy/docker-compose.yaml'
7-
dest: ~/docker-compose.yaml
4+
- name: Copy proxy configuration files
5+
copy:
6+
src: '{{ github_workspace }}/proxy/{{ item }}'
7+
dest: ~/
88
mode: '0644'
9+
loop:
10+
- blocked_ips.conf
11+
- docker-compose.yaml
12+
- headers.conf
13+
- redirects.conf
14+
- staging.conf
915

10-
- name: Copy proxy configuration file
11-
ansible.builtin.copy:
12-
src: '{{ github_workspace }}/proxy/staging.conf'
13-
dest: ~/staging.conf
14-
mode: '0644'
15-
16-
- name: Copy headers.conf
17-
ansible.builtin.copy:
18-
src: '{{ github_workspace }}/proxy/headers.conf'
19-
dest: ~/headers.conf
20-
mode: '0644'
21-
22-
- name: Copy redirects.conf
23-
ansible.builtin.copy:
24-
src: '{{ github_workspace }}/proxy/redirects.conf'
25-
dest: ~/redirects.conf
26-
mode: '0644'
27-
28-
- name: Update Docker images
16+
- name: Retart services
2917
shell:
30-
cmd: docker compose pull
18+
cmd: docker compose up -d --pull always
3119

32-
- name: Retart services
20+
- name: Prune docker images
3321
shell:
34-
cmd: docker compose restart
22+
cmd: docker image prune -f

0 commit comments

Comments
 (0)