You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was automatically generated by the
update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt
repo, from commit c09ca3824257955e13392d96586b14a0fe49405a.
go build -o "${WORKING_DIR}/$@"$(PULUMI_PROVIDER_BUILD_PARALLELISM) -ldflags "$(LDFLAGS)""$(PROJECT)/$(PROVIDER_PATH)/cmd/$(PROVIDER)"
332
339
340
+
@# Only sign windows binary if fully configured.
341
+
@# Test variables set by joining with | between and looking for || showing at least one variable is empty.
342
+
@# Move the binary to a temporary location and sign it there to avoid the target being up-to-date if signing fails.
343
+
set -e; \
344
+
if [[ "${TARGET}" = "windows-amd64" && ${SKIP_SIGNING} != "true" ]]; then \
345
+
if [[ "|${AZURE_SIGNING_CLIENT_ID}|${AZURE_SIGNING_CLIENT_SECRET}|${AZURE_SIGNING_TENANT_ID}|${AZURE_SIGNING_KEY_VAULT_URI}|" == *"||"* ]]; then \
346
+
echo "Can't sign windows binaries as required configuration not set: AZURE_SIGNING_CLIENT_ID, AZURE_SIGNING_CLIENT_SECRET, AZURE_SIGNING_TENANT_ID, AZURE_SIGNING_KEY_VAULT_URI"; \
347
+
echo "To rebuild with signing delete the unsigned $@ and rebuild with the fixed configuration"; \
0 commit comments