nix(fix): Database cluster not cleaned up before artifact upload
This commit is contained in:
@@ -72,6 +72,7 @@ let
|
|||||||
stop () {
|
stop () {
|
||||||
log "Stopping the database cluster..."
|
log "Stopping the database cluster..."
|
||||||
pg_ctl stop -m i >> "$setuplog"
|
pg_ctl stop -m i >> "$setuplog"
|
||||||
|
rm -rf "$tmpdir/db"
|
||||||
}
|
}
|
||||||
trap stop EXIT
|
trap stop EXIT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user