From 3b3caf53b13e21acb6c57d971993c0361e37478b Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Mon, 18 Nov 2024 17:08:27 +0100 Subject: [PATCH] Fix ci-mgmt: remove unread field `enableAutoRelease` from `.ci-mgmt.yaml` (#142) * Remove unread field in .ci-mgmt.yaml * Update workflows --- .ci-mgmt.yaml | 3 --- Makefile | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index 029b6f3..4df44ee 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -48,8 +48,5 @@ publish: # Disables a pulumi-internal-only step for running create_docs_build during the release publishRegistry: false -# Disables the pulumi-internal mechanism for auto-releasing after merging PRs with special labels. -enableAutoRelease: false - # For additional options, please refer to the defaults set in ci-mgmt: # https://github.com/pulumi/ci-mgmt/blob/master/provider-ci/internal/pkg/templates/defaults.config.yaml diff --git a/Makefile b/Makefile index 2df6e63..6f29b69 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,12 @@ PROVIDER_VERSION ?= 1.0.0-alpha.0+dev # Use this normalised version everywhere rather than the raw input to ensure consistency. VERSION_GENERIC = $(shell pulumictl convert-version --language generic --version "$(PROVIDER_VERSION)") +# Strips debug information from the provider binary to reduce its size and speed up builds +LDFLAGS_STRIP_SYMBOLS=-s -w LDFLAGS_PROJ_VERSION=-X $(PROJECT)/$(VERSION_PATH)=$(VERSION_GENERIC) LDFLAGS_UPSTREAM_VERSION= LDFLAGS_EXTRAS= -LDFLAGS=$(LDFLAGS_PROJ_VERSION) $(LDFLAGS_UPSTREAM_VERSION) $(LDFLAGS_EXTRAS) +LDFLAGS=$(LDFLAGS_PROJ_VERSION) $(LDFLAGS_UPSTREAM_VERSION) $(LDFLAGS_EXTRAS) $(LDFLAGS_STRIP_SYMBOLS) development: install_plugins provider build_sdks install_sdks