diff --git a/.circleci/config.yml b/.circleci/config.yml index 6c57e335..f9bba816 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,21 +1,5 @@ version: 2.1 -parameters: - stg-devops-path: - type: string - description: Path to the values for stg cluster - default: ./devops/stg.values.yaml - - ppd-devops-path: - type: string - description: Path to the values for ppd(prod) cluster - default: ./devops/ppd.values.yaml - - prod-devops-path: - type: string - description: Path to the values for prod cluster - default: ./devops/prd.values.yaml - orbs: kubernetes: circleci/kubernetes@1.0.0 helm: circleci/helm@2.0.1 @@ -42,6 +26,10 @@ jobs: deploy-docker-image: + parameters: + env: + type: string + default: "" docker: - image: cimg/base:stable environment: @@ -75,6 +63,7 @@ workflows: context: - staging - deploy-docker-image: + env: stg requires: - build-push-docker-image context: @@ -96,6 +85,7 @@ workflows: context: - production - deploy-docker-image: + env: ppd requires: - build-push-docker-image context: @@ -106,6 +96,7 @@ workflows: branches: ignore: /.*/ + # build-and-deploy-prod: # jobs: # - build-push-docker-image: