debian-mirror-gitlab/.gitlab/ci/test-metadata.gitlab-ci.yml

50 lines
1.4 KiB
YAML
Raw Normal View History

2019-12-04 20:38:33 +05:30
.tests-metadata-state:
2021-03-11 19:13:27 +05:30
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7
2019-07-31 22:56:46 +05:30
before_script:
- source scripts/utils.sh
artifacts:
expire_in: 31d
paths:
- knapsack/
2022-04-04 11:22:00 +05:30
- rspec/
2022-01-26 12:08:38 +05:30
- crystalball/
2022-04-04 11:22:00 +05:30
when: always
2019-07-31 22:56:46 +05:30
retrieve-tests-metadata:
2020-03-13 15:44:24 +05:30
extends:
- .tests-metadata-state
- .test-metadata:rules:retrieve-tests-metadata
2019-07-31 22:56:46 +05:30
stage: prepare
script:
2021-02-22 17:27:13 +05:30
- install_gitlab_gem
- source ./scripts/rspec_helpers.sh
2019-12-21 20:55:43 +05:30
- retrieve_tests_metadata
2019-07-31 22:56:46 +05:30
update-tests-metadata:
2020-03-13 15:44:24 +05:30
extends:
- .tests-metadata-state
- .test-metadata:rules:update-tests-metadata
2019-07-31 22:56:46 +05:30
stage: post-test
2020-05-24 23:13:21 +05:30
dependencies:
2021-11-11 11:23:49 +05:30
- retrieve-tests-metadata
2022-01-26 12:08:38 +05:30
- generate-frontend-fixtures-mapping
2020-05-24 23:13:21 +05:30
- setup-test-env
2021-06-08 01:23:25 +05:30
- rspec migration pg12
2021-11-18 22:05:49 +05:30
- rspec-all frontend_fixture
2021-06-08 01:23:25 +05:30
- 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-07-31 22:56:46 +05:30
script:
2021-01-03 14:25:43 +05:30
- run_timed_command "retry gem install fog-aws mime-types activesupport rspec_profiling postgres-copy --no-document"
- source ./scripts/rspec_helpers.sh
2022-04-04 11:22:00 +05:30
- test -f "${FLAKY_RSPEC_SUITE_REPORT_PATH}" || echo -e "\e[31m" 'Consider add ~"pipeline:run-all-rspec" to run full rspec jobs' "\e[0m"
2019-12-21 20:55:43 +05:30
- update_tests_metadata
2021-01-29 00:20:46 +05:30
- update_tests_mapping