From 8d72633ab98852b0ff1eae5f75803cacbc34ab9a Mon Sep 17 00:00:00 2001 From: Sachin Maheshwari Date: Fri, 16 Mar 2018 23:30:29 +0530 Subject: [PATCH] changes for master to push image in aws repo. --- .circleci/config.yml | 12 ++++++++---- deploy.sh | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e274c91..fb0e6ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2 jobs: # Build & Deploy against development backend rer - "build-dev-deploy-test": + "build-dev": docker: - image: docker:17.06.1-ce-git steps: @@ -78,9 +78,13 @@ workflows: version: 2 build: jobs: - # Development builds are executed on "develop" branch only. - - "build-dev-deploy-test": + # Development builds are executed on "dev" branch only. + - "build-dev": filters: branches: only: "dev" - + # Production builds are executed on "master" branch only. + - "build-prod": + filters: + branches: + only: "master" diff --git a/deploy.sh b/deploy.sh index ee48d4d..06fbf1c 100755 --- a/deploy.sh +++ b/deploy.sh @@ -244,6 +244,6 @@ check_service_status() { configure_aws_cli push_ecr_image -deploy_cluster -check_service_status +#deploy_cluster +#check_service_status