mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Build db migration codedeploy artifact
This commit is contained in:
18
appspec-db-migration.yml
Normal file
18
appspec-db-migration.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
os: linux
|
||||
version: 0.0
|
||||
files:
|
||||
- destination: /home/notify-app/notifications-api
|
||||
source: /
|
||||
hooks:
|
||||
AfterInstall:
|
||||
- location: scripts/aws_install_dependencies.sh
|
||||
runas: root
|
||||
timeout: 1000
|
||||
- location: scripts/aws_change_ownership.sh
|
||||
runas: root
|
||||
timeout: 300
|
||||
ApplicationStart:
|
||||
- location: scripts/aws_run_db_migrations.sh
|
||||
runas: root
|
||||
timeout: 300
|
||||
Reference in New Issue
Block a user