File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,5 @@ publish:
48
48
# Disables a pulumi-internal-only step for running create_docs_build during the release
49
49
publishRegistry : false
50
50
51
- # Disables the pulumi-internal mechanism for auto-releasing after merging PRs with special labels.
52
- enableAutoRelease : false
53
-
54
51
# For additional options, please refer to the defaults set in ci-mgmt:
55
52
# https://github.com/pulumi/ci-mgmt/blob/master/provider-ci/internal/pkg/templates/defaults.config.yaml
Original file line number Diff line number Diff line change @@ -20,10 +20,12 @@ PROVIDER_VERSION ?= 1.0.0-alpha.0+dev
20
20
# Use this normalised version everywhere rather than the raw input to ensure consistency.
21
21
VERSION_GENERIC = $(shell pulumictl convert-version --language generic --version "$(PROVIDER_VERSION ) ")
22
22
23
+ # Strips debug information from the provider binary to reduce its size and speed up builds
24
+ LDFLAGS_STRIP_SYMBOLS =-s -w
23
25
LDFLAGS_PROJ_VERSION =-X $(PROJECT ) /$(VERSION_PATH ) =$(VERSION_GENERIC )
24
26
LDFLAGS_UPSTREAM_VERSION =
25
27
LDFLAGS_EXTRAS =
26
- LDFLAGS =$(LDFLAGS_PROJ_VERSION ) $(LDFLAGS_UPSTREAM_VERSION ) $(LDFLAGS_EXTRAS )
28
+ LDFLAGS =$(LDFLAGS_PROJ_VERSION ) $(LDFLAGS_UPSTREAM_VERSION ) $(LDFLAGS_EXTRAS ) $( LDFLAGS_STRIP_SYMBOLS )
27
29
28
30
development : install_plugins provider build_sdks install_sdks
29
31
You can’t perform that action at this time.
0 commit comments