Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d2821a76
Commit
d2821a76
authored
Jan 24, 2018
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into ce-to-ee-2018-01-24
parents
e6c0b419
74da7911
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
changelogs/unreleased/42251-explicit-timezone-for-karma.yml
changelogs/unreleased/42251-explicit-timezone-for-karma.yml
+5
-0
config/karma.config.js
config/karma.config.js
+2
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+1
-1
spec/lib/gitlab/background_migration/populate_merge_request_metrics_with_events_data_spec.rb
...n/populate_merge_request_metrics_with_events_data_spec.rb
+4
-0
No files found.
changelogs/unreleased/42251-explicit-timezone-for-karma.yml
0 → 100644
View file @
d2821a76
---
title
:
Set timezone for karma to UTC
merge_request
:
16602
author
:
Takuya Noguchi
type
:
other
config/karma.config.js
View file @
d2821a76
...
...
@@ -18,6 +18,8 @@ webpackConfig.devtool = 'cheap-inline-source-map';
// Karma configuration
module
.
exports
=
function
(
config
)
{
process
.
env
.
TZ
=
'
Etc/UTC
'
;
var
progressReporter
=
process
.
env
.
CI
?
'
mocha
'
:
'
progress
'
;
var
karmaConfig
=
{
...
...
doc/ci/yaml/README.md
View file @
d2821a76
...
...
@@ -1293,7 +1293,7 @@ to the CI pipeline:
```
yaml
variables
:
GIT_STRATEGY
:
clone
GIT_CHECKOUT
:
false
GIT_CHECKOUT
:
"
false"
script
:
-
git checkout master
-
git merge $CI_BUILD_REF_NAME
...
...
spec/lib/gitlab/background_migration/populate_merge_request_metrics_with_events_data_spec.rb
View file @
d2821a76
...
...
@@ -7,6 +7,10 @@ describe Gitlab::BackgroundMigration::PopulateMergeRequestMetricsWithEventsData,
.
to
receive
(
:commits_count
=
).
and_return
(
nil
)
end
after
do
[
MergeRequest
,
MergeRequestDiff
].
each
(
&
:reset_column_information
)
end
describe
'#perform'
do
let
(
:mr_with_event
)
{
create
(
:merge_request
)
}
let!
(
:merged_event
)
{
create
(
:event
,
:merged
,
target:
mr_with_event
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment