Merge pull request #7088 from benjiwheeler/separate-integration-tests

CE-211 separate integration tests into separate job within deploy workflow
This commit is contained in:
Benjamin Wheeler 2022-10-28 17:03:51 -04:00 committed by GitHub
commit fba58764ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,8 +74,6 @@ aliases:
<<: *setup_python
- run:
<<: *deploy
- run:
<<: *integration
- store_test_results:
path: test/results
- run:
@ -83,6 +81,17 @@ aliases:
command: tar -cvzf build.tar build
- store_artifacts:
path: build.tar
- &integration_tests_and_store
<<: *defaults
resource_class: large
steps:
- checkout
- run:
<<: *setup
- run:
<<: *integration
- store_test_results:
path: test/results
- &update-translations
<<: *defaults
steps:
@ -100,6 +109,8 @@ jobs:
<<: *build_and_deploy
build-and-deploy-production:
<<: *build_and_deploy
integration-tests:
<<: *integration_tests_and_store
update-translations:
<<: *update-translations
build-no-deploy:
@ -119,6 +130,17 @@ workflows:
- develop
- /^hotfix\/.*/
- /^release\/.*/
- integration-tests:
context:
- scratch-www-all
- scratch-www-staging
- dockerhub-credentials
filters:
branches:
only:
- develop
- /^hotfix\/.*/
- /^release\/.*/
- build-and-deploy-production:
context:
- scratch-www-all
@ -128,6 +150,15 @@ workflows:
branches:
only:
- master
- integration-tests:
context:
- scratch-www-all
- scratch-www-production
- dockerhub-credentials
filters:
branches:
only:
- master
Update-translations:
triggers:
- schedule: # every evening at 7pm EST (8pm EDT, Midnight UTC)