refactor: remove postgresql tasks

This commit is contained in:
Prad Nukala 2024-12-24 12:02:19 -05:00
parent a5c17cb3db
commit 2545ab5748
4 changed files with 0 additions and 73 deletions

View File

@ -1,32 +0,0 @@
version: "3"
vars:
GOPATH:
sh: go env GOPATH
BIN_DIR: "{{.GOPATH}}/bin"
OS:
sh: uname -s
ARCH:
sh: uname -m
tasks:
init:
desc: Initialize postgresql
silent: true
dir: deploy/apps/chainindex
cmds:
- cmd: sudo -u postgres psql -f seed.sql
platforms:
- linux
- cmd: sudo -u postgres psql -d chainindex -f schema.sql
platforms:
- linux
reset:
desc: Reset postgresql
silent: true
dir: deploy/apps/chainindex
cmds:
- cmd: sudo -u postgres psql -d chainindex -f reset.sql
platforms:
- linux

View File

@ -1,23 +0,0 @@
version: "3"
vars:
ROOT:
sh: git rev-parse --show-toplevel
tasks:
init:
desc: Configure synapse homeserver with PKL
silent: true
cmds:
- pkl eval pkl/matrix.net/Homeserver.pkl -f yaml -o deploy/conf/synapse/homeserver.yaml
env:
MATRIX_CLIENT_NAME: sonr.id
MATRIX_SERVER_NAME: sonr.id
MATRIX_SERVER_URL: http://localhost:8008
MATRIX_SLIDING_SYNC_PROXY: http://localhost:8008
MATRIX_PSQL_CONN: postgresql://matrixhs_user:matrixhs_password123@localhost:5432/sonr
MATRIX_REGISTRATION_SHARED_SECRET: secret
MATRIX_ENABLE_RECATCHA: false
MATRIX_RECATCHA_PUBLIC_KEY: ""
MATRIX_RECATCHA_PRIVATE_KEY: ""
MATRIX_RECATCHA_BYPASS_SECRET: ""

View File

@ -1,12 +0,0 @@
version: "3"
vars:
ROOT:
sh: git rev-parse --show-toplevel
tasks:
init:
desc: Configure tigerbeetle database
silent: true
cmds:
- pkl eval pkl/matrix.net/Homeserver.pkl -f yaml -o deploy/conf/synapse/homeserver.yaml

View File

@ -19,14 +19,8 @@ includes:
taskfile: .taskfiles/Hway.yml
ipfs:
taskfile: .taskfiles/IPFS.yml
postgres:
taskfile: .taskfiles/Postgres.yml
sonrd:
taskfile: .taskfiles/Sonrd.yml
synapse:
taskfile: .taskfiles/Synapse.yml
tigerbeetle:
taskfile: .taskfiles/TigerBeetle.yml
tasks:
default: