1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

Update QA Deploy Workflow (#2003)

This commit is contained in:
Vince Grassia 2022-05-18 08:43:36 -04:00 committed by GitHub
parent 47b1e5317c
commit a266772ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,13 +50,11 @@ jobs:
MSSQL_HOST: ${{ steps.retrieve-secrets.outputs.mssql-server-host }}
MSSQL_USER: ${{ steps.retrieve-secrets.outputs.mssql-admin-login }}
MSSQL_PASS: ${{ steps.retrieve-secrets.outputs.mssql-admin-login-password }}
working-directory: ./util/Migrator/DbScripts
MSSQL_DATABASE: vault
MSSQL_MIGRATIONS_DIRECTORY: util/Migrator/DbScripts
run: |
echo "Running database migrations..."
for f in `ls -v ./*.sql`; do
echo "Executing file: ${f}..."
sqlcmd -S $MSSQL_HOST -d vault -U $MSSQL_USER -P $MSSQL_PASS -I -i $f
done;
$GITHUB_WORKSPACE/dev/helpers/mssql/run_migrations.sh -p
deploy: