Compare commits

..

4 commits

Author SHA1 Message Date
3f3463fcea
ilot/authentik: clean-up packaging
Some checks failed
/ lint (pull_request) Successful in 54s
/ deploy-x86_64 (pull_request) Has been skipped
/ build-x86_64 (pull_request) Failing after 37m36s
/ deploy-aarch64 (pull_request) Has been cancelled
/ build-aarch64 (pull_request) Has been cancelled
2024-09-21 06:59:40 -04:00
9b996c21e9
forgejo-ci: change hostname to what is in hosts 2024-09-21 06:59:34 -04:00
2f0d24284f
ilot/py3-sentry-sdk: new aport 2024-09-21 06:54:36 -04:00
9f77db48ce
ilot/authentik: enable check 2024-09-21 06:54:30 -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 postgres" EXIT
trap "pkill valkey-server; pkill postgresql" 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 postgres
pkill postgresql
}
package() {