Commit 04d2a540 authored by Rémy Coutable's avatar Rémy Coutable

Update cache key to properly build the 'pg' gem

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent ad938b48
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
cache: cache:
key: "assets-compile:production:vendor_ruby:.yarn-cache:tmp_cache_assets_sprockets:tmp_cache_webpack:v7" key: "assets-compile:production:vendor_ruby:.yarn-cache:tmp_cache_assets_sprockets:tmp_cache_webpack:v9"
artifacts: artifacts:
name: webpack-report name: webpack-report
expire_in: 31d expire_in: 31d
...@@ -152,7 +152,7 @@ gitlab:assets:compile pull-cache: ...@@ -152,7 +152,7 @@ gitlab:assets:compile pull-cache:
# we override the max_old_space_size to prevent OOM errors # we override the max_old_space_size to prevent OOM errors
NODE_OPTIONS: --max_old_space_size=3584 NODE_OPTIONS: --max_old_space_size=3584
cache: cache:
key: "assets-compile:v8" key: "assets-compile:v9"
artifacts: artifacts:
expire_in: 7d expire_in: 7d
paths: paths:
...@@ -180,7 +180,7 @@ compile-assets pull-push-cache foss: ...@@ -180,7 +180,7 @@ compile-assets pull-push-cache foss:
when: on_success when: on_success
cache: cache:
policy: pull-push policy: pull-push
key: "assets-compile:v8:foss" key: "assets-compile:v9:foss"
compile-assets pull-cache: compile-assets pull-cache:
extends: .compile-assets-metadata extends: .compile-assets-metadata
...@@ -203,7 +203,7 @@ compile-assets pull-cache foss: ...@@ -203,7 +203,7 @@ compile-assets pull-cache foss:
when: on_success when: on_success
cache: cache:
policy: pull policy: pull
key: "assets-compile:v8:foss" key: "assets-compile:v9:foss"
.frontend-job-base: .frontend-job-base:
extends: extends:
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
# Jobs that only need to pull cache # Jobs that only need to pull cache
.default-cache: .default-cache:
cache: cache:
key: "debian-stretch-ruby-2.6.5-node-12.x" key: "debian-stretch-ruby-2.6.5-pg9.6-node-12.x"
paths: paths:
- .go/pkg/mod - .go/pkg/mod
- vendor/ruby - vendor/ruby
......
...@@ -143,7 +143,7 @@ static-analysis: ...@@ -143,7 +143,7 @@ static-analysis:
script: script:
- scripts/static-analysis - scripts/static-analysis
cache: cache:
key: "debian-stretch-ruby-2.6-and-rubocop" key: "debian-stretch-ruby-2.6-pg9.6-rubocop"
paths: paths:
- vendor/ruby - vendor/ruby
- tmp/rubocop_cache - tmp/rubocop_cache
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment