2019-08-26 16:41:55 -04:00
|
|
|
.tests-metadata-state:
|
2019-04-12 04:56:38 -04:00
|
|
|
variables:
|
|
|
|
TESTS_METADATA_S3_BUCKET: "gitlab-ce-cache"
|
|
|
|
before_script:
|
|
|
|
- source scripts/utils.sh
|
2019-09-27 11:06:16 -04:00
|
|
|
cache:
|
|
|
|
key: tests_metadata
|
|
|
|
paths:
|
|
|
|
- knapsack/
|
|
|
|
- rspec_flaky/
|
2019-04-12 04:56:38 -04:00
|
|
|
artifacts:
|
|
|
|
expire_in: 31d
|
|
|
|
paths:
|
|
|
|
- knapsack/
|
|
|
|
- rspec_flaky/
|
|
|
|
- rspec_profiling/
|
|
|
|
|
|
|
|
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
|
|
|
|
cache:
|
|
|
|
policy: pull
|
|
|
|
script:
|
2019-09-27 11:06:16 -04:00
|
|
|
- source scripts/rspec_helpers.sh
|
|
|
|
- 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
|
|
|
|
cache:
|
|
|
|
policy: push
|
|
|
|
script:
|
|
|
|
- retry gem install fog-aws mime-types activesupport rspec_profiling postgres-copy --no-document
|
2019-09-27 11:06:16 -04:00
|
|
|
- source scripts/rspec_helpers.sh
|
|
|
|
- update_tests_metadata
|