From 041476624a8411d4fb4097b53b8a9a9142067a5d Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 12 Feb 2020 18:00:44 -0600 Subject: [PATCH] re-position TODOs in migrate pipeline --- server/azure-pipelines.migrate.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/azure-pipelines.migrate.yaml b/server/azure-pipelines.migrate.yaml index 2390bbfee..88133bda9 100644 --- a/server/azure-pipelines.migrate.yaml +++ b/server/azure-pipelines.migrate.yaml @@ -1,5 +1,6 @@ # Adds an Entity Framework Core migration to a pull request that changes data in data/*.json +# TODO: If data/* and server/src/FilterLists.Data.Migrations/* change in origin/master, re-trigger this Pipeline. trigger: none pr: @@ -21,9 +22,6 @@ steps: git checkout $(System.PullRequest.SourceBranch) displayName: checkout source branch - # TODO: Merge latest data/* and server/src/FilterLists.Data.Migrations/* from origin/master. - # TODO: If data/* and server/src/FilterLists.Data.Migrations/* change in origin/master, re-trigger this Pipeline. - # TODO: validate author of last commit was $(GITHUBNAME) - bash: | LASTMSG=$(git log -n 1 --pretty=format:"%s") @@ -69,6 +67,8 @@ steps: workingDirectory: server/src condition: and(ne(variables['abortIfJustMigrated.aborted'], 'true'), succeeded()) + # TODO: Merge latest data/* and server/src/FilterLists.Data.Migrations/* from origin/master. + - script: dotnet ef migrations add $(System.PullRequest.PullRequestNumber) -p FilterLists.Data.Migrations -s FilterLists.Api displayName: add migration workingDirectory: server/src