From 463acb8e6144a18b6f413c4dc554d52b015d779d Mon Sep 17 00:00:00 2001 From: Liran Rotenberg Date: Sun, 15 Oct 2023 16:45:52 +0300 Subject: [PATCH] Fix the build of virt-v2v images After upgrading io_bazel_rules_docker, there is a requirment to have com_github_pkg_errors. Signed-off-by: Liran Rotenberg --- virt-v2v/cold/WORKSPACE | 7 +++++++ virt-v2v/warm/WORKSPACE | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/virt-v2v/cold/WORKSPACE b/virt-v2v/cold/WORKSPACE index 3d3c29fe9..72be2976c 100644 --- a/virt-v2v/cold/WORKSPACE +++ b/virt-v2v/cold/WORKSPACE @@ -97,6 +97,13 @@ go_repository( version = "v1.0.5", ) +go_repository( + name = "com_github_pkg_errors", + importpath = "github.com/pkg/errors", + sum = "h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=", + version = "v0.9.1", +) + load( "@io_bazel_rules_docker//toolchains/docker:toolchain.bzl", docker_toolchain_configure = "toolchain_configure", diff --git a/virt-v2v/warm/WORKSPACE b/virt-v2v/warm/WORKSPACE index 045ae91db..653b1a321 100644 --- a/virt-v2v/warm/WORKSPACE +++ b/virt-v2v/warm/WORKSPACE @@ -92,6 +92,13 @@ go_repository( version = "v1.0.5", ) +go_repository( + name = "com_github_pkg_errors", + importpath = "github.com/pkg/errors", + sum = "h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=", + version = "v0.9.1", +) + load( "@io_bazel_rules_docker//toolchains/docker:toolchain.bzl", docker_toolchain_configure = "toolchain_configure",