Move deploy and integration tests to circle

This commit is contained in:
BryceLTaylor 2021-04-05 11:04:41 -04:00
parent 02173caf19
commit 8d3243d195
2 changed files with 33 additions and 15 deletions

View File

@ -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

View File

@ -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