Compare commits

..

4 commits

Author SHA1 Message Date
093443e71b
ilot/authentik: clean-up packaging
All checks were successful
/ lint (pull_request) Successful in 24s
/ deploy-x86_64 (pull_request) Successful in 28s
/ build-x86_64 (pull_request) Successful in 37m11s
/ deploy-aarch64 (pull_request) Successful in 1m6s
/ build-aarch64 (pull_request) Successful in 2h27m44s
2024-09-21 07:51:09 -04:00
7566c53ff7
forgejo-ci: change hostname to what is in hosts 2024-09-21 07:51:06 -04:00
69891fb74f
ilot/py3-sentry-sdk: new aport 2024-09-21 07:51:04 -04:00
a5f12565b4
ilot/authentik: enable check 2024-09-21 07:50:58 -04:00

View file

@ -222,7 +222,7 @@ check() {
initdb -D "$srcdir"/tmp
postgres -D "$srcdir"/tmp --unix-socket-directories="$srcdir" > "$srcdir"/tmp/psql.log 2>&1 &
valkey-server > "$srcdir"/tmp/valkey.log 2>&1 &
trap "pkill valkey-server; pkill postgresql" EXIT
trap "pkill valkey-server; pkill postgres" EXIT
sleep 5
psql -h "$srcdir" -d postgres -c "CREATE ROLE $POSTGRES_USER PASSWORD '$POSTGRES_PASSWORD' INHERIT LOGIN;"
psql -h "$srcdir" -d postgres -c "CREATE DATABASE $POSTGRES_DB OWNER $POSTGRES_USER ENCODING 'UTF-8';"
@ -251,12 +251,12 @@ with open(\"local.env.yml\", \"w\") as _config:
msg "Starting tests"
make test
# TODO: Fix go-tests
# make go-test
pkill valkey-server
pkill postgresql
pkill postgres
}
package() {