Unverified Commit f0164b11 authored by Bryce Taylor's avatar Bryce Taylor Committed by GitHub

Merge pull request #5269 from BryceLTaylor/use-circle-deploy-production

Move deploy and integration tests to circle
parents fed811ec 8d3243d1
......@@ -123,15 +123,15 @@ jobs:
deploy-staging:
<<: *deploy
deploy-production:
# <<: *deploy
<<: *deploy
integration-staging-jest:
<<: *integration_jest
integration-staging-tap:
<<: *integration_tap
integration-production-jest:
# <<: *integration_jest
<<: *integration_jest
integration-production-tap:
# <<: *integration_tap
<<: *integration_tap
workflows:
build-test-deploy:
......@@ -166,6 +166,16 @@ workflows:
- develop
- /^hotfix\/.*/
- /^release\/.*/
- deploy-production:
context:
- scratch-www-all
- scratch-www-production
requires:
- build-production
filters:
branches:
only:
- master
- integration-staging-jest:
context:
- scratch-www-all
......@@ -190,3 +200,23 @@ workflows:
- develop
- /^hotfix\/.*/
- /^release\/.*/
- integration-production-jest:
context:
- scratch-www-all
- scratch-www-production
requires:
- deploy-production
filters:
branches:
only:
- master
- integration-production-tap:
context:
- scratch-www-all
- scratch-www-production
requires:
- deploy-production
filters:
branches:
only:
- master
......@@ -113,22 +113,10 @@ install:
jobs:
include:
- stage: test
deploy:
- provider: script
skip_cleanup: $SKIP_CLEANUP
script: npm run deploy
on:
repo: LLK/scratch-www
branch:
- master
- stage: smoke
script: npm run test:integration:remote
- stage: update translations
script: npm run i18n:push
stages:
- name: test
if: type != cron
- name: smoke
if: type NOT IN (cron, pull_request) AND (branch =~ /^(master)/)
- name: update translations
if: branch == develop AND type == cron
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment