Merge branch 'master' of https://codefirst.iut.uca.fr/git/WhatTheFantasy/WF-PmAPI
continuous-integration/drone/push Build is passing Details

master
Leni BEAULATON 2 weeks ago
commit ba1429e8d0

@ -143,6 +143,22 @@ steps:
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: "wtf-test" CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: "wtf-test"
ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2
- name: update-database
image: mcr.microsoft.com/dotnet/sdk:8.0
DB_SERVER: "WhatTheFantasy-wtf-api"
DB_NAME:
from_secret: POSTGRES_DB_AUTH
USER_ID:
from_secret: POSTGRES_USER_AUTH
PASSWORD:
from_secret: POSTGRES_PASSWORD_AUTH
commands:
- cd WF_EF_Api/StubbedContextLib
- dotnet tool install --global dotnet-ef
- export PATH="$PATH:/root/.dotnet/tools"
- dotnet ef database update
depends_on: [deploy-api-db,deploy-auth-db,deploy-test-db]
- name: publish-to-registry - name: publish-to-registry
image: plugins/docker image: plugins/docker
settings: settings:

Loading…
Cancel
Save