From d0cc4da9f05e25a4cb1bf944190814d02fac11a4 Mon Sep 17 00:00:00 2001 From: Devon Mackay Date: Mon, 10 Sep 2018 10:08:49 -0400 Subject: [PATCH] Add deploy stage to the build --- .circleci/config.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index aeb15cb1..00705302 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -158,6 +158,18 @@ jobs: docker push ${IMAGE_NAME} docker logout + deploy: + docker: + - image: *sourceImage + auth: *sourceAuth + environment: *dockerCmdEnvironment + steps: + - attach_workspace: + at: . + - run: + name: "Update Kubernetes Deployment" + command: ./deploy/kubernetes/atst-check-deploy.sh + workflows: version: 2 run-tests: @@ -172,3 +184,9 @@ workflows: filters: branches: only: circleci-cd + - deploy + requires: + - build_and_push_image + filters: + branches: + only: circleci-cd