Skip to content

Allow file changes from tar as it's just a warning #24971

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

Merged
merged 4 commits into from
Apr 26, 2022

Conversation

marcpopMSFT
Copy link
Member

@marcpopMSFT marcpopMSFT commented Apr 20, 2022

I kept seeing tar errors in our builds. it turns out that tar returning 1 means the files changed during execution. Let's allow that to be more reliable in our builds as I think this is from helix and non-helix together.

The version of tar we use doesn't support the --warning flag for this so map a returncode of 1 back to zero. In parallel, I'm digging into how our version of tar is determined.

…ng 1 means the files changed during execution. Let's allow that to be more reliable in our builds as I think this is from helix and non-helix together.
@ghost ghost added the Area-Infrastructure label Apr 20, 2022
@marcpopMSFT
Copy link
Member Author

Per dngeng, tar comes from the OS we use so this is the best solution we have for the moment. Also, the tar on OSX may not support the warning suppression we'd want to do anyway.

Co-authored-by: Forgind <Forgind@users.noreply.github.com>
@marcpopMSFT marcpopMSFT enabled auto-merge April 25, 2022 23:06
@kasperk81
Copy link
Contributor

looks good. does HelixTask.csproj require multiple frameworks or can it use a single $(SdkTargetFramework) which is currently net7.0?

<TargetFrameworks>netcoreapp3.1;net472</TargetFrameworks>

@marcpopMSFT marcpopMSFT merged commit a2c34bb into main Apr 26, 2022
@marcpopMSFT marcpopMSFT deleted the marcpopMSFT-allowtarchanges branch May 9, 2022 17:44
marcpopMSFT added a commit that referenced this pull request Jun 20, 2022
Allow file changes from tar as it's just a warning
dotnet-maestro bot added a commit that referenced this pull request Jun 21, 2022
[release/6.0.4xx] Update dependencies from nuget/nuget.client


 - Merge pull request #24971 from dotnet/marcpopMSFT-allowtarchanges

Allow file changes from tar as it's just a warning
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