Move deploy and integration tests to circle
This commit is contained in:
parent
02173caf19
commit
8d3243d195
@ -123,15 +123,15 @@ jobs:
|
|||||||
deploy-staging:
|
deploy-staging:
|
||||||
<<: *deploy
|
<<: *deploy
|
||||||
deploy-production:
|
deploy-production:
|
||||||
# <<: *deploy
|
<<: *deploy
|
||||||
integration-staging-jest:
|
integration-staging-jest:
|
||||||
<<: *integration_jest
|
<<: *integration_jest
|
||||||
integration-staging-tap:
|
integration-staging-tap:
|
||||||
<<: *integration_tap
|
<<: *integration_tap
|
||||||
integration-production-jest:
|
integration-production-jest:
|
||||||
# <<: *integration_jest
|
<<: *integration_jest
|
||||||
integration-production-tap:
|
integration-production-tap:
|
||||||
# <<: *integration_tap
|
<<: *integration_tap
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
build-test-deploy:
|
build-test-deploy:
|
||||||
@ -166,6 +166,16 @@ workflows:
|
|||||||
- develop
|
- develop
|
||||||
- /^hotfix\/.*/
|
- /^hotfix\/.*/
|
||||||
- /^release\/.*/
|
- /^release\/.*/
|
||||||
|
- deploy-production:
|
||||||
|
context:
|
||||||
|
- scratch-www-all
|
||||||
|
- scratch-www-production
|
||||||
|
requires:
|
||||||
|
- build-production
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
- integration-staging-jest:
|
- integration-staging-jest:
|
||||||
context:
|
context:
|
||||||
- scratch-www-all
|
- scratch-www-all
|
||||||
@ -190,3 +200,23 @@ workflows:
|
|||||||
- develop
|
- develop
|
||||||
- /^hotfix\/.*/
|
- /^hotfix\/.*/
|
||||||
- /^release\/.*/
|
- /^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
|
||||||
|
12
.travis.yml
12
.travis.yml
@ -113,22 +113,10 @@ install:
|
|||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- 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
|
- stage: update translations
|
||||||
script: npm run i18n:push
|
script: npm run i18n:push
|
||||||
stages:
|
stages:
|
||||||
- name: test
|
- name: test
|
||||||
if: type != cron
|
if: type != cron
|
||||||
- name: smoke
|
|
||||||
if: type NOT IN (cron, pull_request) AND (branch =~ /^(master)/)
|
|
||||||
- name: update translations
|
- name: update translations
|
||||||
if: branch == develop AND type == cron
|
if: branch == develop AND type == cron
|
||||||
|
Loading…
x
Reference in New Issue
Block a user