File tree 5 files changed +26
-0
lines changed
5 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -183,3 +183,6 @@ nohup.out
183
183
tests /.jmeter *
184
184
dbs /
185
185
* .pid
186
+
187
+ # Show be an executable of the webhook server
188
+ infra /webhook
Original file line number Diff line number Diff line change @@ -95,3 +95,11 @@ fix: check-venv ## Run code formatters
95
95
96
96
watch-sass :
97
97
@/bin/find -type d -name ' scss' -not -path ' */staticfiles/*' | xargs -P 0 -l -i bash -c ' sass --watch "$$1:$${1:0:-5}/css"' - ' {}'
98
+
99
+ # ########
100
+ # Infra #
101
+ # ########
102
+
103
+ webhook-server :
104
+ cd infra
105
+ nohup ./webhook -hooks hooks.yaml -verbose &
Original file line number Diff line number Diff line change 5
5
![ image] ( https://user-images.githubusercontent.com/18076967/131153731-0196375e-b650-4b0f-b188-f20b2eba37f1.png )
6
6
7
7
8
+ ## Notes
9
+
10
+ - Postgres 15+ is mandatory for NULLS NOT DISTINCT indexes
11
+ - [ webhook-server] ( https://github.com/adnanh/webhook/releases )
12
+
8
13
## Installation requirements
9
14
10
15
- PostgreSQL(and ` libpq-dev ` )
Original file line number Diff line number Diff line change
1
+ - id : redeploy-webhook
2
+ execute-command : " ../scripts/redeploy-hook.sh"
3
+ command-working-directory : " ./"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Script to redeploy data stuff and rq worker. Used by server's webhook server on push
4
+
5
+ git fetch --all
6
+ git reset --hard " origin/$( git branch --show-current) "
7
+ docker-compose --profile prod up -d --build && docker-compose stop web
You can’t perform that action at this time.
0 commit comments