2019-08-26 20:41:55 +00:00
|
|
|
.tests-metadata-state:
|
2021-02-03 18:09:25 +00:00
|
|
|
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7
|
2019-04-12 08:56:38 +00:00
|
|
|
before_script:
|
|
|
|
- source scripts/utils.sh
|
|
|
|
artifacts:
|
|
|
|
expire_in: 31d
|
|
|
|
paths:
|
|
|
|
- knapsack/
|
|
|
|
- rspec_flaky/
|
|
|
|
- rspec_profiling/
|
2020-11-10 09:08:45 +00:00
|
|
|
- crystalball/packed-mapping.json.gz
|
2019-04-12 08:56:38 +00:00
|
|
|
|
|
|
|
retrieve-tests-metadata:
|
2020-02-12 15:09:37 +00:00
|
|
|
extends:
|
|
|
|
- .tests-metadata-state
|
|
|
|
- .test-metadata:rules:retrieve-tests-metadata
|
2019-04-12 08:56:38 +00:00
|
|
|
stage: prepare
|
|
|
|
script:
|
2020-11-25 15:09:13 +00:00
|
|
|
- install_gitlab_gem
|
|
|
|
- source ./scripts/rspec_helpers.sh
|
2019-09-27 15:06:16 +00:00
|
|
|
- retrieve_tests_metadata
|
2019-04-12 08:56:38 +00:00
|
|
|
|
|
|
|
update-tests-metadata:
|
2020-02-12 15:09:37 +00:00
|
|
|
extends:
|
|
|
|
- .tests-metadata-state
|
|
|
|
- .test-metadata:rules:update-tests-metadata
|
2019-04-12 08:56:38 +00:00
|
|
|
stage: post-test
|
2020-04-21 21:09:38 +00:00
|
|
|
dependencies:
|
2021-08-30 12:09:48 +00:00
|
|
|
- retrieve-tests-metadata
|
2020-05-14 00:07:47 +00:00
|
|
|
- setup-test-env
|
2021-05-10 12:10:26 +00:00
|
|
|
- rspec migration pg12
|
2020-11-10 15:09:14 +00:00
|
|
|
- rspec frontend_fixture
|
|
|
|
- rspec-ee frontend_fixture
|
2021-05-10 12:10:26 +00: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 08:56:38 +00:00
|
|
|
script:
|
2020-11-02 18:09:03 +00:00
|
|
|
- run_timed_command "retry gem install fog-aws mime-types activesupport rspec_profiling postgres-copy --no-document"
|
2020-10-08 18:08:32 +00:00
|
|
|
- source ./scripts/rspec_helpers.sh
|
2021-08-18 09:10:26 +00: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 15:06:16 +00:00
|
|
|
- update_tests_metadata
|
2020-10-28 15:08:49 +00:00
|
|
|
- update_tests_mapping
|