Skip to content

Commit 714ba1a

Browse files
author
Hamid Tavakoli
committed
Remove fargate
1 parent c4c9a1e commit 714ba1a

File tree

1 file changed

+25
-28
lines changed

1 file changed

+25
-28
lines changed

.circleci/config.yml

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
version: 2
22
defaults: &defaults
3-
docker:
4-
- image: circleci/python:2.7-stretch-browsers
3+
docker:
4+
- image: circleci/python:2.7-stretch-browsers
55
install_dependency: &install_dependency
6-
name: Installation of build and deployment dependencies.
7-
command: |
8-
sudo apt install jq
9-
sudo pip install awscli --upgrade
10-
sudo pip install docker-compose
11-
6+
name: Installation of build and deployment dependencies.
7+
command: |
8+
sudo apt install jq
9+
sudo pip install awscli --upgrade
10+
sudo pip install docker-compose
11+
1212
install_deploysuite: &install_deploysuite
13-
name: Installation of install_deploysuite.
14-
#Git Clone -change back to v1.3 or latest once counter var is generalized.
15-
command: |
16-
git clone --branch master https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
17-
cp ./../buildscript/master_deploy.sh .
18-
cp ./../buildscript/buildenv.sh .
19-
cp ./../buildscript/awsconfiguration.sh .
20-
13+
name: Installation of install_deploysuite.
14+
#Git Clone -change back to v1.3 or latest once counter var is generalized.
15+
command: |
16+
git clone --branch master https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
17+
cp ./../buildscript/master_deploy.sh .
18+
cp ./../buildscript/buildenv.sh .
19+
cp ./../buildscript/awsconfiguration.sh .
20+
2121
restore_cache_settings_for_build: &restore_cache_settings_for_build
2222
key: circleci-tc-email-service-{{ checksum "package-lock.json" }}
2323

@@ -27,9 +27,8 @@ save_cache_settings: &save_cache_settings
2727
- node_modules
2828

2929
run_build: &run_build
30-
name: Build of Docker image
31-
command: ./build.sh
32-
30+
name: Build of Docker image
31+
command: ./build.sh
3332

3433
jobs:
3534
# Build & Deploy against development backend rer
@@ -45,14 +44,13 @@ jobs:
4544
- save_cache: *save_cache_settings
4645
- deploy:
4746
name: Running Masterscript - deploy tc-email-service
48-
command: |
47+
command: |
4948
./awsconfiguration.sh DEV
5049
source awsenvconf
5150
./buildenv.sh -e DEV -b dev-tc-email-service-deployvar
5251
source buildenvvar
53-
./master_deploy.sh -d ECS -e DEV -t latest -s dev-global-appvar,dev-tc-email-service-appvar -i tc-email-service -p FARGATE
54-
55-
52+
./master_deploy.sh -d ECS -e DEV -t latest -s dev-global-appvar,dev-tc-email-service-appvar -i tc-email-service -p FARGATE
53+
5654
"build-prod":
5755
<<: *defaults
5856
steps:
@@ -70,21 +68,20 @@ jobs:
7068
source awsenvconf
7169
./buildenv.sh -e PROD -b prod-tc-email-service-deployvar
7270
source buildenvvar
73-
./master_deploy.sh -d ECS -e PROD -t latest -s prod-global-appvar,prod-tc-email-service-appvar -i tc-email-service -p FARGATE
71+
./master_deploy.sh -d ECS -e PROD -t latest -s prod-global-appvar,prod-tc-email-service-appvar -i tc-email-service
7472
75-
7673
workflows:
7774
version: 2
7875
build:
7976
jobs:
8077
# Development builds are executed on "develop" branch only.
8178
- "build-dev":
82-
context : org-global
79+
context: org-global
8380
filters:
8481
branches:
85-
only: ['dev', 'feature/decouple-sendgridtemplateid']
82+
only: ["dev", "feature/decouple-sendgridtemplateid"]
8683
- "build-prod":
87-
context : org-global
84+
context: org-global
8885
filters:
8986
branches:
9087
only: master

0 commit comments

Comments
 (0)