Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Add Pull Request Builds documentation#35672

Merged
safern merged 2 commits intodotnet:masterfrom
safern:AddPipelinesDocs
Mar 1, 2019
Merged

Add Pull Request Builds documentation#35672
safern merged 2 commits intodotnet:masterfrom
safern:AddPipelinesDocs

Conversation

@safern
Copy link
Member

@safern safern commented Mar 1, 2019

Fixes: #35288
This doc is for contributors or members to use when in doubt of how our pull request builds work. Ideas or new entries are welcome. You can view at: https://github.com/dotnet/corefx/blob/2a60ef1630e8050a18632217d682b5675287ac49/Documentation/project-docs/pullrequest-builds.md

At the bottom of the doc there is a Known issues section which I will be updating once this issues are fixed and creating PRs to announce it broadly.

cc: @danmosemsft @ViktorHofer @ericstj @tannergooding @maryamariyan @stephentoub @Anipik @JeremyKuhne @jkotas @karelz @dotnet/ncl @MarcoRossignoli @Wraith2 @krwq @afsanehr @vcsjones

@safern safern force-pushed the AddPipelinesDocs branch from 5faa305 to 2a60ef1 Compare March 1, 2019 00:20
Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the nits that are already expressed LGTM

@MarcoRossignoli
Copy link
Member

Thank you very much @safern!

```
/azp help (displays help message)
/azp run (runs all builds listed above)
/azp run <build name> (/azp run corefx-outerloop-linux)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@safern, could we create a corefx-outerloop such that I could type just /azp run corefx-outerloop and it would run all three of the OS-specific outerloops listed above?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll investigate if this is possible. I'm not sure if we can achieve that, but we might be able to do so. I'll double check.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to do this now, we would need to add a new dummy pipeline that does nothing, and then chain the other 3 pipelines to be triggered when that is finished. Are we OK with having a new pipeline that will always show green even though one of the others failed?

I will however talk to Azure DevOps folks, to maybe add a feature, to be able to specify a grouping name when triggering through comments or something like that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just added a tracking issue for aliases/tags on a build, so that we don't have to do ugly workarounds.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so I tried that workaround where we would add a dummy build and trigger the other 3 builds and the way this is structured in azure pipelines, won't actually work for PRs. What we could do is add an extra build (corefx-outerloop) which runs the whole outerloop matrix. If you want to just run osx, then you call corefx-outerloop-osx directly.

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for writing this up.

@safern
Copy link
Member Author

safern commented Mar 1, 2019

/azp run corefx-outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@safern safern force-pushed the AddPipelinesDocs branch from bbb7a5b to 62ee704 Compare March 1, 2019 21:47
@safern safern merged commit f709c10 into dotnet:master Mar 1, 2019
@safern safern deleted the AddPipelinesDocs branch March 1, 2019 22:06
@karelz karelz added this to the 3.0 milestone Mar 18, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Add Pull Request Builds documentation

* PR Feedback


Commit migrated from dotnet/corefx@f709c10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation explaining new build system for contributors to understand better.

8 participants