tic icon indicating copy to clipboard operation
tic copied to clipboard

CI-agnostic way to display logs on failure

Open krlmlr opened this issue 7 years ago • 5 comments

Travis CI: Default to print to job log AppVeyor: Capable of hosting artifacts

krlmlr avatar Jun 17 '17 20:06 krlmlr

Push artifacts to an orphan branch, tag it, print link to console.

krlmlr avatar Jun 28 '18 09:06 krlmlr

Can be achieved (mostly) with existing code, create a demo package to illustrate this.

  • step_rcmdcheck() needs to keep check output (optionally or only when failing)
  • setup SSH keys for the "after_failure" stage, use a branch name generated from ci()$get_build_number()

Orphan branches are problematic because they will be downloaded by default when the user does git fetch . But maybe that's not much of a problem if only logs for failed builds are pushed.

krlmlr avatar Aug 13 '18 00:08 krlmlr

Do we really want this? Aren't we fine with uploading artifacts to the CI provider and having this set in the default templates we're shipping?

pat-s avatar Nov 28 '19 20:11 pat-s

Maybe we can make AppVeyor uploads work again?

krlmlr avatar Nov 28 '19 20:11 krlmlr

Yes, we should/could do that

pat-s avatar Nov 28 '19 20:11 pat-s