Skip to content

Pass along PGO type and use it in artifacts names#48171

Merged
agocke merged 29 commits into
dotnet:masterfrom
agocke:fix-pgo-req
Feb 26, 2021
Merged

Pass along PGO type and use it in artifacts names#48171
agocke merged 29 commits into
dotnet:masterfrom
agocke:fix-pgo-req

Conversation

@agocke

@agocke agocke commented Feb 11, 2021

Copy link
Copy Markdown
Member

No description provided.

@ghost

ghost commented Feb 11, 2021

Copy link
Copy Markdown

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.

@agocke agocke marked this pull request as ready for review February 11, 2021 22:01
@danmoseley danmoseley added the area-Infrastructure-coreclr Only use for closed issues label Feb 12, 2021
Comment thread eng/pipelines/runtime.yml
- windows_x64
jobParameters:
testGroup: innerloop
pgoType: 'PGO'

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.

do we expect different PGO types or why didn't you choose a bool?

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.

I couldn't figure out a good way in YAML to turn a bool into a string, and didn't want to repeat a conditional in the build where I change the name of jobs to include "PGO". If you have a better way I'd love to use it. I couldn't find any support for something like if(pgoInstrument, 'PGO', '') in YAML.

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.

ah I see. Unfortunately there is no way in YAML to do that. So let's keep it as is.

@agocke

agocke commented Feb 18, 2021

Copy link
Copy Markdown
Member Author

@safern @jkoritzinsky Anything else?

@safern

safern commented Feb 23, 2021

Copy link
Copy Markdown
Member

@agocke if you haven't can you trigger an official build from this branch to make sure it is not broken?

@agocke

agocke commented Feb 24, 2021

Copy link
Copy Markdown
Member Author

@safern How do I trigger a pipeline on the branch of a fork? Wouldn't it have to be on the runtime repo itself?

@jkoritzinsky

Copy link
Copy Markdown
Member

You can push your branch to the internal repo and manually trigger a build for your branch.

@agocke

agocke commented Feb 26, 2021

Copy link
Copy Markdown
Member Author

Tested this in the official build and it's all green.

@agocke agocke merged commit 9f96e9e into dotnet:master Feb 26, 2021
@agocke agocke deleted the fix-pgo-req branch February 26, 2021 19:29
@ghost ghost locked as resolved and limited conversation to collaborators Mar 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-coreclr Only use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants