added deploy_vnext to circle.yml

This commit is contained in:
Danny Coates 2018-09-18 11:23:04 -07:00
parent 7dcf4bcdb9
commit 3d2c8c2ce2
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
1 changed files with 26 additions and 3 deletions

View File

@ -58,6 +58,15 @@ jobs:
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS - run: docker login -u $DOCKER_USER -p $DOCKER_PASS
- run: docker build -t mozilla/send:latest . - run: docker build -t mozilla/send:latest .
- run: docker push 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: deploy_stage:
machine: true machine: true
steps: steps:
@ -74,11 +83,15 @@ workflows:
- build: - build:
filters: filters:
branches: branches:
ignore: master ignore:
- master
- vnext
- test: - test:
filters: filters:
branches: branches:
ignore: master ignore:
- master
- vnext
# - integration_tests: # - integration_tests:
# filters: # filters:
# branches: # branches:
@ -90,7 +103,9 @@ workflows:
- build: - build:
filters: filters:
branches: branches:
only: master only:
- master
- vnext
tags: tags:
ignore: /^v.*/ ignore: /^v.*/
- deploy_dev: - deploy_dev:
@ -101,6 +116,14 @@ workflows:
only: master only: master
tags: tags:
ignore: /^v.*/ ignore: /^v.*/
- deploy_vnext:
requires:
- build
filters:
branches:
only: vnext
tags:
ignore: /^v.*/
build_and_deploy_stage: build_and_deploy_stage:
jobs: jobs:
- build: - build: