Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunasekar-K authored Aug 10, 2022
1 parent 83266e2 commit 546879a
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,14 @@ version: 2
defaults: &defaults
docker:
- image: circleci/node:6.14-stretch-browsers

deploy_defaults: &deploy_defaults
docker:
- image: cimg/python:3.10.2

install_deploy_dependency: &install_deploy_dependency
name: Installation of build and deployment dependencies.
command: |
pip3 install awscli --upgrade
install_dependency: &install_dependency
name: Installation of build and deployment dependencies.
command: |
sudo apt update
sudo apt install jq python3-pip
sudo pip3 install awscli --upgrade
sudo pip3 install docker-compose
# sudo pip3 install docker-compose
install_deploysuite: &install_deploysuite
name: Installation of install_deploysuite.
Expand Down Expand Up @@ -50,7 +41,7 @@ build_steps: &build_steps

deploy_steps: &deploy_steps
- checkout
- run: *install_deploy_dependency
- run: *install_dependency
- run: *install_deploysuite
- attach_workspace:
at: .
Expand All @@ -74,15 +65,15 @@ jobs:
steps: *build_steps

deploy_prod:
<<: *deploy_defaults
<<: *defaults
environment:
BUILD_ENV: "prod"
DEPLOY_ENV: "PROD"
BUCKET_NAME: "admin.topcoder.com"
steps: *deploy_steps

deploy_dev:
<<: *deploy_defaults
<<: *defaults
environment:
BUILD_ENV: "dev"
DEPLOY_ENV: "DEV"
Expand Down

0 comments on commit 546879a

Please sign in to comment.