Skip to content

Conversation

@akoeplinger
Copy link
Member

This seems to be a side-effect of #99179

Arcade checks whether disableComponentGovernance is the empty string to apply the default skipping logic: https://github.com/dotnet/arcade/blob/ace00d8719b8d1fdfd0cc05f71bb9af216338d27/eng/common/templates/job/job.yml#L168-L174

Changed our templates to make sure we pass that correctly.

This seems to be a side-effect of dotnet#99179

Arcade checks whether `disableComponentGovernance` is the empty string to apply the default skipping logic: https://github.com/dotnet/arcade/blob/ace00d8719b8d1fdfd0cc05f71bb9af216338d27/eng/common/templates/job/job.yml#L168-L174

Changed our templates to make sure we pass that correctly.
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

pool: ${{ parameters.pool }}

# Disable component governance if requested or on musl machines where it does not work well
${{ if or(eq(parameters.disableComponentGovernance, true), eq(parameters.osSubGroup, '_musl')) }}:
Copy link
Member Author

@akoeplinger akoeplinger Mar 18, 2024

Choose a reason for hiding this comment

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

This .yml doesn't have a disableComponentGovernance parameter and nothing sets it so I removed the check

Copy link
Member

Choose a reason for hiding this comment

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

Is that a result of the refactoring? I added a bunch of these in #84683 (though not to this file)

Copy link
Member Author

Choose a reason for hiding this comment

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

I haven't checked but could be yeah.

@akoeplinger
Copy link
Member Author

/ba-g test failures are unrelated

@akoeplinger akoeplinger merged commit 69340eb into dotnet:main Mar 18, 2024
@akoeplinger akoeplinger deleted the fix-cg branch March 18, 2024 16:11
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants