From 334321a133e2e968cb50aa9718e3f4e8a36d23dc Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 9 Dec 2024 12:30:24 +0100 Subject: [PATCH] restore db --- .woodpecker.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index a6f1880..154be2a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -42,7 +42,6 @@ steps: check_diesel_schema: image: willsquire/diesel-cli environment: - CARGO_HOME: .cargo_home DATABASE_URL: postgres://ibis:password@database:5432/ibis commands: - diesel migration run @@ -103,3 +102,10 @@ steps: from_secret: github_token when: - event: tag + +services: + database: + image: postgres:15.2-alpine + environment: + POSTGRES_USER: ibis + POSTGRES_PASSWORD: password \ No newline at end of file