From 6c61b8aebbfcf8d3490a0e6fb7023d6b79c6ce3a Mon Sep 17 00:00:00 2001 From: Nick Bland Date: Mon, 18 Mar 2024 14:13:07 +1000 Subject: [PATCH] =?UTF-8?q?woops=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e06f861..62f1f1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,8 +28,8 @@ default: - export PATH="$CARGO_HOME/bin:$PATH" - rustc --version - cargo --version - - if ! [ -x "$(command -v cargo-sqlx)" ]; then cargo install --version='~0.7' sqlx-cli --no-default-features --features rustls,postgres; fi - apt update -yq && apt-get install -yq postgresql-client clang + - if ! [ -x "$(command -v cargo-sqlx)" ]; then cargo install --version='~0.7' sqlx-cli --no-default-features --features rustls,postgres; fi - SKIP_DOCKER=true ./scripts/init_db.sh # This is to ensure that the database is reachable and give it some time to initialize. - until psql "dbname=$POSTGRES_DB user=$POSTGRES_USER password=$POSTGRES_PASSWORD host=postgres" -c '\l'; do sleep 3; done