Skip to content

Commit

Permalink
Fix testdata rake task
Browse files Browse the repository at this point in the history
and add the YAML magic comment to the Staging project instead of the parent.
Otherwise the staging dashboard will crash because of a YAML load error
while parsing the empty description of the Staging project.
  • Loading branch information
ChrisBr committed Sep 19, 2018
1 parent 3ed2f97 commit ead693e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/lib/tasks/dev.rake
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ namespace :dev do
)

# Create factory dashboard projects
create(:project, name: 'openSUSE:Factory', description: 'requests:')
create(:project, name: 'openSUSE:Factory')
create(:project, name: 'openSUSE:Factory:Rings:0-Bootstrap')
create(:project, name: 'openSUSE:Factory:Rings:1-MinimalX')
create(:project, name: 'openSUSE:Factory:Staging:A')
create(:project, name: 'openSUSE:Factory:Staging:A', description: 'requests:')
end
end
end
Expand Down

0 comments on commit ead693e

Please sign in to comment.