added deploy_vnext to circle.yml
This commit is contained in:
parent
7dcf4bcdb9
commit
3d2c8c2ce2
1 changed files with 26 additions and 3 deletions
29
circle.yml
29
circle.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue