Skip to content
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

Remove .NET Core install templates from pipelines #5990

Merged
merged 1 commit into from Jan 13, 2022

Conversation

damonbarry
Copy link
Member

@damonbarry damonbarry commented Jan 13, 2022

Cherry-pick 497108e from release/1.2.

Azure IoT Edge PR checklist:

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines and Best Practices

  • I have read the contribution guidelines.
  • Title of the pull request is clear and informative.
  • Description of the pull request includes a concise summary of the enhancement or bug fix.

Testing Guidelines

  • Pull request includes test coverage for the included changes.
  • Description of the pull request includes
    • concise summary of tests added/modified
    • local testing done.

I believe we can finally remove the .NET Core install templates from our pipelines because either:
1. The pipelines are running on 1ES-hosted agents, which already have the latest version of .NET Core 2.1 and 3.1 installed
2. The pipelines are running on MS-hosted agents, which [already have recent version of .NET Core 2.1 and 3.1 installed](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-Readme.md#net-core-sdk)

This change removes the templates and their references. The templates were installing a hard-coded, much older version of the SDK, and therefore missed the latest security patches and other fixes. I also updated the Functions binding project to replace some deprecated properties that were causing errors when built against the latest .NET Core SDK.

Note that this PR does not remove the template that configures the default SDK on Linux.

I tested the three pipelines impacted by this change: dotnet checkin, dotnet CI, and images release.

## Azure IoT Edge PR checklist:

This checklist is used to make sure that common guidelines for a pull request are followed.

### General Guidelines and Best Practices
- [X] I have read the [contribution guidelines](https://github.com/azure/iotedge#contributing).
- [X] Title of the pull request is clear and informative.
- [X] Description of the pull request includes a concise summary of the enhancement or bug fix.

### Testing Guidelines
- [X] Pull request includes test coverage for the included changes.
- Description of the pull request includes 
	- [X] concise summary of tests added/modified
	- [X] local testing done.
@damonbarry damonbarry merged commit 55113ee into Azure:master Jan 13, 2022
@damonbarry damonbarry deleted the remove-dotnet-install branch January 13, 2022 17:06
lt72 pushed a commit to lt72/iotedge that referenced this pull request Jan 31, 2022
damonbarry added a commit to damonbarry/iotedge that referenced this pull request Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants