Skip to content

ci: Remove views folder from assets caching key

What does this MR do?

Currently, the compiled assets caching strategy uses the following dirs, files and patterns to compute the cache key:

      FOSS_ASSET_FOLDERS = %w[app/assets app/views fixtures/emojis vendor/assets/javascripts].freeze
      EE_ASSET_FOLDERS = %w[ee/app/assets ee/app/views].freeze
      JS_ASSET_PATTERNS = %w[*.js config/**/*.js].freeze
      JS_ASSET_FILES = %w[package.json yarn.lock].freeze

This MR removes app/views and ee/app/views from the key as they have no impact on the assets compilation.

Related to #334170 (closed)

Edited by Rémy Coutable

Merge request reports