Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Test migrations in pr and master stage #134
Browse files Browse the repository at this point in the history
  • Loading branch information
4ydan committed Jul 9, 2023
1 parent d8e9e15 commit 969bef6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ stage('Deploy PR') {
unstash 'typedoc'
unstash 'mdbook'

echo 'Test migrations'
sh "diesel migration redo"
sh "diesel migration redo -a"

echo 'Deploying to PR'
sh "sudo /usr/local/bin/permaplant-deploy.sh pr ${WORKSPACE}"

Expand Down Expand Up @@ -213,6 +217,9 @@ if (env.BRANCH_NAME == 'master') {
unstash 'typedoc'
unstash 'mdbook'

echo 'Test migrations'
sh "diesel migration redo"

echo 'Deploying to Dev ...'
sh "sudo /usr/local/bin/permaplant-deploy.sh dev ${WORKSPACE}"
}
Expand Down
2 changes: 1 addition & 1 deletion doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Syntax: `- short text describing the change _(Your Name)_`
- CI: Cancel previous builds #557 _(4ydan)_
- _()_
- _()_
- _()_
- CI: Test migrations in PR and master stage #134 _(4ydan)_
- Improved user visible texts in map editor _(Thorben)_
- DEV: Makefile added #549 _(4ydan)_

Expand Down

0 comments on commit 969bef6

Please sign in to comment.