This commit is contained in:
parent
ffda02f47a
commit
20af1ffb6c
1 changed files with 19 additions and 19 deletions
38
.drone.yml
38
.drone.yml
|
@ -1,29 +1,29 @@
|
|||
kind: pipeline
|
||||
name: testing
|
||||
type: docker
|
||||
# kind: pipeline
|
||||
# name: testing
|
||||
# type: docker
|
||||
|
||||
steps:
|
||||
- name: Test
|
||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||
commands:
|
||||
- sed -i "s/127\.0\.0\.1/database/g" ./src/Tests/BirdsiteLive.DAL.Postgres.Tests/DataAccessLayers/Base/PostgresTestingBase.cs
|
||||
- dotnet test --verbosity minimal ./src
|
||||
# steps:
|
||||
# - name: Test
|
||||
# image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||
# commands:
|
||||
# - sed -i "s/127\.0\.0\.1/database/g" ./src/Tests/BirdsiteLive.DAL.Postgres.Tests/DataAccessLayers/Base/PostgresTestingBase.cs
|
||||
# - dotnet test --verbosity minimal ./src
|
||||
|
||||
services:
|
||||
- name: database
|
||||
image: postgres:15
|
||||
environment:
|
||||
POSTGRES_USER: birdsitelive
|
||||
POSTGRES_PASSWORD: birdsitelive
|
||||
POSTGRES_DB: birdsitelive
|
||||
# services:
|
||||
# - name: database
|
||||
# image: postgres:15
|
||||
# environment:
|
||||
# POSTGRES_USER: birdsitelive
|
||||
# POSTGRES_PASSWORD: birdsitelive
|
||||
# POSTGRES_DB: birdsitelive
|
||||
|
||||
---
|
||||
# ---
|
||||
kind: pipeline
|
||||
name: docker-publish
|
||||
type: docker
|
||||
|
||||
depends_on:
|
||||
- testing
|
||||
# depends_on:
|
||||
# - testing
|
||||
|
||||
steps:
|
||||
- name: Build & Publish
|
||||
|
|
Reference in a new issue