Skip to content

Commit 6696d25

Browse files
authored
Merge pull request #3725 from appirio-tech/dev
Connect Production Release 2.6 & 2.7
2 parents ae5f7ba + afb3b17 commit 6696d25

File tree

116 files changed

+73628
-2515
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+73628
-2515
lines changed

.circleci/config.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ install_dependency: &install_dependency
99
name: Installation of build and deployment dependencies.
1010
command: |
1111
sudo apt install python-dev python-pip -y
12-
sudo pip install awscli --upgrade
12+
sudo pip install awscli --upgrade
1313
install_deploysuite: &install_deploysuite
1414
name: Installation of install_deploysuite.
1515
command: |
@@ -19,7 +19,7 @@ install_deploysuite: &install_deploysuite
1919
cp ./../buildscript/awsconfiguration.sh .
2020
restore_cache_settings_for_build: &restore_cache_settings_for_build
2121
key: connect-node-modules-{{ checksum "package-lock.json" }}
22-
save_cache_settings: &save_cache_settings
22+
save_cache_settings: &save_cache_settings
2323
key: connect-node-modules-{{ checksum "package-lock.json" }}
2424
paths:
2525
- node_modules
@@ -29,11 +29,11 @@ running_npm_build: &running_npm_build
2929
source buildenvvar
3030
npm run lint
3131
npm run test
32-
npm run build
32+
npm run build
3333
workspace_persist: &workspace_persist
3434
root: .
3535
paths:
36-
- dist
36+
- dist
3737
workspace_attach: &workspace_attach
3838
at: ./workspace
3939

@@ -46,7 +46,7 @@ build_steps: &build_steps
4646
- restore_cache: *restore_cache_settings_for_build
4747
- run: npm install
4848
- save_cache: *save_cache_settings
49-
- run:
49+
- run:
5050
name: "configuring environment"
5151
command: |
5252
./awsconfiguration.sh $DEPLOY_ENV
@@ -57,15 +57,15 @@ build_steps: &build_steps
5757
deploy_steps: &deploy_steps
5858
- checkout
5959
- attach_workspace: *workspace_attach
60-
- run: *install_deploysuite
60+
- run: *install_deploysuite
6161
- deploy:
6262
name: Running MasterScript
6363
command: |
6464
./awsconfiguration.sh $DEPLOY_ENV
6565
source awsenvconf
6666
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-connectapp-deployvar
6767
source buildenvvar
68-
./master_deploy.sh -d CFRONT -e $DEPLOY_ENV -c false
68+
./master_deploy.sh -d CFRONT -e $DEPLOY_ENV -c $ENABLE_CACHE
6969
7070
jobs:
7171
build-dev:
@@ -88,20 +88,23 @@ jobs:
8888
environment:
8989
DEPLOY_ENV: "DEV"
9090
LOGICAL_ENV: "dev"
91+
ENABLE_CACHE: false
9192
steps: *deploy_steps
9293

9394
deployTest01:
9495
<<: *deploy_defaults
9596
environment:
9697
DEPLOY_ENV: "DEV"
9798
LOGICAL_ENV: "test01"
99+
ENABLE_CACHE: false
98100
steps: *deploy_steps
99101

100102
deployProd:
101103
<<: *deploy_defaults
102104
environment:
103105
DEPLOY_ENV: "PROD"
104106
LOGICAL_ENV: "prod"
107+
ENABLE_CACHE: true
105108
steps: *deploy_steps
106109

107110
workflows:
@@ -112,13 +115,13 @@ workflows:
112115
context : org-global
113116
filters:
114117
branches:
115-
ignore: ['master']
118+
ignore: ['master']
116119
- build-prod:
117120
context : org-global
118121
filters:
119122
branches:
120123
only: master
121-
124+
122125
- deployDev:
123126
context : org-global
124127
requires:
@@ -133,7 +136,7 @@ workflows:
133136
- build-dev
134137
filters:
135138
branches:
136-
only: ['v5-upgrade']
139+
only: ['v5-upgrade', 'feature/new-project-catalog']
137140

138141
- deployProd:
139142
context : org-global

0 commit comments

Comments
 (0)