-
Notifications
You must be signed in to change notification settings - Fork 23
Migrate build pipeline to 1ES #42
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
Migrate build pipeline to 1ES #42
Conversation
c54145a to
0747bde
Compare
0747bde to
fec0c30
Compare
| displayName: Use .NET 3.x | ||
| inputs: | ||
| packageType: 'sdk' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which framework does modelbuilder target? shouldn't it target .net 8.0? If so,,,, the test projects too should be updated and this should be updated to .net 8.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| versionSpec: '>=5.2.0' | ||
|
|
||
| - task: UseDotNet@2 | ||
| displayName: Use .NET 6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be .net 8.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ElizabethOkerio I'll update that after I merge #41. This pull request is targeting current main that was targeting .NET 6.0
| checkLatest: true | ||
|
|
||
| - task: UseDotNet@2 | ||
| displayName: Use .NET 6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here? net.8.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #42 (comment)
| displayName: Use .NET 3.x | ||
| inputs: | ||
| packageType: 'sdk' | ||
| version: '3.x' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #42 (comment)
| name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
| ref: refs/tags/release | ||
|
|
||
| variables: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you're missing some variables from the other pipelines...I'm not sure whether it matters though :
variables:
- name: NugetSecurityAnalysisWarningLevel
value: none - name: runCodesignValidationInjection
value: false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought of adding them but I wasn't sure whether they're strictly necessary especially because they appear to be assigned default values. I'll evaluate whether they're necessary when updating the template to use .NET 8.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, those variables are not applied anywhere even in the other pipelines.
Migrate build pipeline to 1ES