create local dev database for sqlx to compile in ci

This commit is contained in:
c0repwn3r 2023-02-07 13:40:17 -05:00
parent 68da60e17b
commit cc4813afd6
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 0 additions and 2 deletions

View File

@ -8,8 +8,6 @@ sources:
- https://git.e3t.cc/~core/trifid - https://git.e3t.cc/~core/trifid
tasks: tasks:
- setup: | - setup: |
mkdir /run/postgresql
chown postgres:postgres /run/postgresql/
su postgres -c mkdir /var/lib/postgresql/data su postgres -c mkdir /var/lib/postgresql/data
su postgres -c chmod 0700 /var/lib/postgresql/data su postgres -c chmod 0700 /var/lib/postgresql/data
su postgres -c initdb -D /var/lib/postgresql/data su postgres -c initdb -D /var/lib/postgresql/data