2019-08-26 16:41:55 -04:00
|
|
|
.tests-metadata-state:
|
2021-02-03 13:09:25 -05:00
|
|
|
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7
|
2019-04-12 04:56:38 -04:00
|
|
|
before_script:
|
|
|
|
- source scripts/utils.sh
|
|
|
|
artifacts:
|
|
|
|
expire_in: 31d
|
|
|
|
paths:
|
|
|
|
- knapsack/
|
|
|
|
- rspec_flaky/
|
|
|
|
- rspec_profiling/
|
2020-11-10 04:08:45 -05:00
|
|
|
- crystalball/packed-mapping.json.gz
|
2019-04-12 04:56:38 -04:00
|
|
|
|
|
|
|
retrieve-tests-metadata:
|
2020-02-12 10:09:37 -05:00
|
|
|
extends:
|
|
|
|
- .tests-metadata-state
|
|
|
|
- .test-metadata:rules:retrieve-tests-metadata
|
2019-04-12 04:56:38 -04:00
|
|
|
stage: prepare
|
|
|
|
script:
|
2020-11-25 10:09:13 -05:00
|
|
|
- install_gitlab_gem
|
|
|
|
- source ./scripts/rspec_helpers.sh
|
2019-09-27 11:06:16 -04:00
|
|
|
- retrieve_tests_metadata
|
2019-04-12 04:56:38 -04:00
|
|
|
|
|
|
|
update-tests-metadata:
|
2020-02-12 10:09:37 -05:00
|
|
|
extends:
|
|
|
|
- .tests-metadata-state
|
|
|
|
- .test-metadata:rules:update-tests-metadata
|
2019-04-12 04:56:38 -04:00
|
|
|
stage: post-test
|
2020-04-21 17:09:38 -04:00
|
|
|
dependencies:
|
2021-08-30 08:09:48 -04:00
|
|
|
- retrieve-tests-metadata
|
2020-05-13 20:07:47 -04:00
|
|
|
- setup-test-env
|
2021-05-10 08:10:26 -04:00
|
|
|
- rspec migration pg12
|
2021-10-04 14:12:46 -04:00
|
|
|
- rspec-all frontend_fixture
|
2021-05-10 08:10:26 -04:00
|
|
|
- rspec unit pg12
|
|
|
|
- rspec integration pg12
|
|
|
|
- rspec system pg12
|
|
|
|
- rspec-ee migration pg12
|
|
|
|
- rspec-ee unit pg12
|
|
|
|
- rspec-ee integration pg12
|
|
|
|
- rspec-ee system pg12
|
|
|
|
- rspec-ee unit pg12 geo
|
|
|
|
- rspec-ee integration pg12 geo
|
|
|
|
- rspec-ee system pg12 geo
|
2019-04-12 04:56:38 -04:00
|
|
|
script:
|
2020-11-02 13:09:03 -05:00
|
|
|
- run_timed_command "retry gem install fog-aws mime-types activesupport rspec_profiling postgres-copy --no-document"
|
2020-10-08 14:08:32 -04:00
|
|
|
- source ./scripts/rspec_helpers.sh
|
2021-08-18 05:10:26 -04:00
|
|
|
- test -f rspec_flaky/report-suite.json || echo -e "\e[31m" 'Consider add ~"pipeline:run-all-rspec" to run full rspec jobs' "\e[0m"
|
2019-09-27 11:06:16 -04:00
|
|
|
- update_tests_metadata
|
2020-10-28 11:08:49 -04:00
|
|
|
- update_tests_mapping
|