Commit 74da7911 authored by Mike Greiling's avatar Mike Greiling

Merge branch '42251-explicit-timezone-for-karma' into 'master'

Set timezone for karma CI job to Etc/UTC (UTC+0)

Closes #42251

See merge request gitlab-org/gitlab-ce!16602
parents fbbd81ee da3faca7
---
title: Set timezone for karma to UTC
merge_request: 16602
author: Takuya Noguchi
type: other
...@@ -18,6 +18,8 @@ webpackConfig.devtool = 'cheap-inline-source-map'; ...@@ -18,6 +18,8 @@ webpackConfig.devtool = 'cheap-inline-source-map';
// Karma configuration // Karma configuration
module.exports = function(config) { module.exports = function(config) {
process.env.TZ = 'Etc/UTC';
var progressReporter = process.env.CI ? 'mocha' : 'progress'; var progressReporter = process.env.CI ? 'mocha' : 'progress';
var karmaConfig = { var karmaConfig = {
......
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