Skip to content

Commit

Permalink
Add go.work to the e2etests
Browse files Browse the repository at this point in the history
The e2etests are meant to consume the local version of MetalLB. At the
same time, they are (currently) exported as a versioned framework for
implementing tests.

Since they belong to a separate module now, the way they'd work is to
pull the latest tagged version of the MetalLB API, which makes the
development not practical. By adding a local go.work file, we tell the
e2e to consume the local version of the MetalLB module (basically, the
API which is the only remained dependency) so we can evolve MetalLB and
the tests together without incurring in chicken - egg issues.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
  • Loading branch information
fedepaol committed May 24, 2023
1 parent 62524bb commit 17c06e9
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2etest/go.work
@@ -0,0 +1,6 @@
go 1.19

use (
./
../
)

0 comments on commit 17c06e9

Please sign in to comment.