From 14c2b8fa02d40c43e722b886e81e0c97e5a123f8 Mon Sep 17 00:00:00 2001 From: gisele-igore Date: Fri, 7 Apr 2023 15:43:17 +0200 Subject: [PATCH] Param Config --- .circleci/config.yml | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) 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: