Skip to content
Permalink
Browse files

Add rpi target to qa deployment

  • Loading branch information...
ConnorRigby committed Oct 7, 2019
1 parent 2281db3 commit 9fd1dccfd368c952c347cf364cfc282d99fb8754
Showing with 45 additions and 0 deletions.
  1. +45 −0 .circleci/config.yml
@@ -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

0 comments on commit 9fd1dcc

Please sign in to comment.
You can’t perform that action at this time.