Skip to content

Support running official build in dnceng#48614

Merged
genlu merged 1 commit intomasterfrom
dev/gel/AddBuildPool
Oct 16, 2020
Merged

Support running official build in dnceng#48614
genlu merged 1 commit intomasterfrom
dev/gel/AddBuildPool

Conversation

@genlu
Copy link
Member

@genlu genlu commented Oct 15, 2020

The pipeline in dnceng is here:
https://dev.azure.com/dnceng/internal/_build?definitionId=327&_a=summary

The build isn't fully functional yet because of missing credentials for publishing, but the build and signing all work:
https://dev.azure.com/dnceng/internal/_build/results?buildId=853881&view=results

I have tested existing pipeline in devdiv to confirm I didn't break anything:

I will make a follow-up PR to make sure two pipeline will produce build with different build number and assembly version.

Update:
Added fix for differentiating build numbers from two pipelines. The behevaior is the build will start with regular build number which will be updated once the task is executed (first task in the yaml). Tested in dnceng (odd rev# for dnceng and even for devdiv)
https://dev.azure.com/dnceng/internal/_build/results?buildId=855163&view=logs&j=20fcf628-b65c-5865-625a-1cef81cda63b&t=20450ecf-f450-5022-55ce-fcecb22663e6

@MattGal @tmat @jaredpar @dotnet/roslyn-infrastructure Please take a look

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@genlu genlu force-pushed the dev/gel/AddBuildPool branch 2 times, most recently from 6ec657b to 7861e0c Compare October 15, 2020 05:16
@genlu genlu changed the title Dev/gel/add build pool Support running official build in dnceng Oct 15, 2020
eng/build.ps1 Outdated
Copy link
Member Author

Choose a reason for hiding this comment

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

changes in build script should only affect official build

@genlu genlu marked this pull request as ready for review October 15, 2020 05:51
@genlu genlu requested a review from a team as a code owner October 15, 2020 05:51
eng/build.ps1 Outdated
Copy link
Member

Choose a reason for hiding this comment

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

ConvertTo [](start = 11, length = 9)

This is suspicious: https://github.com/dotnet/platform-compat/blob/master/docs/DE0001.md

Copy link
Member Author

Choose a reason for hiding this comment

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

Find-OptimizationInputsStoreForBranch only takes SecureString for PAT. That said, it'd be great if someone can confirm the way I handle the token here is OK
https://devdiv.visualstudio.com/Engineering/_git/Validation?path=%2Fsrc%2FOptimization%2FData.PowerShell%2FAuthenticatedCmdlet.cs&version=GBmain&line=51&lineEnd=52&lineStartColumn=1&lineEndColumn=1&lineStyle=plain

Copy link
Member

Choose a reason for hiding this comment

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

@GrabYourPitchforks Should this be addressed in Find-OptimizationInputsStoreForBranch?

Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

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

LGTM

@genlu genlu force-pushed the dev/gel/AddBuildPool branch from f44cca8 to 5878a7b Compare October 16, 2020 18:45
@genlu genlu merged commit 4134481 into master Oct 16, 2020
@ghost ghost added this to the Next milestone Oct 16, 2020
@genlu genlu deleted the dev/gel/AddBuildPool branch October 16, 2020 22:46
@allisonchou allisonchou modified the milestones: Next, 16.9.P2 Nov 24, 2020
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.

5 participants