Skip to content

Clone source from mirror for DartLab integration tests#58872

Merged
JoeRobich merged 1 commit intomainfrom
dartlab-fix
Jan 18, 2022
Merged

Clone source from mirror for DartLab integration tests#58872
JoeRobich merged 1 commit intomainfrom
dartlab-fix

Conversation

@JoeRobich
Copy link
Copy Markdown
Member

@JoeRobich JoeRobich commented Jan 14, 2022

There were concern about automatically running this pipeline and building from GitHub. I have updated the pipeline to pull source from our internal mirror instead.

Test run: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5632203&view=results (microsoft)

@JoeRobich JoeRobich requested a review from a team as a code owner January 14, 2022 22:23
@ghost ghost added the Area-Infrastructure label Jan 14, 2022
filePath: $(DartLab.Path)\Scripts\VisualStudio\Build\Get-VisualStudioDropName.ps1
arguments: -DropNamePrefix 'Products' -VstsDropUrlsJson '$(Pipeline.Workspace)\VisualStudioBuildUnderTest\BuildArtifacts\VstsDropUrls.json' -OutVariableName 'VisualStudio.BuildUnderTest.ProductsDropName'
deployAndRunTestsStepList:
- checkout: RoslynMirror
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Since we do not specify - checkout: self we are pulling the source from our mirror instead of GH.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this run the full git checkout or the modified one that we built which does a minimal checkout?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is AzDO running its full git checkout. I will have to see how extra git resources are managed to determine if we can update our checkout task.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think it's anything that should block this change but is something that we should keep an eye on. The frequency of our checkouts in normal CI made this a problem, doubt this hits as frequently hence less of a trigger point.

@JoeRobich
Copy link
Copy Markdown
Member Author

@jaredpar Please take a look

Copy link
Copy Markdown
Member

@RikkiGibson RikkiGibson left a comment

Choose a reason for hiding this comment

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

LGTM. Would be nice to use the checkout task (modify to parameterize what repo we use?) but not important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants