From 5b4bfc2db719c1f282744c0c95dfba6c90f6eff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 23 Jun 2023 12:09:57 +0200 Subject: [PATCH] Fix broken nodeploy setup Fixes #11149 --- .github/workflows/test.yml | 3 +++ commands/deploy_off.go | 3 ++- deploy/deployConfig.go | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd3847e59..5f4f0ebfa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -101,3 +101,6 @@ jobs: mage -v test; env: HUGO_BUILD_TAGS: extended + - name: Build tags + run: | + go install -tags extended,nodeploy diff --git a/commands/deploy_off.go b/commands/deploy_off.go index b238d6cf7..3150dba16 100644 --- a/commands/deploy_off.go +++ b/commands/deploy_off.go @@ -30,8 +30,9 @@ package commands import ( - "errors" + "context" + "github.com/bep/simplecobra" "github.com/spf13/cobra" ) diff --git a/deploy/deployConfig.go b/deploy/deployConfig.go index 5bbec5ab4..3cd5dc3a8 100644 --- a/deploy/deployConfig.go +++ b/deploy/deployConfig.go @@ -11,9 +11,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !nodeploy -// +build !nodeploy - package deploy import (