Temp rename CI services to avoid duplicate name issues (#3497)

Workaround for: https://github.com/woodpecker-ci/woodpecker/issues/3494
This commit is contained in:
Robert Kaussow 2024-03-18 12:55:46 +01:00 committed by GitHub
parent 6aa53d5f55
commit 2268c0c2ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,7 +105,7 @@ steps:
image: *golang_image
environment:
- WOODPECKER_DATABASE_DRIVER=postgres
- WOODPECKER_DATABASE_DATASOURCE=host=postgres user=postgres dbname=postgres sslmode=disable
- WOODPECKER_DATABASE_DATASOURCE=host=sv-postgres user=postgres dbname=postgres sslmode=disable
commands:
- make test-server-datastore
when: *when
@ -116,7 +116,7 @@ steps:
image: *golang_image
environment:
- WOODPECKER_DATABASE_DRIVER=mysql
- WOODPECKER_DATABASE_DATASOURCE=root@tcp(mysql:3306)/test?parseTime=true
- WOODPECKER_DATABASE_DATASOURCE=root@tcp(sv-mysql:3306)/test?parseTime=true
commands:
- make test-server-datastore
when: *when
@ -141,7 +141,7 @@ steps:
failure: ignore
services:
postgres:
sv-postgres:
image: docker.io/postgres:16
ports: ['5432']
environment:
@ -149,7 +149,7 @@ services:
- POSTGRES_HOST_AUTH_METHOD=trust
when: *when
mysql:
sv-mysql:
image: docker.io/mysql:8.2.0
ports: ['3306']
environment: