Commit graph

3 commits

Author SHA1 Message Date
Patrick Steinhardt
9e8f7b973a scripts: Fix pgbouncer install script not reporting errors
The install-pgbouncer script is not currently reporting any build errors
to the caller, except if the final `rm -rf` fails. Fix the issue by
executing `set -xeuo pipefail` to properly report errors of any
unchecked commands and chaining commands with `&&`'s. While the latter
shouldn't be necessary anymore because of changed options, it's easy
enough to do for this script.

With this change, we now properly notice that building pgbouncer fails
currently because of a missing libevent dependency. This failure is
fixed in a subsequent commit.
2021-03-16 10:41:30 +01:00
Pavlo Strokov
48c98a5191 Adding of PgBouncer
Fix installation script of PgBouncer.
Single download + removal of all tmp data.

Related to: https://gitlab.com/gitlab-org/gitaly/-/issues/2816
2020-07-16 00:46:52 +03:00
Pavlo Strokov
9934e625c6 Adding of PgBouncer
Gitaly project plans to use PgBouncer for Praefect service
https://gitlab.com/gitlab-org/gitaly/-/issues/2816
We want to have an image for CI so we can test interaction
of Praefect with PostgreSQL database if PgBouncer sits in
between.

Installation script added with 1.14.0 version of PgBouncer (latest).

Related to: https://gitlab.com/gitlab-org/gitaly/-/issues/2816
2020-07-15 15:02:51 +03:00