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
Léo-Paul Géneau
gitlab-ce
Commits
be734cef
Commit
be734cef
authored
Aug 28, 2017
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix seed_fu
parent
29edaa1a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
.gitlab-ci.yml
.gitlab-ci.yml
+1
-3
db/fixtures/development/04_project.rb
db/fixtures/development/04_project.rb
+1
-1
No files found.
.gitlab-ci.yml
View file @
be734cef
...
@@ -435,10 +435,8 @@ db:rollback-mysql:
...
@@ -435,10 +435,8 @@ db:rollback-mysql:
variables
:
variables
:
SIZE
:
"
1"
SIZE
:
"
1"
SETUP_DB
:
"
false"
SETUP_DB
:
"
false"
RAILS_ENV
:
"
development"
script
:
script
:
-
git clone https://gitlab.com/gitlab-org/gitlab-test.git
-
cp -R db/fixtures/development db/fixtures/test
/home/git/repositories/gitlab-org/gitlab-test.git
-
bundle exec rake db:setup db:seed_fu
-
bundle exec rake db:setup db:seed_fu
artifacts
:
artifacts
:
when
:
on_failure
when
:
on_failure
...
...
db/fixtures/development/04_project.rb
View file @
be734cef
...
@@ -75,7 +75,7 @@ Sidekiq::Testing.inline! do
...
@@ -75,7 +75,7 @@ Sidekiq::Testing.inline! do
project
.
send
(
:_run_after_commit_queue
)
project
.
send
(
:_run_after_commit_queue
)
end
end
if
project
.
errors
.
an
y?
&&
project
.
valid_repo?
if
project
.
errors
.
messages
.
empt
y?
&&
project
.
valid_repo?
print
'.'
print
'.'
else
else
puts
project
.
errors
.
full_messages
puts
project
.
errors
.
full_messages
...
...
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