.tests-metadata-state: variables: TESTS_METADATA_S3_BUCKET: "gitlab-ce-cache" before_script: - source scripts/utils.sh cache: key: tests_metadata paths: - knapsack/ - rspec_flaky/ artifacts: expire_in: 31d paths: - knapsack/ - rspec_flaky/ - rspec_profiling/ retrieve-tests-metadata: extends: - .tests-metadata-state - .test-metadata:rules:retrieve-tests-metadata stage: prepare cache: policy: pull script: - source scripts/rspec_helpers.sh - retrieve_tests_metadata update-tests-metadata: extends: - .tests-metadata-state - .test-metadata:rules:update-tests-metadata stage: post-test dependencies: - setup-test-env pg9 - rspec migration pg9 - rspec unit pg9 - rspec integration pg9 - rspec system pg9 - rspec-ee migration pg9 - rspec-ee unit pg9 - rspec-ee integration pg9 - rspec-ee system pg9 - rspec-ee unit pg9 geo - rspec-ee integration pg9 geo - rspec-ee system pg9 geo 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