Revert service names in CI (#3505)

This commit is contained in:
Robert Kaussow 2024-03-18 20:41:00 +01:00 committed by GitHub
parent e57a09a404
commit d6205e3c61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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