On Mon, 2020-03-23 at 15:27 +0000, Daniel P. Berrangé wrote:
On Mon, Mar 23, 2020 at 03:35:03PM +0100, Andrea Bolognani wrote:
> Are we eventually going to have the same syntax-check / build /
> check split as we currently have in Jenkins?
This isn't a desirable approach, because in general you're not
going to be sharing the git checkout between build jobs in the
pipeline. You can selectively publish data from one stage to
another, but we don't really want to publish the entire build
dir output, which is what would be required to split off the
build & check stages.
Makes sense. I was asking mostly out of curiosity anyway.
The main benefit for having them separate is to make it easier
to view the logs to see what part failed.
GitLab has a mechanism for publishing artifacts, and the GNOME
projects use this to publish their unit tests results in junit
format IIUC. If we can get something like this wired up then we
can solve the problem if making it easy to view test failures
as a distinct thing from general build failures.
That'd be neat :)
--
Andrea Bolognani / Red Hat / Virtualization