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
Tatuya Kamada
gitlab-ce
Commits
d64a9fb0
Commit
d64a9fb0
authored
Oct 14, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cs-really-fix-spinach'
parents
48d223d7
eaa22eb4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
features/support/db_cleaner.rb
features/support/db_cleaner.rb
+1
-1
features/support/rerun.rb
features/support/rerun.rb
+2
-0
No files found.
.gitlab-ci.yml
View file @
d64a9fb0
...
...
@@ -99,7 +99,7 @@ update-knapsack:
-
export KNAPSACK_REPORT_PATH=knapsack/spinach_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json
-
export KNAPSACK_GENERATE_REPORT=true
-
cp knapsack/spinach_report.json ${KNAPSACK_REPORT_PATH}
-
knapsack spinach "-r rerun" || retry '[
! -e tmp/spinach-rerun.txt ] ||
bundle exec spinach -r rerun $(cat tmp/spinach-rerun.txt)'
-
knapsack spinach "-r rerun" || retry '[
[ -e tmp/spinach-rerun.txt ]] &&
bundle exec spinach -r rerun $(cat tmp/spinach-rerun.txt)'
artifacts
:
expire_in
:
31d
paths
:
...
...
features/support/db_cleaner.rb
View file @
d64a9fb0
require
'database_cleaner'
DatabaseCleaner
.
strategy
=
:truncation
DatabaseCleaner
[
:active_record
]
.
strategy
=
:truncation
Spinach
.
hooks
.
before_scenario
do
DatabaseCleaner
.
start
...
...
features/support/rerun.rb
View file @
d64a9fb0
# The spinach-rerun-reporter doesn't define the on_undefined_step
# See it here: https://github.com/javierav/spinach-rerun-reporter/blob/master/lib/spinach/reporter/rerun.rb
require
'spinach-rerun-reporter'
module
Spinach
class
Reporter
class
Rerun
...
...
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