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

Enable signing daily release build with lifetime certificate #15642

Merged

Conversation

adityapatwardhan
Copy link
Member

PR Summary

Enable signing of daily builds with a lifetime certificate. This will allow us to release a signed build but with a certificate which has a small expiry.

MSIX does not support the lifetime cert, hence keep it unchanged.

PR Context

PR Checklist

@@ -1,9 +1,12 @@
steps:
- powershell: |
$shouldSign = $true
if($env:BUILD_REASON -ne 'Manual')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this mean that builds that are not manual and are not daily will now be signed with the standard Authenticode cert?

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 believe we do not have any builds for this pipeline that are not manual and not daily. The builds we have are:

  1. Daily build - kicked off automatically so not manual. -> signed
  2. Manual kicked off for release - so not daily
  3. Manually kicked off for testing - so not daily

The pipeline also has an option to skip signing using the pipeline schedule time parameter.

Copy link
Collaborator

Choose a reason for hiding this comment

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

No automated on-push branch build?

Copy link
Member Author

Choose a reason for hiding this comment

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

on-push is disabled for the pipeline.

@@ -1,9 +1,12 @@
steps:
- powershell: |
$shouldSign = $true
if($env:BUILD_REASON -ne 'Manual')
Copy link
Collaborator

Choose a reason for hiding this comment

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

No automated on-push branch build?

@adityapatwardhan adityapatwardhan merged commit 86978aa into PowerShell:master Jun 24, 2021
@adityapatwardhan adityapatwardhan deleted the SignDailyBuilds branch June 24, 2021 19:17
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Jun 24, 2021
@adityapatwardhan adityapatwardhan added this to the 7.2.0-preview.8 milestone Jun 24, 2021
@ghost
Copy link

ghost commented Jul 22, 2021

🎉v7.2.0-preview.8 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants