Skip to content

Add signing parameter to ci pipelines #46368

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 6 commits into from
Jan 29, 2025

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Jan 28, 2025

No description provided.

@mmitche mmitche marked this pull request as ready for review January 28, 2025 18:03
@mmitche mmitche requested review from a team as code owners January 28, 2025 18:03
@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Jan 28, 2025
@mmitche
Copy link
Member Author

mmitche commented Jan 28, 2025

image

@mmitche
Copy link
Member Author

mmitche commented Jan 29, 2025

Test runs looks reasonable at this point

- name: signEnabled
value: true
# Pass sign on the internal project if the, branch is a main or release branch
- ${{ elseif and(eq(variables['System.TeamProject'], 'internal'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranchName'], 'refs/heads/release/'))) }}:
Copy link
Member

Choose a reason for hiding this comment

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

How about internal release branches?

Copy link
Member

Choose a reason for hiding this comment

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

If we decide to sign internal release branches, is there a need to enable signing for the corresponding public release branch? If not, maybe we should sign on the internal project if the branch is main, a preview release branch, or an internal release branch.

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed to sign internal/* and release/NN-previewN

@mmitche
Copy link
Member Author

mmitche commented Jan 29, 2025

Minimal change since last iteration that doesn't affect the CI, merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants