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

Add: [AzurePipelines] split the CI in two parts: building and commit checking #7163

Closed
wants to merge 1 commit into from

Conversation

TrueBrain
Copy link
Member

This makes it a bit more clear to the user what went wrong; instead
of "everything", you can now see if either the building failed, or
that the commit checker failed.

Also, this means the commit checker reports back earlier, which
might help in the workflow.

…checking

This makes it a bit more clear to the user what went wrong; instead
of "everything", you can now see if either the building failed, or
that the commit checker failed.

Also, this means the commit checker reports back earlier, which
might help in the workflow.
@TrueBrain
Copy link
Member Author

Click on "Show all checks" to get an idea of how this works

@nielsmh
Copy link
Contributor

nielsmh commented Feb 2, 2019

Does this fix the issues with Docker message spew when the commit checker fails?

If not, would it be an idea to not use a Docker image for this, but rather run in the raw environment provided by Azure? It should not be a problem regarding build tool or library versions for this purpose.

@TrueBrain
Copy link
Member Author

The Docker image thing has an issue here: OpenTTD/CompileFarm#18
And this does not resolve it, no.

For the commit-checker we could do without the Docker, yes. But it might be better that we fix the Docker issue, as otherwise the Linux builds still have the issue. Not sure what is better to spend our time on.

The Docker issue really is just someone looking into it to solve it. Like mentioned in the issue, an extra 'docker pull' or something could already resolve it.

This PR exists because we were wondering if it would help if we report both instances separately, to give faster insight what part failed. Looking at the Azure Pipelines changelog, it seems they are even working towards showing each Job separate. But as that version is not live yet, I am not sure what exactly they changed regarding this (https://docs.microsoft.com/en-us/azure/devops/release-notes/2019/sprint-146-update#display-status-for-each-pipeline-job-in-github-checks).

So I guess your request can be a follow-up on this one. I do not want to make it part of this PR, as I rather would like to know if we want one or multiple builds. Personally I am +0.

Come to think of it, it might be better to wait for the above mentioned change being live. So I am going to close this for now.

@TrueBrain TrueBrain closed this Feb 3, 2019
@glx22
Copy link
Contributor

glx22 commented Feb 9, 2019

The update is live it seems, and the result looks nice.

@TrueBrain TrueBrain deleted the split_checker branch March 5, 2019 21:04
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