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
Boxiang Sun
gitlab-ce
Commits
7e3ff5a0
Commit
7e3ff5a0
authored
Jul 21, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Retrieve and sync flaky specs report from and to S3
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
8f8fd342
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
147 additions
and
88 deletions
+147
-88
.gitlab-ci.yml
.gitlab-ci.yml
+125
-87
scripts/detect-new-flaky-examples
scripts/detect-new-flaky-examples
+21
-0
scripts/merge-reports
scripts/merge-reports
+1
-1
No files found.
.gitlab-ci.yml
View file @
7e3ff5a0
This diff is collapsed.
Click to expand it.
scripts/detect-new-flaky-examples
0 → 100755
View file @
7e3ff5a0
#!/usr/bin/env ruby
require
'json'
report_file
=
ARGV
.
shift
unless
report_file
puts
'usage: detect-new-flaky-examples <report-file>'
exit
1
end
puts
"Loading
#{
report_file
}
..."
report
=
JSON
.
parse
(
File
.
read
(
report_file
))
if
report
.
any?
puts
"New flaky examples were detected!
\n
"
puts
JSON
.
pretty_generate
(
report
)
exit
1
else
puts
"No new flaky examples detected.
\n
"
exit
0
end
scripts/merge-reports
View file @
7e3ff5a0
...
...
@@ -4,7 +4,7 @@ require 'json'
main_report_file
=
ARGV
.
shift
unless
main_report_file
puts
'usage: merge
_
reports <main-report> [extra reports...]'
puts
'usage: merge
-
reports <main-report> [extra reports...]'
exit
1
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