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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
0a5427d7
Commit
0a5427d7
authored
Dec 13, 2016
by
twonegatives
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made Ci::Builds to have same ref as Ci::Pipeline in dev fixtures
parent
ada8b026
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
changelogs/unreleased/change_development_build_fixtures.yml
changelogs/unreleased/change_development_build_fixtures.yml
+4
-0
db/fixtures/development/14_pipelines.rb
db/fixtures/development/14_pipelines.rb
+1
-1
No files found.
changelogs/unreleased/change_development_build_fixtures.yml
0 → 100644
View file @
0a5427d7
---
title
:
Ci::Builds have same ref as Ci::Pipeline in dev fixtures
merge_request
:
author
:
twonegatives
db/fixtures/development/14_pipelines.rb
View file @
0a5427d7
...
...
@@ -115,7 +115,7 @@ class Gitlab::Seeder::Pipelines
def
job_attributes
(
pipeline
,
opts
)
{
name:
'test build'
,
stage:
'test'
,
stage_idx:
stage_index
(
opts
[
:stage
]),
ref:
'master'
,
tag:
false
,
user:
build_user
,
project:
@project
,
pipeline:
pipeline
,
ref:
pipeline
.
ref
,
tag:
false
,
user:
build_user
,
project:
@project
,
pipeline:
pipeline
,
created_at:
Time
.
now
,
updated_at:
Time
.
now
}.
merge
(
opts
)
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