File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ install_deploysuite: &install_deploysuite
15
15
cp ./../buildscript/master_deploy.sh .
16
16
cp ./../buildscript/buildenv.sh .
17
17
cp ./../buildscript/awsconfiguration.sh .
18
+ restore_cache_settings_for_build : &restore_cache_settings_for_build
19
+ key : docker-node-modules-v4-{{ checksum "package-lock.json" }}
20
+
21
+ save_cache_settings : &save_cache_settings
22
+ key : docker-node-modules-v4-{{ checksum "package-lock.json" }}
23
+ paths :
24
+ - node_modules
18
25
19
26
# Instructions of deployment
20
27
deploy_steps : &deploy_steps
@@ -24,6 +31,8 @@ deploy_steps: &deploy_steps
24
31
- run : *install_awscli
25
32
- run : *install_deploysuite
26
33
- setup_remote_docker
34
+ # Restoration of node_modules from cache.
35
+ - restore_cache : *restore_cache_settings_for_build
27
36
- run : docker build -t ${APPNAME}:latest .
28
37
- deploy :
29
38
name : " Running Masterscript - deploy tc-project-service "
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ const { Umzug, SequelizeStorage } = require('umzug');
5
5
// Initialize Sequelize
6
6
const sequelize = new Sequelize ( config . get ( 'dbConfig.masterUrl' ) , {
7
7
dialect : 'postgres' ,
8
+ schema : config . get ( 'dbConfig.schema' ) ,
8
9
} ) ;
9
10
10
11
// Initialize Umzug
You can’t perform that action at this time.
0 commit comments