Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openqa-clone-job: Allow printing result as JSON #4564

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

Martchus
Copy link
Contributor

Printing the result of openqa-clone-job as JSON would likely be useful
for openqa-investigate's dependency handling (see
https://progress.opensuse.org/issues/95783) but I suppose it is a good idea
in general to provide a machine-readable output format.

Printing the result of `openqa-clone-job` as JSON would likely be useful
for `openqa-investigate`'s dependency handling (see
https://progress.opensuse.org/issues/95783) but I suppose it is a good idea
in general to provide a machine-readable output format.
@codecov
Copy link

codecov bot commented Mar 17, 2022

Codecov Report

Merging #4564 (5ac2693) into master (9c1b2bd) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4564   +/-   ##
=======================================
  Coverage   97.98%   97.98%           
=======================================
  Files         375      375           
  Lines       34334    34347   +13     
=======================================
+ Hits        33642    33655   +13     
  Misses        692      692           
Impacted Files Coverage Δ
script/openqa-clone-job 81.81% <ø> (ø)
lib/OpenQA/Script/CloneJob.pm 96.98% <100.00%> (+0.01%) ⬆️
t/35-script_clone_job.t 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c1b2bd...5ac2693. Read the comment docs.

@mergify mergify bot merged commit 7d56e59 into os-autoinst:master Mar 18, 2022
@Martchus Martchus deleted the clone-script-json branch March 18, 2022 09:39
@perlpunk
Copy link
Contributor

I just saw this is now producing output on stderr in tests:
https://app.circleci.com/pipelines/github/os-autoinst/openQA/9242/workflows/83a13968-3b59-4bb4-b850-a4bdf7f6b409/jobs/87268?invite=true#step-107-132

[17:09:39] t/35-script_clone_job.t ................................... 3/? downloading
http://foo/tests/1/asset/iso/foo.iso
to
/tmp/JdkB3_lLCV/iso/foo.iso
downloading
http://foo/tests/1/asset/iso/bar.iso
to...

openqabot pushed a commit to openqabot/openQA that referenced this pull request Mar 19, 2022
commit 7d56e59
Merge: 9c1b2bd 5ac2693
Author:     mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
AuthorDate: Fri Mar 18 08:49:18 2022 +0000
Commit:     GitHub <noreply@github.com>
CommitDate: Fri Mar 18 08:49:18 2022 +0000

    Merge pull request os-autoinst#4564 from Martchus/clone-script-json

    openqa-clone-job: Allow printing result as JSON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants