Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-10 00:07:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-10 00:07:57 +0300
commit5aa96ff14229dba7e35f213354963febf3ad2833 (patch)
tree544f3233c05f7f1aa723ea9f13036f2f45d91745 /config
parent7ebcead8cfd2edb810dd0cbda816b6cfbd170fe3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r--config/initializers/sidekiq.rb5
-rw-r--r--config/webpack.config.js4
2 files changed, 8 insertions, 1 deletions
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb
index 88e198116a0..fa4fc2d2c7b 100644
--- a/config/initializers/sidekiq.rb
+++ b/config/initializers/sidekiq.rb
@@ -108,6 +108,11 @@ end
Sidekiq.configure_client do |config|
config.redis = queues_config_hash
+ # We only need to do this for other clients. If Sidekiq-server is the
+ # client scheduling jobs, we have access to the regular sidekiq logger that
+ # writes to STDOUT
+ Sidekiq.logger = Gitlab::SidekiqLogging::ClientLogger.build
+ Sidekiq.logger.formatter = Gitlab::SidekiqLogging::JSONFormatter.new if enable_json_logs
config.client_middleware(&Gitlab::SidekiqMiddleware.client_configurator)
end
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 05a217c04fe..e220482d769 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -161,7 +161,9 @@ module.exports = {
},
{
test: /\.js$/,
- exclude: path => /node_modules|vendor[\\/]assets/.test(path) && !/\.vue\.js/.test(path),
+ exclude: path =>
+ /node_modules\/(?!tributejs)|node_modules|vendor[\\/]assets/.test(path) &&
+ !/\.vue\.js/.test(path),
loader: 'babel-loader',
options: {
cacheDirectory: path.join(CACHE_PATH, 'babel-loader'),