From b3421b2fa11e821fa80a9b3c28c1ae07f1c7869b Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Fri, 2 Feb 2024 18:06:25 +0800 Subject: [PATCH] feat(packages): add `enterprise-without-plugins` profile for tidb repo (#228) It will not build the go plugins, and it's valid from v7.1.0. Signed-off-by: wuhuizuo Signed-off-by: wuhuizuo --- packages/packages.yaml.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/packages.yaml.tmpl b/packages/packages.yaml.tmpl index 2a86681f..7e9d42f8 100644 --- a/packages/packages.yaml.tmpl +++ b/packages/packages.yaml.tmpl @@ -580,7 +580,7 @@ components: if: {{ semver.CheckConstraint ">= 7.1.0-0" .Release.version }} os: [linux, darwin] arch: [amd64, arm64] - profile: [release, debug, enterprise] + profile: [release, debug, enterprise, enterprise-without-plugins] steps: release: - script: | @@ -608,6 +608,9 @@ components: # go plugin whitelist pushd ../enterprise-plugin/whitelist && go mod tidy && popd go run ./cmd/pluginpkg -pkg-dir ../enterprise-plugin/whitelist -out-dir bin/ + enterprise-without-plugins: + - script: | + TIDB_EDITION=Enterprise make enterprise-prepare enterprise-server-build build_tools build_dumpling debug: - script: | make failpoint-enable