Add missing dependencies and locale to CI pipeline

This commit is contained in:
Timothée Floure 2021-01-12 09:36:22 +01:00
parent 17fdc7085e
commit f846cb783b
Signed by: tfloure
GPG key ID: 4502C902C00A1E12

View file

@ -4,12 +4,15 @@ image: fedora/32
packages: packages:
- elixir - elixir
- postgresql-server - postgresql-server
- postgresql-contrib
- podman - podman
- erlang-eldap
sources: sources:
- https://code.recycled.cloud/e-Durable/management.git - https://code.recycled.cloud/e-Durable/management.git
tasks: tasks:
- setup: | - setup: |
sudo localectl set-locale en_GB.UTF-8
echo "postgres" > /tmp/postgres-pw echo "postgres" > /tmp/postgres-pw
sudo -u postgres PGSETUP_INITDB_OPTIONS="--encoding UTF8 --pwfile /tmp/postgres-pw" postgresql-setup --initdb sudo -u postgres PGSETUP_INITDB_OPTIONS="--encoding UTF8 --pwfile /tmp/postgres-pw" postgresql-setup --initdb
sudo sed -i 's/ident$/md5/' /var/lib/pgsql/data/pg_hba.conf sudo sed -i 's/ident$/md5/' /var/lib/pgsql/data/pg_hba.conf