BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8815f0f7
Commit
8815f0f7
authored
Apr 18, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10-7-stable-prepare-rc7' into '10-7-stable'
Prepare 10.7 RC7 release See merge request gitlab-org/gitlab-ce!18446
parents
28891da3
61250269
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
build.rb
app/models/ci/build.rb
+1
-1
build_spec.rb
spec/models/ci/build_spec.rb
+0
-4
No files found.
app/models/ci/build.rb
View file @
8815f0f7
...
...
@@ -162,7 +162,7 @@ module Ci
build
.
validates_dependencies!
unless
Feature
.
enabled?
(
'ci_disable_validates_dependencies'
)
end
before
_transition
pending: :running
do
|
build
|
after
_transition
pending: :running
do
|
build
|
build
.
ensure_metadata
.
update_timeout_state
end
end
...
...
spec/models/ci/build_spec.rb
View file @
8815f0f7
...
...
@@ -2140,10 +2140,6 @@ describe Ci::Build do
it
"doesn't save timeout_source"
do
expect
{
run_job_without_exception
}.
not_to
change
{
job
.
reload
.
ensure_metadata
.
timeout_source
}
end
it
'raises an exception'
do
expect
{
job
.
run!
}.
to
raise_error
(
StateMachines
::
InvalidTransition
)
end
end
end
...
...
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