Add rpi target to qa deployment

pull/1035/head
connor rigby 2019-10-07 11:32:27 -07:00 committed by Connor Rigby
parent 2281db3bf9
commit 9fd1dccfd3
1 changed files with 45 additions and 0 deletions

View File

@ -531,6 +531,19 @@ jobs:
NERVES_HUB_TTL: "--ttl 900"
<<: *deploy_nerves_hub_firmware_steps
################################################################################
# target=rpi app_env=prod channel=qa #
################################################################################
deploy_rpi_prod_qa:
<<: *defaults
environment:
MIX_TARGET: rpi
MIX_ENV: prod
NERVES_HUB_DEPLOY: rpi-prod-qa
NERVES_HUB_TTL: "--ttl 900"
<<: *deploy_nerves_hub_firmware_steps
################################################################################
# TARGET FIRMWARE NERVES GITHUB RELEASE BETA #
################################################################################
@ -853,6 +866,13 @@ workflows:
only:
- /^qa\/.*/
- build_rpi_prod:
context: farmbot-staging
filters:
branches:
only:
- /^qa\/.*/
- deploy_rpi3_prod_qa:
context: farmbot-staging
filters:
@ -862,6 +882,15 @@ workflows:
requires:
- build_rpi3_prod
- deploy_rpi_prod_qa:
context: farmbot-staging
filters:
branches:
only:
- /^qa\/.*/
requires:
- build_rpi_prod
# any branch matching qa/** to production.farmbot.io
nerves_hub_prod_staging_production:
jobs:
@ -872,6 +901,13 @@ workflows:
only:
- /^qa\/.*/
- build_rpi_prod:
context: farmbot-production
filters:
branches:
only:
- /^qa\/.*/
- deploy_rpi3_prod_qa:
context: farmbot-production
filters:
@ -880,3 +916,12 @@ workflows:
- /^qa\/.*/
requires:
- build_rpi3_prod
- deploy_rpi_prod_qa:
context: farmbot-production
filters:
branches:
only:
- /^qa\/.*/
requires:
- build_rpi_prod