Rename _vagrant to vagrant

Apparently the idea to prefix a package with an underscore is not that
smart as I thought. Yes `go test` does not run it by default when you
run `go test ./...` but also other commands like `go mod tidy` do not
work consistently.

Nothing changes in practice. By default only unit tests run. Setting the
new environment variable: `TEST_WITH_VAGRANT` you include the test who
uses vagrant.

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
This commit is contained in:
Gianluca Arbezzano
2021-03-18 15:05:28 +01:00
parent dbf51c823e
commit c5dd65c724
5 changed files with 63 additions and 57 deletions

6
go.mod
View File

@ -4,10 +4,10 @@ go 1.15
require (
github.com/containers/image v3.0.2+incompatible
github.com/containers/image/v5 v5.8.0
github.com/gianarb/vagrant-go v0.0.0-20200902133321-62ba563fe383 // indirect
github.com/containers/image/v5 v5.10.5
github.com/gianarb/vagrant-go v0.0.0-20200902133321-62ba563fe383
github.com/go-git/go-git/v5 v5.2.0
github.com/joho/godotenv v1.3.0
github.com/pkg/errors v0.9.1
github.com/tinkerbell/tink v0.0.0-20210211152036-a7e947efc194 // indirect
github.com/tinkerbell/tink v0.0.0-20210315140655-1b178daeaeda
)