From f465c5c3079261eb7fa513e2d2793851b9c52b83 Mon Sep 17 00:00:00 2001 From: Eric Hagman Date: Fri, 23 Oct 2020 03:03:41 -0400 Subject: build: Allow optional "nodeploy" tag to exclude deploy command from bin Fixes #7826 --- deploy/cloudfront.go | 2 ++ deploy/deploy.go | 2 ++ deploy/deployConfig.go | 2 ++ deploy/deployConfig_test.go | 2 ++ deploy/deploy_azure.go | 2 +- deploy/deploy_test.go | 2 ++ deploy/google.go | 2 ++ 7 files changed, 13 insertions(+), 1 deletion(-) (limited to 'deploy') diff --git a/deploy/cloudfront.go b/deploy/cloudfront.go index dbdf9baf4..5e9a7a409 100644 --- a/deploy/cloudfront.go +++ b/deploy/cloudfront.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !nodeploy + package deploy import ( diff --git a/deploy/deploy.go b/deploy/deploy.go index f6b5b5785..aac0bf354 100644 --- a/deploy/deploy.go +++ b/deploy/deploy.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !nodeploy + package deploy import ( diff --git a/deploy/deployConfig.go b/deploy/deployConfig.go index cc2b15280..d4f78011e 100644 --- a/deploy/deployConfig.go +++ b/deploy/deployConfig.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !nodeploy + package deploy import ( diff --git a/deploy/deployConfig_test.go b/deploy/deployConfig_test.go index c385510fe..413b1211b 100644 --- a/deploy/deployConfig_test.go +++ b/deploy/deployConfig_test.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !nodeploy + package deploy import ( diff --git a/deploy/deploy_azure.go b/deploy/deploy_azure.go index 6251429ff..77bbf5b3d 100644 --- a/deploy/deploy_azure.go +++ b/deploy/deploy_azure.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !solaris +// +build !solaris,!nodeploy package deploy diff --git a/deploy/deploy_test.go b/deploy/deploy_test.go index 0ae10b539..987c472ca 100644 --- a/deploy/deploy_test.go +++ b/deploy/deploy_test.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !nodeploy + package deploy import ( diff --git a/deploy/google.go b/deploy/google.go index be3ce52f0..9eae10da5 100644 --- a/deploy/google.go +++ b/deploy/google.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !nodeploy + package deploy import ( -- cgit v1.2.3