Skip to content
代码片段 群组 项目
未验证 提交 b520fcf5 编辑于 作者: Rémy Coutable's avatar Rémy Coutable
浏览文件

ci: Remove .rails-cache in favor of .ruby-cache


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
上级 87041cda
No related branches found
No related tags found
无相关合并请求
......@@ -2,7 +2,7 @@ cache-workhorse:
extends:
- .default-retry
- .default-before_script
- .rails-cache
- .ruby-cache
- .setup-test-env-cache
- .caching:rules:cache-workhorse
stage: prepare
......
.run-dev-fixtures:
extends:
- .default-retry
- .rails-cache
- .ruby-cache
- .default-before_script
- .use-pg13
stage: test
......
......@@ -116,7 +116,7 @@ docs-lint deprecations-and-removals:
SETUP_DB: "false"
extends:
- .default-retry
- .rails-cache
- .ruby-cache
- .default-before_script
- .docs:rules:deprecations-and-removals
stage: lint
......
......@@ -128,7 +128,7 @@ retrieve-frontend-fixtures:
extends:
- .default-retry
- .default-before_script
- .rails-cache
- .ruby-cache
- .use-pg13
stage: fixtures
needs: ["setup-test-env", "retrieve-tests-metadata", "retrieve-frontend-fixtures"]
......@@ -206,7 +206,7 @@ graphql-schema-dump:
SETUP_DB: "false"
extends:
- .default-retry
- .rails-cache
- .ruby-cache
- .default-before_script
- .frontend:rules:default-frontend-jobs
stage: fixtures
......
......@@ -146,10 +146,6 @@
cache:
- *ruby-gems-cache
.rails-cache:
cache:
- *ruby-gems-cache
.static-analysis-cache:
cache:
- *ruby-gems-cache
......
......@@ -3,7 +3,7 @@ graphql-verify:
SETUP_DB: "false"
extends:
- .default-retry
- .rails-cache
- .ruby-cache
- .default-before_script
- .graphql:rules:graphql-verify
stage: test
......
.only-code-memory-job-base:
extends:
- .default-retry
- .rails-cache
- .ruby-cache
- .default-before_script
- .memory:rules
variables:
......
......@@ -16,7 +16,7 @@ include:
extends:
- .default-retry
- .default-before_script
- .rails-cache
- .ruby-cache
.base-script:
script:
......
......@@ -84,7 +84,7 @@ generate-frontend-fixtures-mapping:
extends:
- .setup:rules:generate-frontend-fixtures-mapping
- .use-pg13
- .rails-cache
- .ruby-cache
needs: ["setup-test-env"]
stage: prepare
before_script:
......
......@@ -130,7 +130,7 @@ that are scoped to a single [configuration keyword](../../ci/yaml/index.md#job-k
| `.default-retry` | Allows a job to [retry](../../ci/yaml/index.md#retry) upon `unknown_failure`, `api_failure`, `runner_system_failure`, `job_execution_timeout`, or `stuck_or_timeout_failure`. |
| `.default-before_script` | Allows a job to use a default `before_script` definition suitable for Ruby/Rails tasks that may need a database running (for example, tests). |
| `.setup-test-env-cache` | Allows a job to use a default `cache` definition suitable for setting up test environment for subsequent Ruby/Rails tasks. |
| `.rails-cache` | Allows a job to use a default `cache` definition suitable for Ruby/Rails tasks. |
| `.ruby-cache` | Allows a job to use a default `cache` definition suitable for Ruby tasks. |
| `.static-analysis-cache` | Allows a job to use a default `cache` definition suitable for static analysis tasks. |
| `.coverage-cache` | Allows a job to use a default `cache` definition suitable for coverage tasks. |
| `.qa-cache` | Allows a job to use a default `cache` definition suitable for QA tasks. |
......
......@@ -38,7 +38,6 @@ This works well for the following reasons:
with fixed keys:
- `.setup-test-env-cache`
- `.ruby-cache`
- `.rails-cache`
- `.static-analysis-cache`
- `.rubocop-cache`
- `.coverage-cache`
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册