From d6b98cf95ec45963907c59c8294f6a45608cdb4f Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:56:24 +0100 Subject: [PATCH] Remove prefix from services (#3079) supersedes https://github.com/woodpecker-ci/woodpecker/pull/1960 ~~Blocked by https://github.com/woodpecker-ci/woodpecker/pull/3143~~ Co-authored-by: 6543 <6543@obermui.de> --- .woodpecker/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index a54b25a2d..5783a9a41 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -112,7 +112,7 @@ steps: image: *golang_image environment: - WOODPECKER_DATABASE_DRIVER=postgres - - WOODPECKER_DATABASE_DATASOURCE=host=service-postgres user=postgres dbname=postgres sslmode=disable + - WOODPECKER_DATABASE_DATASOURCE=host=postgres user=postgres dbname=postgres sslmode=disable commands: - make test-server-datastore when: *when @@ -123,7 +123,7 @@ steps: image: *golang_image environment: - WOODPECKER_DATABASE_DRIVER=mysql - - WOODPECKER_DATABASE_DATASOURCE=root@tcp(service-mysql:3306)/test?parseTime=true + - WOODPECKER_DATABASE_DATASOURCE=root@tcp(mysql:3306)/test?parseTime=true commands: - make test-server-datastore when: *when @@ -148,7 +148,7 @@ steps: failure: ignore services: - service-postgres: + postgres: image: docker.io/postgres:16 ports: ['5432'] environment: @@ -156,7 +156,7 @@ services: - POSTGRES_HOST_AUTH_METHOD=trust when: *when - service-mysql: + mysql: image: docker.io/mysql:8.2.0 ports: ['3306'] environment: