summaryrefslogtreecommitdiff
path: root/.gitlab/ci/global.gitlab-ci.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-18 12:10:03 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-18 12:10:03 +0000
commit38a1a6cb91bd4cd95d18db9a4bfd219bfb75401b (patch)
tree7b3d217aa21180af6256b99a8a6ba76775edd4b8 /.gitlab/ci/global.gitlab-ci.yml
parente6779ab919283efbd93a0e3ed2356c58b19f9c93 (diff)
downloadgitlab-ce-38a1a6cb91bd4cd95d18db9a4bfd219bfb75401b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab/ci/global.gitlab-ci.yml')
-rw-r--r--.gitlab/ci/global.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab/ci/global.gitlab-ci.yml b/.gitlab/ci/global.gitlab-ci.yml
index ba49ddfce9d..fbe147bd39e 100644
--- a/.gitlab/ci/global.gitlab-ci.yml
+++ b/.gitlab/ci/global.gitlab-ci.yml
@@ -88,6 +88,16 @@
<<: *assets-cache
policy: push # We want to rebuild the cache from scratch to ensure stale dependencies are cleaned up.
+.storybook-node-modules-cache: &storybook-node-modules-cache
+ key: "storybook-node-modules-${NODE_ENV}-v1"
+ paths:
+ - storybook/node_modules/
+ policy: pull
+
+.storybook-node-modules-cache-push: &storybook-node-modules-cache-push
+ <<: *storybook-node-modules-cache
+ policy: push # We want to rebuild the cache from scratch to ensure stale dependencies are cleaned up.
+
.rubocop-cache: &rubocop-cache
key: "rubocop-v1"
paths:
@@ -181,6 +191,14 @@
- *node-modules-cache-push
- *assets-cache-push
+.storybook-yarn-cache:
+ cache:
+ - *storybook-node-modules-cache
+
+.storybook-yarn-cache-push:
+ cache:
+ - *storybook-node-modules-cache-push
+
.use-pg11:
image: "registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.36"
services: