-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cmd/archive: output archive to stdout if - is passed as --archive-out #3797
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3797 +/- ##
==========================================
- Coverage 71.87% 71.86% -0.01%
==========================================
Files 291 291
Lines 21260 21263 +3
==========================================
+ Hits 15280 15281 +1
- Misses 4916 4918 +2
Partials 1064 1064
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b77ab02
to
322f998
Compare
Co-authored-by: Oleg Bespalov <oleg.bespalov@grafana.com>
--archive-stdout
What?
This PR allows k6 to output archives to stdout when the special value
-
is used as the argument to--archive-out
.Why?
The only current way I know of to tell k6 to output an archive to stdout is to specify
--archive-out=/dev/stdout
. However, this relies on/dev
existing, which in some fringe cases may not be the case, e.g. when running inside a chroot.Checklist
make lint
) and all checks pass.make tests
) and all tests pass.Related PR(s)/Issue(s)
https://github.com/grafana/sm-k6-archiver/pull/25