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

Only sign the windows binary when the signing secrets are configured #1206

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

ringods
Copy link
Member

@ringods ringods commented Dec 10, 2024

The addition of signing Windows binaries unconditionally broke the setup for non-Pulumi managed providers:

#1202 (comment)

This PR checks if the signing secrets have been configured and skips the signing step when not configured, as is currently the case for the providers I manage.

This is tested for the acme provider:

@ringods
Copy link
Member Author

ringods commented Dec 10, 2024

With my change, the xyz provider is still signed:

https://github.com/pulumi/pulumi-xyz/actions/runs/12252090260/job/34178075178?pr=640

- Create phony targets for platform-specific provider binaries.
- Rename AZURE_SIGNING_CONFIGURED for clarity.
- Assert all required fields are set.
@danielrbradley danielrbradley force-pushed the only-sign-when-configured branch from 3ea528e to cfe96bc Compare December 10, 2024 10:12
@ringods ringods added this pull request to the merge queue Dec 10, 2024
Merged via the queue into master with commit 91df679 Dec 10, 2024
6 checks passed
@ringods ringods deleted the only-sign-when-configured branch December 10, 2024 11:13
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.

2 participants