gitlab-org--gitlab-foss/.gitlab/ci/test-metadata.gitlab-ci.yml

40 lines
892 B
YAML
Raw Normal View History

.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
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:
extends:
- .tests-metadata-state
- .test-metadata:rules:retrieve-tests-metadata
2019-04-12 04:56:38 -04:00
stage: prepare
cache:
policy: pull
script:
- source scripts/rspec_helpers.sh
- retrieve_tests_metadata
2019-04-12 04:56:38 -04:00
update-tests-metadata:
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
- source scripts/rspec_helpers.sh
- update_tests_metadata