From 3d2c8c2ce2a6387d1adfb8e3d3dc33be82ed820e Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Tue, 18 Sep 2018 11:23:04 -0700 Subject: [PATCH] added deploy_vnext to circle.yml --- circle.yml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/circle.yml b/circle.yml index fc7a12e4..4fb14473 100644 --- a/circle.yml +++ b/circle.yml @@ -58,6 +58,15 @@ jobs: - run: docker login -u $DOCKER_USER -p $DOCKER_PASS - run: docker build -t mozilla/send:latest . - run: docker push mozilla/send:latest + deploy_vnext: + machine: true + steps: + - checkout + - attach_workspace: + at: . + - run: docker login -u $DOCKER_USER -p $DOCKER_PASS + - run: docker build -t mozilla/send:vnext . + - run: docker push mozilla/send:vnext deploy_stage: machine: true steps: @@ -74,11 +83,15 @@ workflows: - build: filters: branches: - ignore: master + ignore: + - master + - vnext - test: filters: branches: - ignore: master + ignore: + - master + - vnext # - integration_tests: # filters: # branches: @@ -90,7 +103,9 @@ workflows: - build: filters: branches: - only: master + only: + - master + - vnext tags: ignore: /^v.*/ - deploy_dev: @@ -101,6 +116,14 @@ workflows: only: master tags: ignore: /^v.*/ + - deploy_vnext: + requires: + - build + filters: + branches: + only: vnext + tags: + ignore: /^v.*/ build_and_deploy_stage: jobs: - build: