From 5cc6b523f280fc7c2592bcc52033df82f949e411 Mon Sep 17 00:00:00 2001 From: Sertac Ozercan Date: Wed, 1 Feb 2023 18:28:01 +0000 Subject: [PATCH 1/2] add vendor manifests back Signed-off-by: Sertac Ozercan --- build/tooling/vendormanifests.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 build/tooling/vendormanifests.go diff --git a/build/tooling/vendormanifests.go b/build/tooling/vendormanifests.go new file mode 100644 index 00000000000..8d3f79cbfe3 --- /dev/null +++ b/build/tooling/vendormanifests.go @@ -0,0 +1,10 @@ +// This is used for vendoring frameworks to Gatekeeper. + +//go:build tools +// +build tools + +package build + +import ( + _ "github.com/open-policy-agent/frameworks/constraint/deploy" +) From 67dd560c2235f0d4c863b7215e8d0b310ff9d393 Mon Sep 17 00:00:00 2001 From: Sertac Ozercan Date: Wed, 1 Feb 2023 23:00:17 +0000 Subject: [PATCH 2/2] remove old syntax Signed-off-by: Sertac Ozercan --- build/tooling/vendormanifests.go | 1 - 1 file changed, 1 deletion(-) diff --git a/build/tooling/vendormanifests.go b/build/tooling/vendormanifests.go index 8d3f79cbfe3..9dc075b235f 100644 --- a/build/tooling/vendormanifests.go +++ b/build/tooling/vendormanifests.go @@ -1,7 +1,6 @@ // This is used for vendoring frameworks to Gatekeeper. //go:build tools -// +build tools package build